



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Exam of HTML and Web Programming which includes Measurement, Cell Phone Turned, Measurement, Overflow Property, Chop Off, User Scrolls, Margin, Padding, Content-Spacing etc.Key important points are: Matching Sheet, Appearance, Lower Part, Matching Sheet, Identifies, Appearance, Identifies, Matching Sheet, Appearance, Red Border
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




CS-081/Vickery Page 1 of 4
NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on any exam or quiz.
INSTRUCTIONS: Circle the letter of the one best choice for each question****. There is no penalty for guessing. Unless otherwise indicated, all questions count equally.
«Name» Final Exam 12/21/ Exam ID: «Exam_ID» CS-081/Vickery Page 2 of 4
«Name» Final Exam 12/21/ Exam ID: «Exam_ID» CS-081/Vickery Page 4 of 4
Which statement is true? A. Javascript is used for client-side programming and PHP is used for server-side programming. B. PHP is used for client-side programming and Javascript is used for server-side programming. C. Both A and B. D. Neither A nor B. E. All of the above.
What technology would be used to change the appearance of the web page when the user clicks a checkbox, without interacting with the server? A. CSS B. Javascript C. XHTML D. PHP E. Tidy
What technology would be used to generate a web page based on information in a database on the server? A. CSS B. Javascript C. XHTML D. PHP E. Tidy
What is the window.onload value used for? A. To specify where to place the window in the user’s viewport. B. To tell how big the window is. C. To tell what function to run after the DOM tree has been built. D. To build the DOM tree when the request is sent to the server. E. To run a function when the server starts sending a window to the browser.
Why does the CSS background-color become backgroundColor in Javascript? A. Because backgroundColor is used only for images in CSS. B. Because background-color means subtraction in Javascript. C. It’s up to the programmer. You can do the same thing saying background-color in Javascript if you want to. D. The statement is not true. You have to use background-color, not backgroundColor, in Javascript. E. To be compatible with Internet Explorer.
What does the Javascript statement alpha = alpha + 3; do? A. It says that alpha and alpha + 3 both have the same value. B. It doesn’t make any sense because alpha can’t possibly be equal to itself plus three. C. It changes the value of alpha to three more than whatever the value was before the statement was executed. D. It makes the background color three units brighter. E. It makes the browser window three pixels larger.
What does the statement x = getElementById(‘foo’); do? A. It searches the DOM for an element with id='foo' and puts a reference to it in the variable x. B. It searches the DOM for all tags and X’s them out of the tree. C. It finds all the red elements. D. It replaces the element that has id='foo' with the value of the variable x. E. All of the above.