web fundamentals 4, web fundamentals 3, web fundamentals 2, web fundamentals 1

¡Supera tus tareas y exámenes ahora con Quizwiz!

20. In the four-layer network model, an example of an Application Layer protocol is: 1) HTTP Hypertext Transfer Protocol 2) TCP Transmission Control Protocol 3) IP Internet Protocol 4) MAC Media Access Control

1

26. Which is the default port for the HTTP protocol to establish a TCP connection? 1) 80 2) 88 3) 1 4) 21

1

7. The Internet uses the Transmission Control Protocol (TCP) to identify destinations on the Internet. 1) True 2) False

2

8. The most common choice for a web server operating system is a Microsoft OS. 1) True 2) False

2

3. Fiber optic cable is a glass-based wire that transmits light and has significantly less bandwidth and speed in comparison to metal wires. 1) True 2) False

2

30. The company from which you buy web hosting space must be the same place that you registered your domain. 1) True 2) False

2

9. Regarding intranets, which of the following statements is false? 1) The_ term intranet refers to an internet network that is local to an organization or busmess. 2) We know how many web pages exist within intranets because search engines like Google can index the content within them. 3) Intranet resources are often private. 4) lntranets are typically protected from unauthorized external access via security features such as firewalls or private IP ranges.

2

14. The User-Agent string in the HTTP header tells us: 1) What kind of media types the client can receive. 2) What types of modification can be done to the data before transmission. 3) What kind of operating system and browser the user is running. 4) What kind of operating system the server is running.

3

15. The invention of the WWW is usually attributed to . 1) Al Gore 2) Microsoft 3) Tim Berners-Lee 4) World Wide Web Consortium (W3C)

3

17. When using the GET method to send form data, the data is hidden from the user. True or False

False

19. When using the POST method to send form data, the data can clearly be seen in the address bar. True or False

False

2. A form element can contain other form elements. True or False

False

31. Select the element used to visually group a number of form controls. - group - fieldset - form - label

Fieldset

14. When configuring a radio button form control where only a single selection can be chosen, the value of the _____ attribute of each radio button must be the same. - name - id - value - size

Name

25. Use the ______ attribute on the form element to specify the name and location of the script that will process the form control values. - action - process - method - none of the above

action

26. Select the attribute used to limit the number of characters that a text box will accept. - size - maxlength - limit - columns

maxlength

1. Every device connected to the Internet has an IP address. 1) True 2) False

1

1. In the following CSS code, em is the ____________. em { color: red; } 1) selector 2) property 3) value 4) style declaration

1

23. Only block-level elements and non-text inline elements such as images have a widthand height that you can specify. 1) True 2) False

1

10. An application stack to run a website consists of an operating system, web server software, a database and a scripting language to process dynamic requests. 1) True 2) False

1

13. Apache web server software can run on Linux, Windows or MAC platforms. 1) True 2) False

1

13. HTML markup is implemented via 1) tags (AKA elements) 2) arrows 3) underlines 4) all of these

1

14. An HTML attribute is a name=value pair that provides more information about the HTML element. 1) True 2) False

1

16. The more specific the CSS selector, the more it takes precedence (i.e., overrides a previous definition). 1) True 2) False

1

16. The most common choice for a web server operating system is a Linux-based OS. 1) True 2) False

1

18. An id selector allows you to target a specific element by its id attribute regardless of its type or position. 1) True 2) False

1

19. A single web page can reference dozens of files and require many HTTP requests and responses. 1) True 2) False

1

25. The Domain Name System (DNS} provides a mechanism for software to discover a numeric IP address through a process referred to as address resolution. 1) True 2) False

1

28. In the four-layer network model, web development is mostly focused on . 1) The Application Layer 2) The Transport Layer 3) The Internet Layer 4) The Link Layer

1

29. CSS is a W3C standard for describing the presentation (or appearance) of HTML elements. 1) True 2) False

1

5. Often an HTML element will contain other HTML elements. In such a case, the container element is said to be a parent of the contained, or child, element. 1) True 2) False

1

