Final Exam

Link to Coding portion of the exam

View Attempt 1 of 1

Title: ExamFinal
Started: December 9, 2008 9:08 AM
Submitted: December 9, 2008 11:14 AM
Time spent: 02:05:27
Comments:
Total score: 262/275 = 95.2727% Total score adjusted by 0.0 Maximum possible score: 275

1.

 
Generalized advantages of XML over HTML are all except?
  Student Response
It is extensible
Student Response Has Xtra tags for better display of text
A document can be given a nested structure
Data can be validated
Score: 1/1
Comments:  
 

2.

 
<a href="mailto:ed@hacc.edu">index</a> would create a(n)
  Student Response
link to ed’s homepage
image map
Student Response email link for ed
title for the index page
Score: 1/1
Comments:  
 

3.

 
A link is typically used to jump to any of the following except
  Student Response
another web site
another web page on your site
an image
Student Response a specific location in a powerpoint file
Score: 1/1
Comments:  
 

4.

 
What is the attribute in the markup <book page="1"> Walden Pond</book>
  Student Response
book
Student Response page
Walden Pond
there is no attribute
Score: 1/1
Comments:  
 

5.

 
By default, a background image that is smaller than the screen resolution will be
  Student Response
resized to occupy the screen
just show 1 image and part of the screen will be white
Student Response "tiled" to fill in the entire screen
will give an size mis-match error
Score: 1/1
Comments:  
 

6.

 
The biggest use of tables on web pages today is to
  Student Response
show data from excel
show database table data
hide images
Student Response position text and images on the page
Score: 1/1
Comments:  
 

7.

 
Cascading Style Sheets are used to
  Student Response
make 3d text
create animated images
allow frames to work correctly
Student Response Assign common formatting specifications to page elements such as text, backgrounds, tables, etc
Score: 1/1
Comments:  
 

8.

 
A color value of #FFFF00 means
  Student Response
Student Response mix red + green to make a shade of yellow
mix black + white to make gray
use all black to make dark gray
use all white to make tan
Score: 1/1
Comments:  
 

9.

 
The most common component in every HTML and XML document is a(n)
  Student Response
namespace
Student Response element
data island
entity reference
Score: 1/1
Comments:  
 

10.

 
What is the content in the markup <book page="1"> Walden Pond</book>
  Student Response
book
page
Student Response Walden Pond
there is no content
Score: 1/1
Comments:  
 

11.

 
Explain DHTML
  Student Response
use to upload pages
an alternative to frames
Student Response combines Javascript & CSS to make HTML pages dynamic
freeware to publish web pages
Score: 1/1
Comments:  
 

12.

 
What is the element in the markup <book page="1">Walden Pond</book>
  Student Response
Student Response book
page
Walden Pond
there is no element
Score: 1/1
Comments:  
 

13.

 
Web pages typically have a file extension of
  Student Response
web
http
doc
Student Response htm
Score: 1/1
Comments:  
 

14.

 
Flash is used to create
  Student Response
Student Response vector-based graphics and animation
bitmap images
CSS
FTP
Score: 1/1
Comments:  
 

15.

 
The following are considered good design except
  Student Response
brand the site with a logo
make fast loading graphics and multimedia
use ALT tags on all images
Student Response use broken links
Score: 1/1
Comments:  
 

16.

 
For many things like images, tables, and border the width=”#” indicates the width in
  Student Response
inches
mm
spaces
Student Response pixels
Score: 1/1
Comments:  
 

17.

 
What form field allows users to type data in?
  Student Response
Radio buttons
Student Response Text box field
Check boxes
select list
Score: 1/1
Comments:  
 

18.

 
Which of the following is a form object?
  Student Response
Check box
Radio button
Text field
Student Response All of the above
Score: 1/1
Comments:  
 

19.

 
The form tag is used to
  Student Response
format text
format images
create multimedia effects
Student Response collect and send user input to a server
Score: 1/1
Comments:  
 

20.

 
Frames would be useful to
  Student Response
Create a table
Be compatible with old browsers
Student Response Create a logo & heading at the top of every page
Minimize windows
Score: 1/1
Comments:  
 

