Top-Rated Free Essay
Preview

14fa MIDTERM

Good Essays
882 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
14fa MIDTERM
CIS133DA MIDTERM Fall 2014

Part One – Matching
[10 points] 10 questions at 1 point each

1. Pat is helping build an interactive Web site where visitors can build and dress their own teddy bear. Which of the following statements is a good recommendation for Pat to follow?
a) The Web pages on the site should each have a different layout to keep users interested.
b) The Web site should vary where the site navigation links are located on each page.
C Pat should explore other Web sites that share a similar audience.
d) The site’s purpose should be somewhat mysterious so that users keep exploring.

2. While most tags occur in pairs, some tags, known as ____, are used by themselves.
a) lone tags
b) one-sided tags
c) single tags
d) solo tags

3. In your browser, the _________ is the location where you can enter the address of a web page or web site (like http://cnn.com) that you wish to view.
a) address bar
b) file manager bar
c) home bar
d) map bar
e) style bar

4. At the end of the domain name there is a period (".") followed by several letters (such as .com and .edu) These letters are called the _______. They indicate the type of organization or the country where the host server is located.
a) DNS
b) RFP
c) TLD
d) URL

5 On a link statement to an external CSS file, which keyword is used after the media attribute to indicate that the CSS file should be used when the web page will be viewed on a computer screen or monitor?
a) display
b) monitor
c) print
d) screen

6. Given: http://web.gccaz.edu/~timgo00001/cis133/ The second section showing “web.gccaz.edu“ is the ____ (also called the host name).
a) family
b) path
c) scheme
d) server name

7. You create anchors by assigning unique names to elements in your Web page using the HTML ____ attribute
a) class
b) id
c) object
d) test
e) type

8. You use an image editor (like lview) to create smaller versions of larger images. These images called ______ can be coded to be links to the original larger images.
a) logos
b) minipics
c) photocons
d) thumbnails
e) tinypics

9. A(n) _____ is the icon that is associated with a web page in the address bar and on the bookmarks or favorites menu and / or bar.
a) addicon
b) favicon
c) pageicon
d) uricon
e) webicon

10. Jean plans to use several different types of lists on a Web site selling musical instruments. One of the lists that Jean wants to include is a set of instructions on how to return an item. The instructions need to be in a numbered list. Which tags should Jean use to indicate the start and end of this list?
a) <dl> </dl>
b) <nl> </nl>
c) <ol> </ol>
d) <ul> </ul>

Part Two – Short Answer
[30 points] 15 questions at 2 points each

HTML code MUST include the brackets and both begin end tags as appropriate.

1. Mark up with HTML tags the text “Hello World” to be the largest heading.

2. Mark up the following text so that it is a CSS comment: Special style for menu starts here

3. Write the html code to indicate the start of a division named “phoneinfo”.

4. Write the entire statement that you would have in your web page to link it to a CSS file named mystyles.css

5. Write the CSS code to create a class named “bluesky” that center aligns the text.

6. Write the code you would have in a CSS file to indicate that h1, h2 and h3 should all be tahoma, arial, helvetica, sans-serif.

7. Write the HTML code to make “Fred & Jill Design” link to the anchor named “Design” found later in the same web page.

8. Write the HTML code to create a link on the text “Coyotes” that will link to the web site http://coyotes.nhl.com

9. Write the code you would have in a CSS file to indicate that the hyperlinks found in #sidenav should have its visited link state be a color of white.

10. Rewrite <a href="cats.htm">Cat information</a> so that it opens in a new browser window or new browser tab. The file cats.html is in the same folder as the web page with this code.

For questions 11 and 12 use the following structure:

11. Write the HTML code that will be in a file named stars.html that is in the astronomy folder to insert in an image named “m42.gif” with the alternate text of “Orion – the Great Hunter in the sky”. The file m42.gif is in the pictures folder.

12. Write the code you would be in the univ.css file that is in the astronomy folder to indicate that the body of the web page will have a background image of “milkyway.jpg” The file milkyway.jpg is in the pictures folder.

13. Write the HTML code to put a link to “hikers.html” on the image “hikers.jpg”

14. Write the HTML code to create an unordered list that has “Boris” as the first item and “Natasha” as the second item.

15. Rewrite the following HTML code below so that this cell will span 2 columns. <td>Sunrise and sunset times</td>
Before:
Location
Sunrise and sunset times

Vancouver
6:05
7:11
Denver
5:58
7:20
Phoenix
5:51
7:37 After:
Location
Sunrise and sunset times
Vancouver
6:05
7:11
Denver
5:58
7:20
Phoenix
5:51
7:37

You May Also Find These Documents Helpful