5. Query strings are used in server-side programming to pass information such as user form input from the client to the server. 1) True 2) False

1

21. Which of the following is true of a circuit-switched network? 1) Establishes an actual physical connection 2) Not reliant on a single pathway that may fail 3) Does not require a continuous connection 4) Can take different routes to the destination

1

22. The HTTP protocol request methods most commonly used are: 1) GET and PUT 2) GET and POST 3) CONNECT and GET 4) POST and DELETE

2

6. Which of the following is true about the Link Layer of the four-layer network model? 1) It is responsible for both the physical transmission across media (wires, wireless) and establishing logical links. 2) It routes packets between communication partners across networks. 3) It ensures transmissions arrive, in order, and without error. 4) It implements process-to-process communication at a higher level of abstraction.

1

11. In a local network, computers can share a single IP address between them. 1) True 2) False

2

12. When users visit a URL, the entire web page is returned to the browser in a single HTTP response from the server. 1) True 2) False

2

17. The LAMP application stack consists of Linux, Apache, Microsoft database software, and the Python programming language. 1) True 2) False

2

24. ARPANET was originally created for _____ 1) e-commerce 2) Academic and scientific research 3) Banking and financial services 4) Use by the general public

2

29. Which of the following organizations oversees the management of top-level domains, accredits registrars, and coordinates other aspects of DNS? 1) W3C 2) ICANN 3) ARPANET 4) IANA

2

18. Which of the following is true of a packet-switched network? 1) Wastes bandwidth since even the silences are transmitted 2) Requires more bandwidth 3) Can communicate multiple connections 4) Must establish and maintain a dedicated link

3

23. Which of the following is NOT an advantage of a server farm? In other words, which of the following is false? 1) Server farms provide failover redundancy through replication in case of hardware failure. 2) Server farms distribute incoming requests between clusters of machines so that any given web or data server is not excessively overloaded. 3) Server farms limit the potential risk of site downtimes. 4) Server farms are always the most cost effective solution.

4

27. A Uniform Resource Locator (URL} allows a client to request a resource from a server. Of the following, which are the minimum required components of a URL? 1) Protocol and port number 2) Domain and path to a file or directory 3) Domain and query string 4) Protocol and domain (or IP address}

4

7. Use _______ element to indicate column or row headings. <td> <th> <head> <thead>

<th>

12. You would like to conduct a survey and ask your web page visitors to indicate the web browsers that they use. Each visitor could use more than one browser. Select the form control that is best to use for this purpose. - radio button - check box - text box - scrolling text box

check box

22. Select the HTML code to configure a button that, when clicked, will automatically reset form fields to their default values. <input type="reset"> <input type="submit" value="Reset"> <reset> <form action="reset">

<input type="reset">

20. Select the form control from the choices below that may be used to submit a form. <input type="submit"> <submit></submit> <input type="form" value="submit"> <select option="submit">

<input type="submit">

24. Select the HTML tag below that configures a textbox named "email" that is 40 characters wide. <input type="text" id="email" width="40"> <input type="text" name="email" size="40"> <input type="text" name="email" space="40"> <input type="text" width="40>

<input type="text" name="email" size="40">

21. Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone. Phone: <input type="textbox" name="customerPhone"> <label>Phone: <input type="text" name="customerPhone"></label> <label for="Phone">Phone: </label><input type="text" name="Phone" id="customerPhone"> <label>Phone:</label> <input type="text" name="customerPhone">

<label>Phone: <input type="text" name="customerPhone"></label>

10. The purpose of the _____ is to configure a caption or label for a <fieldset>. <label> <caption> <legend> <title>

<legend>

32. Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters. <textarea name="feedback" width="60" rows="3"></textarea> <input type="textarea" name="feedback" size="60" rows="3"> <textarea name="feedback" rows="3" cols="60"></textarea> none of the above

<textarea name="feedback" rows="3" cols="60"></textarea>

1. Select the statement below that is true about forms. -The <form> tag is optional -It is recommended to use mailto: as the action on a form since that is the easiest for the web developer -A form can be used to pass information to a program or script on the web server -All of these are true

