Quiz
Itec225
Questions in this quiz (57)
1The U.S. Department of Defense (DoD) developed one of the first Wide Area Networks and named it ARPAnet. The first node of this network was established at what major university in 1969.
- AMassachusetts Institute of Technology (MIT)
- BCarnegie Melon University
- CUniversity of California at LA (UCLA)
- DPrinceton University
2HTTP commonly utilizes port 80, port 8008, or port 8080.
- ATrue
- BFalse
3The IP address for the Radford University main web site is 137.45.29.220.
- ATrue
- BFalse
4The "Web" or "World Wide Web" is the same as the "Internet."
- ATrue
- BFalse
5What is the most widely used Web server software?
- AIIS
- BNginx
- Clighttpd
- DApache
6A URL (uniform or universal resource locator) is used to identify documents on the Internet. All URL's have the same general format: scheme:object-address.
- ATrue
- BFalse
7The following is an example of an relative link:
"http://www.radford.edu"- ATrue
- BFalse
8A valid xhtml1.0 document is no longer valid under the HTML5 standard.
- ATrue
- BFalse
9The following is an example of the what paragraph tags should look like within an XHTML document:
<!DOCTYPE html>
<html>
<body>
<p>This is paragraph 1.
<p>This is paragraph 2.
<p>This is paragraph 3.
</body>
</html>- ATrue
- BFalse
10The GIF has a higher rate of compression than the JPEG and is used more often as a digital image format for websites.
- ATrue
- BFalse
11The content of the title tag is generally displayed in the browser window's title bar.
- ATrue
- BFalse
12Consider the following excerpt from a valid HTML document.
<p>Mary had
a
little
lamb.
</p>
This would probably be rendered most like which of the following by a browser.- AMary had
a
little
lamb. - BMary had
a little lamb. - CMary had a little lamb.
- Dthere are errors, so it wouldn't be rendered
- AMary had
13In the following code example "src" is considered to be an attribute.
<img src="w3schools.jpg" width="104" height="142">- ATrue
- BFalse
14The following code, according to Google, is considered to be the most effective for Search Engine Optimization.
<meta name="keywords" content="HTML, CSS, XML, JavaScript">- ATrue
- BFalse
15CSS (Cascading Style Sheets) ts a newer form of HTML.
- ATrue
- BFalse
16The value of what attribute in an anchor tag (<a>) specifies the target resource of the link.
- Ahref
- Bsrc
- Crel
- Dtarget
17In regards to SEO (search engine optimization) the ALT tag is only indexed by image-based search engines (like Google Images).
- ATrue
- BFalse
18The maximum number of list item tags (<li>) in an unordered list (<ul>) is 10.
- ATrue
- BFalse
19The following are differences between HTML and XHTML:
HTML has loose syntax (closing tags are optional)
HTML is extended from SGML
XHTML elements must be properly nested
XHTML elements must always be closed
XHTML Attribute values must be quoted- ATrue
- BFalse
20The CSS code within the given document below will help search engines index the pages contents.
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color:lightgray}
h1 {color:blue}
p {color:green}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>- ATrue
- BFalse
21What is the most current version of CSS (Cascading Style Sheets) that most major browsers fully support?
- ACSS3
- BCSS2
- CCSS2.1
- DCSS1
22Which level of CSS has precedence in an XHTML document?
- AExternal CSS
- BInline CSS
- CDocument level CSS
- DNone of the above
23The opening style tag <style type="text/css"> and closing style tag </style> is used in an external stylesheet just as it is in a document level style specification.
- ATrue
- BFalse
24Consider the following CSS rules (specifications).
h1, h2 {property-value list}
h1 h2 {property-value list}
These two style rules are equivalent. Whether the selector tags are separated by commas makes no difference, the css rules are still applied to h1 and h2 tag elements.- ATrue
- BFalse
25The following is an example of a document level CSS:
<h1 style="color:blue;margin-left:30px;">This is a heading.</h1>- ATrue
- BFalse
26Before JavaScript was called "JavaScript" it was called Oak:
- ATrue
- BFalse
27JavaScript supports polymorphism.
- ATrue
- BFalse
28The following is an example of internal (document level) JavaScript:
<script type = "text/javaScript"
src = "myScript.js">
</script>- ATrue
- BFalse
29The following is an example of how you would comment out multiple lines of JS code:
// The code below will change
the heading with id = "myH"
and the paragraph with id = "myP"
in my web page: //- ATrue
- BFalse
30The following is an example of how one would comment out one line of code in JavaScript:
var y = x + 2; /* Declare y, give it the value of x + 2 */- ATrue
- BFalse
31The following is an example of the implementation of an external JavaScript file:
<script type = "text/javaScript">
-- JavaScript script –
</script>- ATrue
- BFalse
32JavaScripts can only be imbedded in the <head> section of an HTML document.
- ATrue
- BFalse
33Javascript does implement objects and is an object based language. An example is an HTML tag, which can be accessed using Javascript object notation.
- ATrue
- BFalse
34Unlike Visual Basic .NET, JavaScript requires semicolons to end statements.
- ATrue
- BFalse
35Flag = false; is an example of a String value.
- ATrue
- BFalse
36The following is an example of a Boolean value:
today = "monday",- ATrue
- BFalse
37In JavaScript, the acronym NaN means "not a number".
- ATrue
- BFalse
38The following is an example of a basic object:
var myObject = new Object();- ATrue
- BFalse
39The following is an example of a loop statement:
myCar.make = "BMW";- ATrue
- BFalse
40The following array method will allow you to take everything within the list and make the items into a single string:
join – e.g., var listStr = list.join(", ");- ATrue
- BFalse
41The current name "JavaScript" was created as the result of a joint venture between which of the following companies?
- AMicrosoft and apple
- Badobe and oracle
- Cnetscape and sun
- Dw3c and netscape
42In JavaScript Boolean values are:
- A0 and 1
- BTrue and False
- C1 and 2
- Dnone of the above
43The length of an array is the highest subscript to
which an element has been assigned:- ATrue
- BFalse
44There are two ways in JavaScript to do pattern matching.
- ATrue
- BFalse
45var numChecked = 0;
for index = 0; index < dom.toppings.length;
index++)
if (document.getElementById("topGroup").toppings[index].checked]
numChecked++;
WILL WORK THE SAME AS the code below
var numChecked = 0;
var dom = document.getElementById("topGroup");
for index = 0; index < dom.toppings.length;
index++)
if (dom.toppings[index].checked]
numChecked++;- ATrue
- BFalse
46Font properties for an element with text can be changed by simply using the mouseover and
mouseout events to trigger a script that makes the changes.- ATrue
- BFalse
47Clicking on an image and an a larger image appears is an example
- ATrue
- BFalse
48PHP is an object oriented programming language that was not intended to be ran on a server:
- ATrue
- BFalse
49PHP syntax is similar to which of the following languages?
- Ajavascript
- Ball of the above
- Cc++
- Dc
50With PHP, unlike Java, you do not have to declare variables.
- ATrue
- BFalse
51The following code is an example of internal PHP:
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>- ATrue
- BFalse
52With PHP ALL variables must begin with the $ symbol.
- ATrue
- BFalse
53The following is an example of a single line PHP comment:
/* This is a single comment block- ATrue
- BFalse
54The following is an examples of single line comments in PHP:
// This is a multiple-line comment
for Multple lines //
# This is also a multiple-line comment
for Multple lines #- ATrue
- BFalse
55Unlike PHP, where characters are single bytes, charcters for other languages are typically more than single bytes.
- ATrue
- BFalse
56The four compund types of operators are:
Boolean, integer, double, and string- ATrue
- BFalse
57In PHP there are 8 primitive types of operators.
- ATrue
- BFalse
Information
- Description
- Quiz on Itec225, created by danielle1671 on 01/12/2014.
- Author
- danielle1671
- Language
- English
- Views
- 142
- Rating
- 5.0 out of 5 · 1 rating Rate this quiz