danielle1671
Quiz by , created more than 1 year ago

Quiz on Itec225, created by danielle1671 on 01/12/2014.

130
0
0
No tags specified
danielle1671
Created by danielle1671 almost 10 years ago
Close

Itec225

Question 1 of 57

1

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.

Select one of the following:

  • Massachusetts Institute of Technology (MIT)

  • Carnegie Melon University

  • University of California at LA (UCLA)

  • Princeton University

Explanation

Question 2 of 57

1

HTTP commonly utilizes port 80, port 8008, or port 8080.

Select one of the following:

  • True
  • False

Explanation

Question 3 of 57

1

The IP address for the Radford University main web site is 137.45.29.220.

Select one of the following:

  • True
  • False

Explanation

Question 4 of 57

1

The "Web" or "World Wide Web" is the same as the "Internet."

Select one of the following:

  • True
  • False

Explanation

Question 5 of 57

1

What is the most widely used Web server software?

Select one of the following:

  • IIS

  • Nginx

  • lighttpd

  • Apache

Explanation

Question 6 of 57

1

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.

Select one of the following:

  • True
  • False

Explanation

Question 7 of 57

1

The following is an example of an relative link:
"http://www.radford.edu"

Select one of the following:

  • True
  • False

Explanation

Question 8 of 57

1

A valid xhtml1.0 document is no longer valid under the HTML5 standard.

Select one of the following:

  • True
  • False

Explanation

Question 9 of 57

1

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>

Select one of the following:

  • True
  • False

Explanation

Question 10 of 57

1

The GIF has a higher rate of compression than the JPEG and is used more often as a digital image format for websites.

Select one of the following:

  • True
  • False

Explanation

Question 11 of 57

1

The content of the title tag is generally displayed in the browser window's title bar.

Select one of the following:

  • True
  • False

Explanation

Question 12 of 57

1

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.

Select one of the following:

  • Mary had
    a
    little
    lamb.

  • Mary had
    a little lamb.

  • Mary had a little lamb.

  • there are errors, so it wouldn't be rendered

Explanation

Question 13 of 57

1

In the following code example "src" is considered to be an attribute.
<img src="w3schools.jpg" width="104" height="142">

Select one of the following:

  • True
  • False

Explanation

Question 14 of 57

1

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">

Select one of the following:

  • True
  • False

Explanation

Question 15 of 57

1

CSS (Cascading Style Sheets) ts a newer form of HTML.

Select one of the following:

  • True
  • False

Explanation

Question 16 of 57

1

The value of what attribute in an anchor tag (<a>) specifies the target resource of the link.

Select one of the following:

  • href

  • src

  • rel

  • target

Explanation

Question 17 of 57

1

In regards to SEO (search engine optimization) the ALT tag is only indexed by image-based search engines (like Google Images).

Select one of the following:

  • True
  • False

Explanation

Question 18 of 57

1

The maximum number of list item tags (<li>) in an unordered list (<ul>) is 10.

Select one of the following:

  • True
  • False

Explanation

Question 19 of 57

1

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

Select one of the following:

  • True
  • False

Explanation

Question 20 of 57

1

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>

Select one of the following:

  • True
  • False

Explanation

Question 21 of 57

1

What is the most current version of CSS (Cascading Style Sheets) that most major browsers fully support?

Select one of the following:

  • CSS3

  • CSS2

  • CSS2.1

  • CSS1

Explanation

Question 22 of 57

1

Which level of CSS has precedence in an XHTML document?

Select one of the following:

  • External CSS

  • Inline CSS

  • Document level CSS

  • None of the above

Explanation

Question 23 of 57

1

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.

Select one of the following:

  • True
  • False

Explanation

Question 24 of 57

1

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.

Select one of the following:

  • True
  • False

Explanation

Question 25 of 57

1

The following is an example of a document level CSS:
<h1 style="color:blue;margin-left:30px;">This is a heading.</h1>

Select one of the following:

  • True
  • False

Explanation

Question 26 of 57

1

Before JavaScript was called "JavaScript" it was called Oak:

Select one of the following:

  • True
  • False

Explanation

Question 27 of 57

1

JavaScript supports polymorphism.

Select one of the following:

  • True
  • False

Explanation

Question 28 of 57

1

