P.S: This is just a study guide. The questions may not appear exactly like this.
Multiple choice questions
1. (TCO 1) JavaScript code is run by the (Points : 5)
database server
application server
web server
web browser
Question 2. 2. (TCO 2) A flowchart illustrating the site structure of a website is called a (Points : 5)
Wireframe
Storyboard
Thumbnail
None of the above
Question 3. 3. (TCO 3) A valid HTML document requires (Points : 5)
a head element and a page element
a head element and a body element
a body element and a div element
a page element and a div element
Question 4. 4. (TCO 4) To stop an element from flowing into the space on the side of a floated element, you can use the _____________ property. (Points : 5)
fixed
width
clear
stop
Question 5. 5. (TCO 5) As a best practice, you should only use the height and width attributes of an img element to specifiy (Points : 5)
the size at which you want the image to be displayed after the page is rendered
the actual size of the image
the optimum size of the image
the size at which you want the image to be displayed while the page is being rendered
Question 6. 6. (TCO 6) How many radio buttons from the following code can be selected at any given time?
Home Address
Federal Express
UPS (Points : 5)
0
1
2
3
Question 7. 7. (TCO 7) The DOM for a web page provides a hierarchy of nodes that represent (Points : 5)
the elements, contents, and attributes in the HTML
the elements, attributes, and comments in the HTML
the contents, attributes, and comments in the HTML
the elements, contents, attributes, and comments in the HTML
Question 8. 8. (TCO 8) Which of the following statements about web storage is NOT true? (Points : 5)
Web storage refers to data that is stored on the user’s computer.
Session storage is erased when a user goes to another page.
The data in web storage is stored in name/value pairs.
Local storage is retained indefinitely.
Question 9. 9. (TCO 9) Three ways to test whether a web page request is coming from a mobile device are using: (Points : 5)
JavaScript code, server-side code, or media queries
JavaScript code, server-side code, or jQuery
JavaScript code, server-side code, or jQuery Mobile
JavaScript code, server-side code, or WURFL
Question 10. 10. (TCO 10) To remove the underlining from an element, you can use CSS to set its (Points : 5)
text-decoration property to none
text-decoration property to off
underline property to none
underline property to off
Essay questions
11. (TCO 1) Explain the differences between absolute and relative paths and when you should use each in your coding.. (Points : 30)
Question 12. 12. (TCO 3) What are some ways to ensure consistency across the pages of a web site? (Points : 30)
Question 13. 13. (TCO 5) Why is it not a good idea to constrain images using the width and height attributes of the img tag? What is a better approach?. (Points : 30)
Question 14. 14. (TCO 10) What are some of the advantages and disadvantages to using CSS in your site. (Points : 30)
Question 15. 15. (TCO 7) What are the types of Spry effects that can be added to a web page? Identify three options and discuss how they can be appropriately used on the web page (Points : 40)
Question 16. 16. (TCO 5) What is the CSS box model and how is it used to setup the layout of a page? (Points : 40)