A form can be used to pass information to a program or script on the web server

30. Choose the attribute selector below that will target submit buttons. input[type="submit"] submit submit[input] input.submit

input[type="submit"]

35. What attributes are valid for the select element? - name, id, multiple - name, id, multiple, rows, cols - name, id, multiple, selected - name, id, multiple, checked

name, id, multiple

9. Use the CSS ______ property to configure the cellpadding of a table instead of using the cellpadding attribute. - margin - padding - cellpadding - border-spacing

padding

3. Using tables for ____________ is not recommended because the HTML markup is not semantically correct. - page layout - numeric data - tabular data - spreadsheet data

page layout

27. Select the type of form control that "disguises" the characters that are typed. - text box - password box - encrypt box - hidden box

password box

13. An order form contains an area for web visitors to choose their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose. - check box - radio button - select list - scrolling text box

select list

34. Select the form control below that does not use the input element. - text box - select list - checkbox - radio button

select list

33. Select the attribute used to configure the width of a text box as displayed in a browser. - size - maxsize - limit - columns

size

4. Select the item below that lists elements used in an HTML table: -table, head, tfoot -table, tr, tt -thead, body, tr -table, tr, td

table, tr, td

23. Choose the item below that is not a valid value for the input element's type attribute. - radio - url - telephone - text

telephone

5. To configure the table cells to share a common border and eliminate the default space between table cells configure ___________ in your CSS. - border: none; - border-collapse: all; - border-collapse: collapse; - border: collapse;

border-collapse: collapse;

3. The syntax for CSS comments looks like: 1) <!-- comments go here --> 2) /* comments go here */ 3) // comments go here // 4) all of these will work in CSS

2

30. An advantage of using CSS is that all browsers have always supported all versions of the CSS standard. 1) True 2) False

2

4. What type of HTML list will automatically place a number in front of the list items? 1) numbered list 2) ordered list 3) unordered list 4) description (definition) list

2

5. Which of the following is true about inline styles? 1) Inline styles are encouraged since they increase maintainability 2) An inline style only affects the element it is defined within and will override other styles for that element's property. 3) Inline styles will be overridden by the external stylesheet 4) Inline styles are encouraged since they decrease bandwidth

2

6. Like the other new HTML5 semantic elements, the browser applies special presentation to the <nav> element. 1) True 2) False

2

6. When CSS is coded in the body of the web page as an attribute of an HTML tag it is called _____. 1) Embedded 2) Inline 3) External 4) Imported

2

8. Use the _____ element to code embedded styles on a web page. 1) <link> 2) <style>...</style> 3) <embed>...</embed> 4) <include>...</include>

2

1. HTML5 syntax requires 1) uppercase 2) lowercase 3) self-closing tags 4) none of these

3

12. Select the code below that uses CSS to configure an id named "footer" that configures small, blue, italic text. 1) #footer { font-size: small; color: blue; font-weight: italic;} 2) .footer { font-size: small; color: blue; font-weight: italic;} 3) #footer { font-size: small; color: blue; font-style: italic;} 4) .footer { font-size: small; color: blue; font-style: italic;}

3

12. The main difference between the existing XHTML 1.1 standard and the XHTML 2.0 standard being developed by the W3C, was that XHTML 2.0 1) would include XML rules 2) would be backwards compatible with existing web content and HTML 3) would NOT be backwards compatible with existing web content and HTML 4) would have to be written in all lower case

3

15. When a web page contains both a link to an external stylesheet and embedded styles, which of the following is true? 1) The embedded styles will be applied first, and then the external styles will be applied. 2) The external styles will override the embedded styles. 3) The external styles will be applied first, then the embedded styles will be applied. 4) The styles will conflict and the default browser styles will be applied.

3

2. CSS property names ____________________. 1) can be any name you choose to create 2) are the same as HTML tag names 3) are predefined by the CSS standard. 4) all of these

3

29. The HTML5 ________ form control provides the user with a selection of choices along with an option to enter information. - select list - check box - datalist - slider

Datalist