21.

 
A main function of an XML schema is to
  Student Response
Student Response declare what elements are allowed in an xml document
display formatted data
parse markup for well-formedness
declare entities
Score: 1/1
Comments:  
 

22.

 
Good design uses complimentary colors like
  Student Response
Orange on red
Yellow on white
Black on navy
Student Response Blue on orange
Score: 1/1
Comments:  
 

23.

 
Which of the following graphic formats is not designed for web use
  Student Response
Student Response SRC
JPG
GIF
PNG
Score: 1/1
Comments:  
 

24.

 
To place graphic images in a web documents, use the tag
  Student Response
Student Response IMG
HREF
GRAPHIC
PICTURE
Score: 1/1
Comments:  
 

25.

 
For images, the height and width attributes are mainly used to:
  Student Response
Student Response To make text appear faster (before images get loaded)
make images align better with text
position image on the page
make image larger
Score: 1/1
Comments:  
 

26.

 
How do elements and attributes relate
  Student Response
Student Response Attributes belong to a specific element
Elements belong to an attribute
They have no relationship
Elements are like data and attributes are like field names in a database
Score: 1/1
Comments:  
 

27.

 
How many html files are needed to make a screen divided into 4 frames and be able to see local material in each frame
  Student Response
1
2
Student Response 5
8
Score: 1/1
Comments:  
 

28.

 
HTML and XML standards are set by
  Student Response
Sun
Student Response W3C
Microsoft
Macromedia
Score: 1/1
Comments:  
 

29.

 
The basic html structure is to use paired tags demarcated by
  Student Response
Student Response < >
! !
$ $
Score: 1/1
Comments:  
 

30.

 
http is
  Student Response
a MIME extension
a subset of html
an alternative to xml
Student Response a protocol on how messages are sent between client and server
Score: 1/1
Comments:  
 

31.

 
If a web site with a page includes a link <a href="c:/myfolder/page1.htm">, that link would
  Student Response
link to a file called page1.htm on the site
Student Response not work on most user’s computers
create a reference to page1.htm
need a folder called page1 on the server in order to work
Score: 1/1
Comments:  
 

32.

 
An image map is
  Student Response
Student Response a graphic with different hotspots that act as links
any road map image
used to create fast loading graphics
used to map out the layout of a web site
Score: 1/1
Comments:  
 

33.

 
Javascript is mainly used to
  Student Response
create xml
create php server progams
interface with a database
Student Response create client script programs to make web pages interactive and dynamic
Score: 1/1
Comments:  
 

34.

 
What type of languages are XML and HTML
  Student Response
Student Response markup
object-oriented
Fourth-generation
Assembly
Score: 1/1
Comments:  
 

35.

 
To layout images, forms and text with nice spacing, the least suitable approach is
  Student Response
tables
style sheets
non-breaking spaces
Student Response the tab key
Score: 1/1
Comments:  
 

36.

 
Links are used to
  Student Response
change colors
Student Response specify a target location to jump to
make lists
create a hyperspace
Score: 1/1
Comments:  
 

37.

 
How would one typically make 20 pages all use the same text formats and colored background
  Student Response
inline styles
frames
Student Response external cascading style sheet file
tables
Score: 1/1
Comments:  
 

38.

 
The best way to make a large jpeg image load faster is
  Student Response
set the height and width attributes smaller
Student Response resize and compress the graphics in an image editing program like Photoshop
use an image map
use the “loadfast” attribute
Score: 1/1
Comments:  
 

39.

 
To make a page interactive requires?
  Student Response
Student Response scripting
CSS
Forms
Frames
Score: 1/1
Comments:  
 

40.

 
To play a multimedia like flash .swf file in IE browser use
  Student Response
Student Response object tag
multimedia tag
server side include
xml
Score: 1/1
Comments:  
 

41.

 
How necessary is it to know HTML in order to create a well formed XML document
  Student Response
Student Response Hardly any html knowledge is needed
Must know about 50% of the HTML elements
A thorough knowledge of HTML is needed
Depends if using XML 1.0 or 6.3
Score: 1/1
Comments:  
 

