WEEK 3 Quiz module
ANSWERS ARE MARKED WITH (T) SIGN.
1. Question 1 What value does JavaScript have to websites? (Select all that apply.)
JavaScript makes websites interactive. (T)
JavaScript improves security.
JavaScript validates user input. (T)
JavaScript prevents errors
2. Question 2 Is JavaScript case sensitive?
Yes, it is case sensitive. (T)
It depends on the browser you are using.
No, it is not case sensitive.
Case sensitivity is recommended, but optional.
3. Question 3 Which of these is not a purpose of JavaScript?
Making webpages more interactive.
Preventing webpages from getting errors. (T)
Dynamically updating HTML.
Validating user input on webpages.
4. Question 4 Which symbols does JavaScript use to create comments?
??
\\
**
<!– –>
// (T)
5. Question 5 Which of these operators is the equality operator?
*
=
/
+
== (T)
6. Question 6 Which of the following is true of script tags?
Using script tags is usually a syntax error.
Script tags do not require a closing tag.
They are required for HTML
They are required for JavaScript (T)
7. Question 7 Which of these is an ability that JavaScript has that HTML does not have?
Do things repetitively (T)
Using CSS
Displaying text
Displaying images
8. Question 8 Using JavaScript to get an HTML element by its ID requires which function name starting with document?
document.getElementById (T)
document.GetElementById
document.getElementbyID
document.getElementId
None of these
9. Question 9 We can determine the length of a string in JavaScript by
Using the size property
Assessing the length property (T)
Counting HTML tags
The length cannot be determined
10. Question 10 A JavaScript “if” statement allows us to
End a program gracefully
Make decisions based on true/false (T)
Make HTML more efficient
Use the keyword then as if then
Erase variables
11. Question 11 JavaScript onclick is most effectively used with: (Select all that apply)
Entire HTML pages
Buttons (T)
Paragraphs
Images (T)

Leave a reply to https://pornhihi.com/tube/hairy-armpit-and-pussy-lesbians Cancel reply