Quiz3Review - Quiz 3 Review 1 Which image is produced from...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Quiz 3 Review: 1. Which image is produced from the following html file when the “Set” button is clicked? <html> <body> <h2>Text Area</h2> <form name="test"> <textarea rows=5 cols=30 name="theText"> Lots of default text </textarea> <br> <input type="button" value="Set" onClick="document.test.theText.value='New Test';"> </form> </body> </html> a. d. b. None of the above 2. Histogram Equalization can be used to a. b. c. d. increase image contrast reduce image contrast increase image brightness reduce image brightness 3. Which of the following is not a color model? a. RGB b. CMYK c. HSB d. ESP c. 4. What will happen to the text box with the “?” in front of it when the “Click here” button is clicked? <html> <body> <h1> Payroll Demo</h1> <script> function ComputePay() { document.paycheck.pay.value =document.paycheck.wages.value/document.paycheck.hours.value;} </script> <form name="paycheck"> <ul> <li> wages = <input type="text" name="wages" value = 173.45 > <li> <li> hours = <input type="text" name="hours" value = 22> </ul> <p> <ul> Calculate <input type="button" value="Click here" name="actionButton" onClick="ComputePay()"> <input type="reset" name="resetButton"> </ul> <p> <ul> ? = <input type="text" name="pay"> </ul> </form> </body> </html> a. b. c. d. the ? text box will remain blank the ? text box will be filled with “wages” multiplied by “hours” the ? text box will be filled with “wages” divided by “hours” All of the text boxes will become blank. 5. The Healing Brush is best used to a. b. c. d. colorize images remove cracks and defects select objects in an image deform images 6. Which of the HTML files listed below will generate the example image? a. <html> <script> inWord = "the"; theWord = "fred "; begWord = "beginning"; document.write("fred"+inWord+begWord); theWord = "the"; </script> </html> b. <html> <script> inWord = "the"; theWord = "the"; begWord = "beginning"; document.write("fred"+inWord+begWord); theWord = "fred "; </script> </html> c. <html> <script> inWord = "the"; theWord = "fred "; begWord = "beginning"; document.write(theWord+inWord+begWord); theWord = "the"; </script> </html> d. none of the above 7. The following HTML file generates the example form. Suppose that the user was to click on the “Hello” box (where the arrow is pointing). Which of the image choices below would be generated? <html> <script> function whenClicked() { document.aForm.msg.value="say "+ document.aForm.hello.checked; } </script> <h2>Try this</h2> <form name="aForm"> <input type="checkbox" name="hello">Hello <br><input type="checkbox" name="bye">Good-bye <br>Message <input type="text" name="msg"> </form> </html> A. B. C. D. 8. Which of the images below the original (on top) is a result of image sharpening? (a) (b) (c) (d) 9. What effect does the following function have on an image? A. B. C. D. 10. Reduces contrast Increases contrast Reduces brightness Increases brightness Suppose you have an RGB color image, and for each pixel there are 256 possible values of red, 256 possible values of green, and 256 possible values of blue. How many bits are required to store the value of each pixel? a. b. c. d. 1 3 8 24 ...
View Full Document

This note was uploaded on 10/11/2011 for the course CS 100 taught by Professor Billbarrett during the Fall '11 term at BYU.

Ask a homework question - tutors are online