42.

 
The likely form of a new html element called “shakemouse” to vibrate the mouse fast is
  Student Response
<shakemouse></><speed=”fast”>
<shakemouse=”fast”>
<shakemouse><speed><fast>
Student Response <shakemouse speed=”fast”>
Score: 1/1
Comments:  
 

43.

 
Which is NOT a method to create formatted displays for an XML document
  Student Response
CSS
XSL
Student Response XDISPLAY
DOM programming with a language for example Javascript
Score: 1/1
Comments:  
 

44.

 
Which of the following should NOT be used as a form field name?
  Student Response
Firstname
Junk
StreetAddress
Student Response Zip Code+4
Score: 1/1
Comments:  
 

45.

 
Which of the following is not included in the head content:
  Student Response
Keywords
Title
Student Response paragraph text
Description
Score: 1/1
Comments:  
 

46.

 
To position images an any exact location on screen use element
  Student Response
Student Response style
table
non-breaking space
align
Score: 1/1
Comments:  
 

47.

 
A primary use of CSS styles is to
  Student Response
create animated images
create flash text
debug html
Student Response position objects anywhere (absolutely) on a page
Score: 1/1
Comments:  
 

48.

 
The best way to process a form is with
  Student Response
Student Response server side script
frames
CSS
mailto action
Score: 1/1
Comments:  
 

49.

 
Some search engines look for keywords located in which tag
  Student Response
Student Response meta
search
frames
window
Score: 1/1
Comments:  
 

50.

 
If a single web page has some text and 3 images, how many files does that document need
  Student Response
one: with the html and images all in 1 file
two: with the html and a separate file with the images
Student Response four: with the html and a file for each image
ten: since all web site need at least 10 files
Score: 1/1
Comments:  
 

51.

 
An external style sheet is most useful for a site with multiple pages to
  Student Response
Student Response create consistent background and link colors for every page
include a banner page at the top of every page
make an image be absolute position
get a high rank in search engines
Score: 1/1
Comments:  
 

52.

 
A style sheet is most useful to
  Student Response
use server side includes
use PNG graphics instead of GIF’s
Student Response make links change colors when mouse hovers over them
design complimentary colors
Score: 1/1
Comments:  
 

53.

 
What is the syntax to create a title called MyPage
  Student Response
Student Response <title>MyPage</title>
<title=MyPage>
<MyPage=Title>
<!—<title>MyPage</title>-->
Score: 1/1
Comments:  
 

54.

 
An example of the target source (or href) for an external link is
  Student Response
href="hacc.edu"
Student Response href="http://www.hacc.edu/"
href="mailto:www.hacc.edu/"
href="C\hacc.edu/"
Score: 1/1
Comments:  
 

55.

 
A title is useful for all of the following except
  Student Response
Student Response to show a logo at the top of the page
for user bookmarks
to help register in search engine
for user to see it (the title) in the browser’s title bar
Score: 1/1
Comments:  
 

56.

 
Unordered list items are
  Student Response
Student Response usually preceded by Bullets
part of FTP
use to make links
usually preceded by checkboxes
Score: 1/1
Comments:  
 

57.

 
Use absolute positioning for a layer to hold its ______ in the browser window.
  Student Response
Student Response position
tab level
formatting
size
Score: 1/1
Comments:  
 

58.

 
What form field is useful in situations where you want users to select only one choice from a group of choices?
  Student Response
Text field
Multi-line text field
Check box
Student Response Radio button
Score: 1/1
Comments:  
 

59.

 
When user clicks on <a href="me.txt">back</a> the browser would
  Student Response
bring up a download dialog to save/open file me.txt
display the back (previous) web page, just as though clicked browser back button
Student Response display the contents of text file me.txt
give a debug error
Score: 1/1
Comments:  
 

60.

 
XML is a subset of (and derived from)
  Student Response
UML
Student Response SGML
HTML
DBMS
Score: 1/1
Comments:  
 

61.

 
XML is short for
  Student Response
Xtra Markup Lingo
Xtra Maven Linguistic
Student Response eXtensible Markup Language
eXcess Modern Legend
Score: 1/1
Comments:  
 

62.

 
DOCTYPE has to do with
  Student Response
