web fundamentals 1, web fundamentals 2, web fundamentals 3

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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. The company from which you buy web hosting space must be the same place that you registered your domain. 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

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

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

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

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

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

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. Which is the default port for the HTTP protocol to establish a TCP connection? 1) 80 2) 88 3) 1 4) 21

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

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

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

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

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

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

4

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

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. An advantage of using CSS is that all browsers have always supported all versions of the CSS standard. 1) True 2) False

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

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

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

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

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

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

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

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

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

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

13. Apache web server software can run on Linux, Windows or MAC platforms. 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

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

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

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

29. CSS is a W3C standard for describing the presentation (or appearance) of HTML elements. 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

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

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

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

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

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

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 LAMP application stack consists of Linux, Apache, Microsoft database software, and the Python programming language. 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 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

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

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

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

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

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


Ensembles d'études connexes

GSBA544 - A Firm In A Global Economy

View Set

ACCY 1 LS: Chapter 8. Current Liabilities

View Set

Chapter Two Homework and Quiz Review - Econ 150

View Set