Introduction to Web Development Quiz Answer. In this post you will get Quiz & Assignment Answer of Introduction to Web Development

 

Introduction to Web Development

Offered By ”University of California”

Enroll Now

Module 1 Quiz

1.
Question 1
What kind of service is typically not offered by hosting services?

1 point

  • All of these are commonly offered.
  • FTP
  • Technical support for site owner
  • Storage space on a server
  • Email addresses

2.
Question 2
Which of the following hosting services is usually expensive?

1 point

  • None of these
  • Email addresses
  • Reliable Internet
  • Dedicated web hosting
  • Shared Web hosting

3.
Question 3
Which of these things are not commonly associated with free Web hosting?

1 point

  • Hidden charges
  • Limited tools
  • Customer support
  • Slow
  • Advertisements

4.
Question 4
When selecting a paid hosting service which of these is usually an important consideration? (Select all that apply.)

1 point

  • More than 500 GB of storage
  • A price you can afford
  • Customer support
  • The ability to cancel service without penalty

5.
Question 5
What are some best practices when choosing website names (domain names)?

1 point

  • All of these are best practices
  • Use hyphens to make names more readable
  • Choose long names because they are more descriptive.
  • Choose short names when possible.

6.
Question 6
Which of the following is true about iCANN?

1 point

  • ICANN will sell you a website name.
  • ICANN appoints registrars to register domain names.
  • ICANN owns a large portion of the Internet
  • ICANN is a branch of the US government.
  • ICANN makes the Internet more interesting with motivational talks.

7.
Question 7
What is true about IP addresses?

1 point

  • They are assigned to a computer or piece of equipment
  • All of these are true
  • They are short and easy to remember
  • IP addresses are issued by ICANN

8.
Question 8
What’s true about DNS?

1 point

  • Names are easier to use than IP addresses
  • It only works for servers in your country.
  • You need to have a domain name in order to use FTP
  • It works on computers, but is not available on smartphones.

9.
Question 9
What is a 404 error?

1 point

  • It means that the site is insecure and we should immediately close our browsers.
  • It means our site has been hacked.
  • It means that page or file could not be found.
  • It’s a very uncommon error that most people never see.

10.
Question 10
What is true about the control panel for Web hosting? (Select all that apply.)

1 point

  • It allows you to upload file to your site.
  • It costs extra and isn’t worth it
  • It allows you to configure error pages
  • All of these are true

11.
Question 11
This course requires that you purchase Web hosting and a domain name. (Select all that apply.)

1 point

  • You should host a site only when you are ready
  • Yes, true
  • Yes and you have to buy IP addresses, too!
  • No, Web hosting is fun, but optional.

 

Module 2 Quiz

 

1.
Question 1
Which Web browser is required for this course?

1 point

  • Safari
  • Internet Explorer
  • You can use any browser
  • Firefox
  • Chrome

2.
Question 2
What are the most common file types used in websites?

1 point

  • HTML and XML
  • HTML, JavaScript, CSS and Images
  • HTML, JavaScript, CSS and Excel
  • Any file with a .zip extension
  • HTML, JavaScript and Word

3.
Question 3
The HTML language is primarily composed of opening and closing

1 point

  • stamps
  • markers
  • commands
  • tags
  • operators

4.
Question 4
One of the recommended ways to practice your HTML skills is

1 point

  • All of these are recommended
  • w3schools.com
  • Earn a degree in HTML
  • With pencil and paper
  • Flash cards

5.
Question 5
What is true about HTML versions?

1 point

  • We must use only HTML3 in Chrome
  • HTML5 is radically different that version 4.
  • HTML5 is the current version of HTML
  • All of these are true
  • HTML5 is experimental and not ready for general use.

6.
Question 6
Which of these is true of the select tag? (Select all that apply.)

1 point

  • It allows us to select the version of HTML we want to use.
  • Items in a select tag are created using an option tag
  • All of these are true
  • It is used to create a drop down list items.

