Download CIS133DA MIDTERM Fall 2013 Part One – Matching [10 points] 10

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Cascading Style Sheets wikipedia , lookup

URL redirection wikipedia , lookup

Transcript
CIS133DA MIDTERM Fall 2013
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://www.gccaz.edu/business/cis133/v7/ The second section showing
“www.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 his 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.
11. Write the HTML code to insert in an image named “m42.gif” with the alternate text of “Orion
– the Great Hunter in the sky”.
12. Write the code you would have in a CSS file to indicate that the body of the web page will
have a background image of “milkyway.jpg”
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 HTML code below so that this cell will span 2 columns.
<td>Sunrise and sunset times</td>