Introduction To Web Development Quiz Answers Week3
Introduction To Web Development Coursera Quiz Answers
ANSWERS ARE MARKED WITH ✓ SIGN.
1. Question 1 What value does JavaScript have to websites? (Select all that apply.)
JavaScript makes websites interactive. ✓
JavaScript improves security.
JavaScript validates user input. ✓
JavaScript prevents errors
2. Question 2 Is JavaScript case sensitive?
Yes, it is case sensitive. ✓
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. ✓
Dynamically updating HTML.
Validating user input on webpages.
4. Question 4 Which symbols does JavaScript use to create comments?
\\
**
<!– –>
// ✓
5. Question 5 Which of these operators is the equality operator?
*
=
/
+
== ✓
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 ✓
7. Question 7 Which of these is an ability that JavaScript has that HTML does not have?
Do things repetitively ✓
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 ✓
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 ✓
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 ✓
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 ✓
Paragraphs
Images ✓
Related Posts
Subscribe Our Newsletter
0 Comments to " Introduction To Web Development Quiz Answers Week3"
Post a Comment
Share your view here!!