7.
Question 7
What is true about the view source feature in Web browsers? (Select all that apply.)

1 point

  • All of these are true
  • Viewing source is an invasion of privacy and possibly illegal.
  • View source can help us learning about HTML techniques.
  • Chrome allows view source with a right-click.

8.
Question 8
We create HTML links by which means?

1 point

  • None of these
  • With <anchor>
  • Link tags
  • with <href>
  • with <a> and an href

9.
Question 9
Which of these things about HTML links is not true?

1 point

  • The href attribute needs to be accurate.
  • If you mistype a link in your HTML, Google can usually figure it out.
  • We should test every link we create.
  • A link can have any name you want.
  • Pages can have multiple links.

10.
Question 10
Which of the following is not true of working with paragraph tags?

1 point

  • Paragraph tags allow some other tags to be used within them.
  • The tags look like <p></p>
  • Paragraph tags do not show whitespace in the browser.
  • Paragraph tags tend to display wrapped text in the browser.
  • Paragraph tags show all whitespace in the browser.

11.
Question 11
Which is true about the break tag?

1 point

  • Break tags cause HTML to stop processing.
  • It uses an opening and closing tag.
  • Denoted as <break>
  • Break tags do not work in most browsers.
  • It is a single tag and denoted as <BR>

12.
Question 12
If we create a table of five rows with three cells per row, how many total tags are needed, including opening and closing tags?

1 point

  • 3 table, 10 tr and 30 td tags
  • 2 table, 10 tr and 25 td tags
  • 2 table, 8 tr and 24 td tags
  • 2 table, 10 tr and 30 td tags
  • 2 table, 11 tr and 30 td tags

 

Module 3 Quiz

 

1.
Question 1
What value does JavaScript have to websites? (Select all that apply.)

1 point

  • JavaScript prevents errors
  • JavaScript validates user input.
  • JavaScript makes websites interactive.
  • JavaScript improves security.

2.
Question 2
Is JavaScript case sensitive?

1 point

  • It depends on the browser you are using.
  • Case sensitivity is recommended, but optional.
  • Yes, it is case sensitive.
  • No, it is not case sensitive.

3.
Question 3
Which of these is not a purpose of JavaScript?

1 point

  • Validating user input on webpages.
  • Dynamically updating HTML.
  • Preventing webpages from getting errors.
  • Making webpages more interactive.

4.
Question 4
Which symbols does JavaScript use to create comments?

1 point

  • **
  • \\
  • //
  • <!– –>
  • ??

5.
Question 5
Which of these operators is the equality operator?

1 point

  • +
  • *
  • /
  • =
  • ==

6.
Question 6
Which of the following is true of script tags?

1 point

  • They are required for JavaScript
  • Script tags do not require a closing tag.
  • They are required for HTML
  • Using script tags is usually a syntax error.

7.
Question 7
Which of these is an ability that JavaScript has that HTML does not have?

1 point

  • Do things repetitively
  • Displaying text
  • Using CSS
  • Displaying images

8.
Question 8
Using JavaScript to get an HTML element by its ID requires which function name starting with document?

1 point

  • 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

1 point

  • Assessing the length property
  • Counting HTML tags
  • The length cannot be determined
  • Using the size property

10.
Question 10
A JavaScript “if” statement allows us to

1 point

  • 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)

1 point

  • Paragraphs
  • Images
  • Entire HTML pages
  • Buttons

 

 

Module 4 Quiz

1.
Question 1
When considering the visual design of our website, which of these approaches was recommended?

1 point

  • Adding as much information as possible to our pages.
  • Consider how the site will appear to users and seek feedback from friends.
  • Using more techniques because we want to include every skill we’ve learned.
  • Using shocking colors to get attention.

2.
Question 2
When considering the visual design of our website, which of these approaches was recommended?

1 point

Sites that critique designs of other sites can be useful.

Irregular animated events make visitors feel welcome.

Repeating background images always look good.

