Question 1
Question
The 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.
Answer
-
Massachusetts Institute of Technology (MIT)
-
Carnegie Melon University
-
University of California at LA (UCLA)
-
Princeton University
Question 2
Question
HTTP commonly utilizes port 80, port 8008, or port 8080.
Question 3
Question
The IP address for the Radford University main web site is 137.45.29.220.
Question 4
Question
The "Web" or "World Wide Web" is the same as the "Internet."
Question 5
Question
What is the most widely used Web server software?
Answer
-
IIS
-
Nginx
-
lighttpd
-
Apache
Question 6
Question
A 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.
Question 7
Question
The following is an example of an relative link:
"http://www.radford.edu"
Question 8
Question
A valid xhtml1.0 document is no longer valid under the HTML5 standard.
Question 9
Question
The 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>
Question 10
Question
The GIF has a higher rate of compression than the JPEG and is used more often as a digital image format for websites.
Question 11
Question
The content of the title tag is generally displayed in the browser window's title bar.
Question 12
Question
Consider 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.
Question 13
Question
In the following code example "src" is considered to be an attribute.
<img src="w3schools.jpg" width="104" height="142">
Question 14
Question
The following code, according to Google, is considered to be the most effective for Search Engine Optimization.
<meta name="keywords" content="HTML, CSS, XML, JavaScript">
Question 15
Question
CSS (Cascading Style Sheets) ts a newer form of HTML.
Question 16
Question
The value of what attribute in an anchor tag (<a>) specifies the target resource of the link.
Question 17
Question
In regards to SEO (search engine optimization) the ALT tag is only indexed by image-based search engines (like Google Images).
Question 18
Question
The maximum number of list item tags (<li>) in an unordered list (<ul>) is 10.
Question 19
Question
The 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
Question 20
Question
The 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>
Question 21
Question
What is the most current version of CSS (Cascading Style Sheets) that most major browsers fully support?
Question 22
Question
Which level of CSS has precedence in an XHTML document?
Answer
-
External CSS
-
Inline CSS
-
Document level CSS
-
None of the above
Question 23
Question
The 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.
Question 24
Question
Consider 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.
Question 25
Question
The following is an example of a document level CSS:
<h1 style="color:blue;margin-left:30px;">This is a heading.</h1>
Question 26
Question
Before JavaScript was called "JavaScript" it was called Oak:
Question 27
Question
JavaScript supports polymorphism.
Question 28
Question
The following is an example of internal (document level) JavaScript:
<script type = "text/javaScript"
src = "myScript.js">
</script>
Question 29
Question
The 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: //
Question 30
Question
The 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 */
Question 31
Question
The following is an example of the implementation of an external JavaScript file:
<script type = "text/javaScript">
-- JavaScript script –
</script>
Question 32
Question
JavaScripts can only be imbedded in the <head> section of an HTML document.
Question 33
Question
Javascript does implement objects and is an object based language. An example is an HTML tag, which can be accessed using Javascript object notation.
Question 34
Question
Unlike Visual Basic .NET, JavaScript requires semicolons to end statements.
Question 35
Question
Flag = false; is an example of a String value.
Question 36
Question
The following is an example of a Boolean value:
today = "monday",
Question 37
Question
In JavaScript, the acronym NaN means "not a number".
Question 38
Question
The following is an example of a basic object:
var myObject = new Object();
Question 39
Question
The following is an example of a loop statement:
myCar.make = "BMW";
Question 40
Question
The 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(", ");
Question 41
Question
The current name "JavaScript" was created as the result of a joint venture between which of the following companies?
Answer
-
Microsoft and apple
-
adobe and oracle
-
netscape and sun
-
w3c and netscape
Question 42
Question
In JavaScript Boolean values are:
Answer
-
0 and 1
-
True and False
-
1 and 2
-
none of the above
Question 43
Question
The length of an array is the highest subscript to
which an element has been assigned:
Question 44
Question
There are two ways in JavaScript to do pattern matching.
Question 45
Question
var 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++;
Question 46
Question
Font 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.
Question 47
Question
Clicking on an image and an a larger image appears is an example
Question 48
Question
PHP is an object oriented programming language that was not intended to be ran on a server:
Question 49
Question
PHP syntax is similar to which of the following languages?
Answer
-
javascript
-
all of the above
-
c++
-
c
Question 50
Question
With PHP, unlike Java, you do not have to declare variables.
Question 51
Question
The following code is an example of internal PHP:
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
Question 52
Question
With PHP ALL variables must begin with the $ symbol.
Question 53
Question
The following is an example of a single line PHP comment:
/* This is a single comment block
Question 54
Question
The 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 #
Question 55
Question
Unlike PHP, where characters are single bytes, charcters for other languages are typically more than single bytes.
Question 56
Question
The four compund types of operators are:
Boolean, integer, double, and string
Question 57
Question
In PHP there are 8 primitive types of operators.