The following is an example of internal (document level) JavaScript:
<script type = "text/javaScript"
src = "myScript.js">
</script>

Select one of the following:

  • True
  • False

Explanation

Question 29 of 57

1

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: //

Select one of the following:

  • True
  • False

Explanation

Question 30 of 57

1

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 */

Select one of the following:

  • True
  • False

Explanation

Question 31 of 57

1

The following is an example of the implementation of an external JavaScript file:
<script type = "text/javaScript">
-- JavaScript script –
</script>

Select one of the following:

  • True
  • False

Explanation

Question 32 of 57

1

JavaScripts can only be imbedded in the <head> section of an HTML document.

Select one of the following:

  • True
  • False

Explanation

Question 33 of 57

1

Javascript does implement objects and is an object based language. An example is an HTML tag, which can be accessed using Javascript object notation.

Select one of the following:

  • True
  • False

Explanation

Question 34 of 57

1

Unlike Visual Basic .NET, JavaScript requires semicolons to end statements.

Select one of the following:

  • True
  • False

Explanation

Question 35 of 57

1

Flag = false; is an example of a String value.

Select one of the following:

  • True
  • False

Explanation

Question 36 of 57

1

The following is an example of a Boolean value:
today = "monday",

Select one of the following:

  • True
  • False

Explanation

Question 37 of 57

1

In JavaScript, the acronym NaN means "not a number".

Select one of the following:

  • True
  • False

Explanation

Question 38 of 57

1

The following is an example of a basic object:
var myObject = new Object();

Select one of the following:

  • True
  • False

Explanation

Question 39 of 57

1

The following is an example of a loop statement:
myCar.make = "BMW";

Select one of the following:

  • True
  • False

Explanation

Question 40 of 57

1

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(", ");

Select one of the following:

  • True
  • False

Explanation

Question 41 of 57

1

The current name "JavaScript" was created as the result of a joint venture between which of the following companies?

Select one of the following:

  • Microsoft and apple

  • adobe and oracle

  • netscape and sun

  • w3c and netscape

Explanation

Question 42 of 57

1

In JavaScript Boolean values are:

Select one of the following:

  • 0 and 1

  • True and False

  • 1 and 2

  • none of the above

Explanation

Question 43 of 57

1

The length of an array is the highest subscript to
which an element has been assigned:

Select one of the following:

  • True
  • False

Explanation

Question 44 of 57

1

There are two ways in JavaScript to do pattern matching.

Select one of the following:

  • True
  • False

Explanation

Question 45 of 57

1

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++;

Select one of the following:

  • True
  • False

Explanation

Question 46 of 57

1

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.

Select one of the following:

  • True
  • False

Explanation

Question 47 of 57

1

Clicking on an image and an a larger image appears is an example

Select one of the following:

  • True
  • False

Explanation

Question 48 of 57

1

PHP is an object oriented programming language that was not intended to be ran on a server:

Select one of the following:

  • True
  • False

Explanation

Question 49 of 57

1

PHP syntax is similar to which of the following languages?

Select one of the following:

  • javascript

  • all of the above

  • c++

  • c

Explanation

Question 50 of 57

1

With PHP, unlike Java, you do not have to declare variables.

Select one of the following:

  • True
  • False

Explanation

Question 51 of 57

1

The following code is an example of internal PHP:

<!DOCTYPE html>
<html>
<body>

<?php
echo "My first PHP script!";
?>

</body>
</html>

Select one of the following:

  • True
  • False

Explanation

Question 52 of 57

1

With PHP ALL variables must begin with the $ symbol.

Select one of the following:

  • True
  • False

Explanation

Question 53 of 57

1

The following is an example of a single line PHP comment:

/* This is a single comment block

Select one of the following:

  • True
  • False

Explanation

Question 54 of 57

1

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 #

Select one of the following:

  • True
  • False

Explanation

Question 55 of 57

1

Unlike PHP, where characters are single bytes, charcters for other languages are typically more than single bytes.

Select one of the following:

  • True
  • False

Explanation

Question 56 of 57

1

The four compund types of operators are:
Boolean, integer, double, and string

Select one of the following:

  • True
  • False

Explanation

Question 57 of 57

1

In PHP there are 8 primitive types of operators.

Select one of the following:

  • True
  • False

Explanation