Improving site navigation
Search engine optimization
Improving page layouts
Student Response Validating code
Score: 1/1
Comments:  
 

63.

 
A typical DOCTYPE would be
  Student Response
Student Response XHTML 1.1
CSS
HXM
SSI
Score: 1/1
Comments:  
 

64.

 
Flash files on a web site would typically be a format of
  Student Response
WMV
JPG
Student Response SWF
XML
Score: 1/1
Comments:  
 

65.

 
Compare ID and CLASS

  Student Response
A class or ID can both be used multiple times
Classes are for inline; ID are for external
A class or ID can both only be used once, and cannot be used together
Student Response Classes are used multiple times; specific ID is used once per document
Score: 1/1
Comments:  
 

66.

 
The first element in the code of a web page is typically
  Student Response
style
title
Student Response html
body
Score: 1/1
Comments:  
 

67.

 
ID and CLASS are typically used with
  Student Response
Frames
Images
Student Response CSS
Flash
Score: 1/1
Comments:  
 

68.

 
What is the difference between DIV and SPAN
  Student Response
Student Response They are quite similar in that both are invisible and used with styles
DIV is invisible to the user while SPAN changes the visual display
DIV is often used with styles but SPAN is more for Frames
DIV is used instead of paragraphs while SPAN is used for formatting
Score: 1/1
Comments:  
 

69.

 
AJAX is based on
  Student Response
Student Response JavasScript
Flash
SSI
CSS
Score: 1/1
Comments:  
 

70.

 
Digital audio on a web site would typically be a format of
  Student Response
WMV
JPG
SVG
Student Response MPG
Score: 1/1
Comments:  
 

71.

 
Digital video on a web site would typically be a format of
  Student Response
Student Response WMV
XML
JPG
WAV
Score: 1/1
Comments:  
 

72.

 
What does HTML stand for
  Student Response
Web Language Mastery
Hex Tables Mighty Light
Student Response Hyper Text Markup Language
Text and Graphics Language
Score: 1/1
Comments:  
 

73.

 
Who sets the standards for XHTML
  Student Response
Adobe
Student Response W3C
Microsoft
W3schools
Score: 1/1
Comments:  
 

74.

 
Correct the code snippet below
so it is valid XHTML 1.1
Student Response: <body style="background-color: #C0C0C0">
<p id="mycode"><b><span style="color: #FF0000">Correct</span> this code snippet <br />
so it is valid XHTML 1.1</b></p>
</body>

 
Score: 2/2
Comments:  
 

75.

 

Do the items below and when done with test then upload all files you create or use to UploadExamFinal under WebCt assignments link before the time for your exam expires. An alternative is to publish your site and simply type the URL of your site in answer box below). Each number item is equally weighted by total points shown for this question in the exam

  1. Create a well designed web site with pages for items below. Name the start page Exam.htm and make sure it has links to every other page.
  2. Use an external CSS as well as embedded styles
  3. Make the start page valid as XHTML 1.1
  4. On the start page compare HTML, XHTML, and XML. Also compare CSS and XSLT
  5. On the start page include
    • your name
    • colored page background
    •  varied text formatting including but not limited to 2 different fonts and font sizes, text in a color other than black
    • numbered or bulleted list
    • link to an external site
    • an image
  6. Create a page that compares CSS with Tables for layout. Make the page use a CSS layout.
  7. Create an XML document that displays in a nice formatted manner and contains the various markup standards (like XHTML 1.1) and a scenario where they would be used
  8. Create a page with a form and script to do a simple quiz where the user enters a markup language acronym and your script indicates if it is correct (for example if they enter XHTML that is correct but IBM is not), so do:
    • include a textbox and a button
    •  when button is clicked alert the user whether the answer is correct or not
    • change the button color on a mouse over using script
    • write the last modified date of the document near top of the page
    • explain why one would never actually use client script totally for an important test
    • describe 5 things that are typically done with JavaScript
Student Response: ddd
 
Score: 187/200
Comments: -1 start didnt have links to every page -12 #8 didnt have explanations or last date, button color didnt work, quiz only checked 1 answer xhtml