back

 midterm exam answers

MIS 4239 HTML

Midterm Exam

April 26, 2004

 

The exam is one hour. Read all questions before starting. The deadline for this exam is 11 P.M., Sunday night, October 27.

STOP! Read all the questions completely BEFORE you start the exam.

Multiple choice questions are indicated by a list of possible answers following the question. Each possible answer is preceded by either a radio button or a check box.

A radio button is a small white circle. When you click on it it turns black. Radio buttons allow only one choice from the set of possible answers; therefore, when you click on one button it clears any other checked button in that set. These are sample radio buttons:

A check box is a small white square. When you click on it you get a check mark in the box. You may click any, all, or none of the check boxes. You check all check boxes that apply. These are sample check boxes:

Short text answer have a text field. A text field is a longish white box. Type your answer in the box. You are limited in the amount of space you have for your answer. If you run out of space, type something shorter.

Long text answers use a text box. A text box is a long white box with scroll buttons on it. Type your answer in the box. There is essentially no limit to the amount of space, but remember that Shakespeare said "brevity is the soul of wit".

All answers are to be made on this web page. Please keep written answers short. There are no essay questions. Each question or part is worth about 3 points. Note that some questions have multiple parts. Good luck.

 

Your name (required):

Your email address (required):

Your student id (required):

 

Question 1

Give definitions for the following terms and acronyms:

HTML:

URL :

GIF :

JPEG:

 

Question 2

What are the 2 main sections of a web page?

 

Question 3

What ends the section?

 

Question 4

What is the current specification level of HTML?

2
3
4

 

Question 5

HTML was developed to have a cross-platform way of displaying data. Therefore, a page you create will display the same way on all browsers; true or false?

True
False

 

Question 6

If you specify Arial font for a block of text, all browsers will always display the text in an Arial font; true or false?

True
False

 

Question 7

What happens if you specify Arial font and the viewing browser doesn't have Arial installed?


 

Question 8

If the following text is in your source code, typed exactly like this, how will this text be displayed?

-------------
   T'was Brillig and the slithy toves
   Did gyre and gimbal in the groves
   All    mimsy    were   the
                               borogroves
   And the mome raths outgrabe

- Lewis Carroll
   
-------------

 

Question 9

What command, if any, would you put at the end of each line to have them display correctly?


 

Question 10

To display the poem text in Arial font (but not the author), what command would you use before the poem text?


 

Question 11

What command, if any, would you use at the end of the poem text before the author?

 

 Question 12

You would like the text of the poem to display in red. What command would you use to do that?

 

  Your web page, page01.htm, is hosted in a folder at a server. The folder and file structure is

    ...
    your-home-folder
      images-folder
        image01.gif
      text-folder
        page01.htm
        image02.gif
In addition, there is a nifty graphic you saw at www.neatgraphics.com on their home page, which is index.htm. The graphic is in the same place as the page and is called neat.jpg.

You want to display all three images on your page

Question 13

What command do you use for image01?

 

Question 14

What command do you use for image02?

 

Question 15

What command do you use for neat?

 

 Question 16

image01.gif is a cool image, but, at 360 pixels wide, it is too big. What command do you use to display the image half its normal size?

 

 Question 17

There is some text preceding image01.gif. If you don't specify, will the text align itself with the top of the image, the middle, or the bottom?

Top
Middle
Bottom

 

Question 18

You are using a large font. When developing your text on a machine with 1024x768 resolution the line displays as:

THIS IS VERY BIG TEXT

and just fits nicely on the screen in one line. What happens when the line is viewed on a machine with standard VGA resolution of 640x480 pixels?

The text scrolls off-screen to the right
The text wraps to the next line
The text is truncated
The text is made smaller by the browser and still fits correctly

 

Question 19

In the text of your document, you have the phrase "friendly lawyer". You want to make sure that these two words are always together and never get separated by a line break. How do you enter it as text?

 

Question 20

You are creating a page that will look somewhat like a newsletter. You have some text that you would like to have in 2 columns, like a newspaper article. What command can you use that will automatically flow the text from one column to the next?

 

A link is a clickable object that will transfer the viewer to someplace else.

Question 21

What command would you use to transfer the user to www.yahoo.com if they click on the text "click here"?

Question 22

What command would you use to transfer the user to a local file called foo.htm if they click on the text "click here"?

Question 23

What command would you use to transfer the user to another spot on the same page called "clicked" if they click on the text "click here"?

Question 24

What command would you use to identify the spot called "clicked" in your page?

Question 25

You want the viewer to be able to click on an image to go to www.yahoo.com. You have a graphics file called yahoo.gif in your local folder. What command do you use?

You have the following list items:

<li> item a
<li> item b
<li> item c

Question 26

How will they display if preceded by the <UL> command?

Question 27

How will they display if preceded by the <OL TYPE=A> command?

Question 28

How will they display if preceded by the <OL TYPE=1> command?

Additional Item
Enter any feedback you'd like to give on this exam, taking the exam on the 'net, or any other topic.
Thanks for being in the class.

 

Click SUBMIT to submit your exam. SUBMIT is final and irretrievable. Review your answers before clicking it.

If everything is all bollixed up, RESET will erase all answers you've entered in the form and let you start all over again.

 

                            

  

 midterm exam answers

 

top