Introduction To Web Development Quiz Answers Week5
Introduction To Web Development Coursera Quiz Answers
(UC Davis) University of California, Davis
WEEK 5 Quiz module of Introduction to Web Development
ANSWERS ARE MARKED WITH ✓ SIGN.
1. Question 1 What is true of HTML forms?
Forms must be printable to be useful
They can be used to gather almost any information from visitors. ✓
Forms are primarily used for signing up for things
All of these are true
2. Question 2 Which type of form input hides what the user types?
text
radio
text with a value
secret
password ✓
3. Question 3 What is true of radio buttons?
They enable live radio streaming
They must have the same name to work as a group ✓
The must have the same value to work as a group
There is a limit of three radio buttons per group
4. Question 4 What do we know about checkboxes? (Select all that apply.)
All of these are true
We can check one, some or all (unlike radio buttons) ✓
They have a different shape than radio buttons ✓
They only work in conjunction with radio buttons
5. Question 5 What do we know about the input type number?
max is required, but min is not
min is required, but max is no
Neither min nor max is required ✓
Both min and max are required
6. Question 6 Why might we consider using the date input type?
All of these are true ✓
It gives the user an easy way to input a date
It allows a user to type a date if they prefer
It prevents invalid date formats
7. Question 7 Which of these strings match the HTML5 pattern=”[A-Za-z]{3} (Select all that apply.)
usa ✓
AU
GER ✓
US3
8. Question 8 If using regular expressions to validate input, it may be better to use JavaScript than HTML5. Why?
Regular expressions are easier to write in JavaScript
HTML5 pattern isn’t supported in all browsers ✓
JavaScript requires less code
The JavaScript approach is not supported in all browsers
9. Question 9 Are tables and HTML forms compatible?
Forms can be used to give tables structure
No, tables and forms are incompatible
Yes, if we use the table attribute of a form
Tables can be used to give a form structure ✓
Tables can be used instead of forms if we provide an action attribute
10. Question 10 JavaScript can be maintained in a separate file by using which attribute of the script tag?
action
dest
type
src ✓
source
11. Question 11 A placeholder in an HTML form refers to
Is a nice feature, but it requires a lot of code
A kind of prompt for the user’s input ✓
A place for to insert JavaScript code later.
A special comment to remind us what feature we want to work on next
12. Question 12 What is true of the built JavaScript function toUpperCase() (Select all that apply.)
It makes all letters in a string upper case ✓
It works on JavaScript strings ✓
It must be used when processing forms
It makes most of the characters in a string upper case
Related Posts
Subscribe Our Newsletter
0 Comments to "Introduction To Web Development Quiz Answers Week5"
Post a Comment
Share your view here!!