Sites that critique designs of other sites are mean.

3.
Question 3
What is true of approaches to CSS code? (Select all that apply.)

1 point

  • All of these are true
  • Inline is the best option
  • Internal or local is the best option
  • Inline is the worst option
  • External is the best option

4.
Question 4
The CSS code p.medium {color:green;font-size:150%;} can be described as: (Select all that apply.)

1 point

  • Containing two name-value pairs.
  • Creating a larger than normal green font.
  • All of these apply
  • Shows the medium class that is required in Chrome.

5.
Question 5
When referring to a reference to an external CSS file we can say

1 point

  • External CSS files are the most difficult to maintain.
  • The HREF contains the name of the external CSS file.
  • Using HREF is a syntax error
  • The HREF is not required because files are found automatically.

6.
Question 6
What is true of name-value pairs in CSS? (Select all that apply.)

1 point

  • All of these are true
  • Pairs are separated by semicolons
  • Name and value are separated by a colon
  • Name and value are separated by a semicolon
  • We are limited for three or fewer name-value pairs per style.

7.
Question 7
When referring to CSS selectors we can say

1 point

  • Para selects all paragraph tags
  • The pound sign # selects elements by ID
  • The dot selects elements by IDs
  • There is no way to select all paragraph tags with CSS

8.
Question 8
CSS comments are best described by: (Select all that apply.)

1 point

  • The /* */ can be used for single line comments
  • The /* */ can be used for multi-line comments
  • CSS comments are inefficient and may pose a security risk
  • CSS uses the same // symbol for comments that we learned in JavaScript.

9.
Question 9
Which strategy was recommended to get your CSS working?

1 point

  • Get an external CSS file with as many styles as possible before testing.
  • Get an external CSS file working with just one style to start.
  • Make lots of typos so you can fix them.
  • Use inline styles whenever possible

10.
Question 10
What can be said about using color in CSS?

1 point

  • Background-color is preferrable to color
  • DIV tags can’t use colors of any kind
  • Background-color is an older approach not used in modern browsers
  • Both background-color and color are necessary

11.
Question 11
What can be said about using color in CSS?

1 point

  • RGB allows greater control over the exact color
  • We should always use RGB
  • HEX notation for color is easiest to understand
  • We should prefer color by name
  • None of these are true

12.
Question 12
What can we say about using CSS to control page layout?

1 point

  • We can use float:down and clear: down
  • We can use float: up
  • We can use float right and clear up or down.
  • We can use float: left and clear: left

 

 

 

Module 5 Quiz

 

1.
Question 1
What is true of HTML forms?

1 point

  • All of these are true
  • Forms are primarily used for signing up for things
  • They can be used to gather almost any information from visitors.
  • Forms must be printable to be useful

2.
Question 2
Which type of form input hides what the user types?

1 point

  • text
  • radio
  • text with a value
  • secret
  • password

3.
Question 3
What is true of radio buttons?

1 point

  • There is a limit of three radio buttons per group
  • They must have the same name to work as a group
  • They enable live radio streaming
  • The must have the same value to work as a group

4.
Question 4
What do we know about checkboxes? (Select all that apply.)

1 point

  • They only work in conjunction with radio buttons
  • All of these are true
  • We can check one, some or all (unlike radio buttons)
  • They have a different shape than radio buttons

5.
Question 5
What do we know about the input type number?

1 point

  • min is required, but max is not
  • Both min and max are required
  • Neither min nor max is required
  • max is required, but min is not

6.
Question 6
Why might we consider using the date input type?

1 point

  • It gives the user an easy way to input a date
  • It allows a user to type a date if they prefer
  • All of these are true
  • It prevents invalid date formats

7.
Question 7
Which of these strings match the HTML5 pattern=”[A-Za-z]{3}

(Select all that apply.)

1 point

  • usa
  • GER
  • US3
  • AU

8.
Question 8
If using regular expressions to validate input, it may be better to use JavaScript than HTML5. Why?