19. HTML documents should only focus on the semantic structure of the document, and should not describe how to visually present content. 1) True 2) False

1

2. In order to properly construct a hierarchy of elements, your browser expects each HTML nested element to be properly nested. That is, a child's ending tag must occur before its parent's ending tag. 1) True 2) False

1

20. Many (but not all) CSS properties affect not only themselves but their descendants as well. 1) True 2) False

1

21. Font, color, list, and text properties are inheritable by default. 1) True 2) False

1

23. <h1>Share Your <strong>Travels</strong></h1> is an example of correct nesting in the Document Object Model (DOM). 1) True 2) False

1

26. Using CSS to adapt web pages for different output media so that pages scale based on screen size is often referred to as a responsive design approach. 1) True 2) False

1

26. Visiting a web page using voice reading software can be a very frustrating experience for visually impaired users if the site does not use semantic markup. 1) True 2) False

1

27. CSS driven sites are more accessible to people with disabilities who rely on accessibility tools such as screen readers. 1) True 2) False

1

27. In the mid-2000s work on the XHTML2.0 standard was abandoned mainly due to lack of backwards compatibility with HTML and XHTML 1.0. 1) True 2) False

1

28. At its simplest, markup is a way to indicate information about the content that is distinct from the content. 1) True 2) False

1

28. Current versions of IE, Chrome, Firefox and Opera all provide developer tools that allow you to visually inspect the CSS box model values for a selected HTML element. 1) True 2) False

1

4. The World Wide Web Consortium (W3C) is the international standards organization that oversees the growth of the web. 1) True 2) False

1

8. Web pages have two main sections, a head and a body. 1) True 2) False

1

9. Use the _____ element to associate a web page with an External Style Sheet. 1) <link> 2) <style>...</style> 3) <target> 4) <include>...</include>

1

10. Select the function of an e-mail hyperlink from the choices below. 1) Automatically send you an e-mail message with the visitor's e-mail address as the reply-to field. 2) Launch the default e-mail application for the visitor's browser with your e-mail address as the recipient. 3) Display your e-mail address so that the visitor can send you a message later. 4) Link to your mail server.

2

10. The box model consists of a content area surrounded by: 1) a border 2) padding, border, and margin 3) border and margin 4) spacing, border, and margin

2

13. Which CSS property configures the font typeface? 1) font-style 2) font-family 3) font-type 4) font-typeface

2

15. Inline elements cause a line break in the flow of text on the page. 1) True 2) False

2

17. The X in the XML specification stands for 1) eXtreme 2) eXtensible 3) eXtensive 4) eXclusive

2

17. When creating a webpage with scalable elements, designers rely on the creation of elements at a fixed size rather than proportional measurements. 1) True 2) False

2

18. All browsers and all versions support every feature of HTML5. 1) True 2) False

2

19. You can use the same id name as many times as you want on a single HTML web page. 1) True 2) False

2

20. The <div> tag is an example of the new semantic elements in HTML5. 1) True 2) False

2

21. The <meta> tag is coded in the body section of the HTML document 1) True 2) False

2

22. Layout, sizing, border, background and spacing properties are inheritable by default. 1) True 2) False

2

22. The text contained between the <title>...</title> tags is: 1) Displayed on the web page as the page heading 2) Displayed in the title bar of the browser window or tab 3) Not used by search engines 4) Never seen by your web page visitor

2

24. Choose the true statement below. 1) The content that displays in the browser is contained in the head section. 2) The content that displays in the browser is contained in the body section. 3) Information about the web page is contained in the body section. 4) None of these are true.

2

24. In modern web development it is best to always use pixel measurements for font sizes. 1) True 2) False

2

25. <h1>Share Your <strong>Travels</h1></strong> is an example of correct nesting in the Document Object Model (DOM). 1) True 2) False

2

25. In CSS code, class selectors always begin with the hash (#) symbol. 1) True 2) False

2

2. In terms of the client-server model of the web, which of the following statements is false? 1) A server is a computer agent that listens for queries and requests 2) A server is a computer agent that is normally active 24 hours a day, 7 days a week. 3) A server is a computer agent that makes requests and receives responses 4) A server hosts web applications, stores user and program data, and performs security authorization.