1 point

  • HTML5 pattern isn’t supported in all browsers
  • The JavaScript approach is not supported in all browsers
  • Regular expressions are easier to write in JavaScript
  • JavaScript requires less code

9.
Question 9
Are tables and HTML forms compatible?

1 point

  • Yes, if we use the table attribute of a form
  • Tables can be used instead of forms if we provide an action attribute
  • Forms can be used to give tables structure
  • Tables can be used to give a form structure
  • No, tables and forms are incompatible

10.
Question 10
JavaScript can be maintained in a separate file by using which attribute of the script tag?

1 point

  • type
  • src
  • action
  • dest
  • source

11.
Question 11
A placeholder in an HTML form refers to

1 point

  • 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.)

1 point

  • It makes most of the characters in a string upper case
  • It must be used when processing forms
  • It works on JavaScript strings
  • It makes all letters in a string upper case

 

 

 

Module 6 Quiz

 

1.
Question 1
One of the main features of server side development is

1 point

  • CSS
  • Databases
  • JavaScript
  • None of these
  • HTML

2.
Question 2
Which of these is not a client side technology?

1 point

  • Browsers
  • CSS
  • PHP
  • HTML
  • JavaScript

3.
Question 3
What can be said about a while loop? (Select all that apply.)

1 point

  • They often use a loop counter
  • They are mainly used for writing vertical text
  • They perform actions repetitively until complete
  • All of these are correct

4.
Question 4
When we are working with characters in a string we refer to them by number:

1 point

  • We can start with any number
  • None of these
  • The numbering starts at 1
  • The numbering starts at 0
  • The numbering starts at 0, but only in JavaScript

5.
Question 5
What operator do programmers frequently use to add 1 to a variable i?

1 point

  • i++;
  • <i>
  • i**
  • i + I;
  • i = I + 1;

6.
Question 6
In programming languages we will often work with collections of things. Which of the following could be considered a collection? (Select all that apply.)

1 point

  • The letters that make up a string
  • A string
  • A form
  • The elements of a form
  • All of these are correct

7.
Question 7
The two most common loops we see in JavaScript are

1 point

  • do and while
  • while and for
  • for and for each
  • repeat and go
  • None of these

8.
Question 8
What is true about loops in programming languages? (Select all that apply.)

1 point

  • For and while loops are the least common
  • Multiple kinds of loops is a convenience
  • We need many kinds of loops to be effective
  • We really only need one kind of loop

9.
Question 9
Which of these are recommended to improve your Web development and programming skills? (Select all that apply.)

1 point

  • Imitate other software as a way to learn and practice
  • Imitating other people’s software is a waste of time
  • It pays to be curious about other people software and features
  • It’s best to focus on your code and ignore what others are doing

10.
Question 10
What is the recommended approach to problems?

1 point

  • Tackle medium and large problems because they build skill faster
  • Break problems down into their smallest parts
  • Avoid problems and move on to something easier.
  • None of these

11.
Question 11
What can we say about continuing to learn about Web development?

1 point

  • It’s best to work and communicate with others
  • Teaching others is a distraction that limits your learning
  • It’s best to work alone so you can concentrate
  • Teaching others can lead to them stealing your best ideas

12.
Question 12
What are the recommendations for working on your final project? (Select all that apply.)

1 point

  • None of these
  • Avoid starting with a template
  • Start with a very basic CSS file and get that working first
  • Think about the purpose of your form before you start
  • All of these are true

 

Peer-graded Assignment: Complete HTML Form

Click Here To Download Assignment 1

Click Here To Download Assignment 2

Click Here To Download Assignment 3

 

 

 

By JAMD Bokhtier

This is JAMD Bokhtier's website.He is a passionate Marketer who dreams,talks,learns and teaches all about Marketing,the owner & the founder of "Life Style Consultant", a specialist in "Digital Marketing" and a Sophophilic.

error: Content is protected !!