3

29. Choose the best-designed link from below. 1) <a href="news.html">Click to read our important news!</a> 2) Click to read our <a href="news.html">important news!</a> 3) <a href="news.html">Important News</a> 4) <a href="news.html">Click here to read our important news</a>

3

30. When do you need to use a fully qualified, absolute URL in a hyperlink? 1) When creating a link to a location on the same web page. 2) When linking to a page in another folder on the same site. 3) When linking to a page on an external web site. 4) Never

3

7. The Document Type Definition or the DOCTYPE for HTML5 looks like: 1) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.01//EN" "http://www.w3.org/TR/html5.1/strict.dtd"> 2) <!DOCTYPE HTML PUBLIC "HTML5"> 3) <!DOCTYPE html> 4) none of these

3

7. To apply the same style to more than one element on a web page, configure a CSS _____. 1) group 2) id 3) class 4) all of these can configure more than one element on a page

3

9. The two organizations actively working on the HTML5 specification are 1) IEEE and W3C 2) IETF and NSA 3) W3C and WHATWG 4) W3C and WYSIWYG

3

11. Select the item(s) below that can be used as a CSS Selector. 1) an HTML element 2) a class name 3) an id name 4) all of these

4

11. What tag pair is used to create the largest heading? 1) <h6> </h6> 2) <h9> </h9> 3) <h type="large"> </h> 4) <h1> </h1>

4

14. If you want to style multiple web pages on a web site in the same way, it is best to use: 1) inline styles 2) embedded styles 3) an internal stylesheet 4) an external stylesheet

4

16. XML-based syntax rules for XHTML require: 1) lowercase tag names 2) attributes always within quotes 3) all elements must have a closing element (or be self-closing) 4) all of these

4

3. HTML5 syntax allows 1) uppercase 2) lowercase 3) self-closing tags 4) all of these

4

4. The location of CSS style rules can be (choose the best answer) 1) inline 2) embedded 3) external 4) you can combine all three

4

6. The purpose of the _______ element is to provide a title and briefly describe the contents. <head> <caption> <title> <source>

<caption>

28. Select the true statement from the choices below. - a scrolling text box is created using an input element with type="textarea" - a text box is created using an input element with type="box" - a select list is created using select and input elements - a scrolling text box is created using a textarea element

A scrolling text box is created using a textarea element.

15. For a series of name=value pairs in a query string sent by a form, the name=value pairs are separated by a(n)________. - comma - ampersand - space - semi-colon

Ampersand

11. Select the true statement from those listed below about HTML5 forms. -The input element with type="email" will cause all browsers to edit for a valid e-mail address -The required attribute will cause all browsers to verify that the user has entered corrupt information into the form control -The input element with type="date" will cause all browsers to display a calendar control -The input element with type="email" will cause browsers that do not support the attribute to display a text box

The input element with type="email" will cause browsers that do not support the attribute to display a text box

16. A table element can contain other table elements. True or False

True

18. When using the GET method to send form data, the data can be bookmarked. True or False

True

8. How will the following CSS display on the page: table {border: 1px solid #000000;} -the table will have a thin black border -the table and each table cell will have thin black borders -the table cells will have solid black borders -the table and table headers will have thin black borders

the table will have a thin black border


Conjuntos de estudio relacionados

Wounded Knee Massacre (Native American Wars)

View Set

Marketing (Beecher) Chapter 5 smart book

View Set

Los Materiales, Los Metales y Los Minerales, Los Muebles y Las Partes de Los Muebles, Los Mariscos, y Los Pecess

View Set

Chapter 1: Financial Systems and the Financial Market

View Set

DECA Marketing 2024 practice exam

View Set

C839-ECES--Cipher block-HASH-Cryptanalysis

View Set

Study Guide (pt. 2) Chapter 8 & 9 - AP Bio

View Set

Medication and I.V. Administration

View Set

Greatest Common Factor (GCF) Vocabulary:

View Set