CSCI-1710
How is information transmitted over the Internet? A. Packet Switching B. Circuit Switching
A. Packet Switching
What is the Internet equivalent of a telephone number? A. Domain B. IP address C. Device ID D. MAC address
B. IP address
How would you characterize the following element? <img src="image.jpg" alt="Image"> A. Inline container B. Inline standalone C. Block container D. Block standalone
B. Inline standalone
What do we refer to as an established rule that governs communication? A. Domain B. Protocol C. Hypertext D. TLD
B. Protocol
What is the correct HTML for inserting an image? A. <img src="image.gif" alt="MyImage"> B. <img alt="MyImage">image.gif</img> C. <img href="image.gif" alt="MyImage"> D. <image src="image.gif" alt="MyImage">
A. <img src="image.gif" alt="MyImage">
Who is making the Web standards? A. The World Wide Web Consortium B. Microsoft C. Google D. Mozilla
A. The World Wide Web Consortium
Choose the correct HTML element for the largest heading: A. <h6> B. <head> C. <heading> D. <h1>
D. <h1>
Given the following CSS rule, which is the property? p { width: 450px; } A. {} B. p C. 450px D. width
D. width
Consider the following URL: http://www.csci1710.net What file will a browser automatically look for if none is provided? A. http://www.csci1710.net/index.html B. http://www.csci1710.net/home.html C. http://www.csci1710.net/ramseyjw.html D. None. The search will fail without an included file name.
A. http://www.csci1710.net/index.html
How can you make a numbered list? A. <ol> B. <list> C. <dl> D. <ul>
A. <ol>
Who 'invented' the World Wide Web? A. Tim Berners Lee B. Alan Touring C. Al Gore D. Linus Torvalds
A. Tim Berners Lee
Consider the following URL: http://www.csci1710.net What file will a browser automatically look for if none is provided? A. http://www.csci1710.net/index.html B. http://www.csci1710.net/home.html C. http://www.csci1710.net/ramseyjw.html D. None. The search will fail without an included file name.
A. http://www.csci1710.net/index.html
Which of the following is not a valid class or id name? A. content2 B. $content C. _content D. contentTwo
B. $content
Which part of the following URL is its TLD? http://www.csci1710.net/csci1710/labs/lab1/lab1.html A. http:// B. .net C. lab1.html D. ramseyjw/index.html E. .html
B. .net
If you are writing a HTML document and wish to include a long quotation, which should be indented left and right, which HMTL5 tag would you use? A. <quote>...</quote> B. <blockquote>...</blockquote> C. <">...</"> D. <q>...</q>
B. <blockquote>...</blockquote>
What is the correct HTML element for inserting a line break? A. <lb /> B. <br /> C. <enter /> D. <break />
B. <br />
How would you characterize the following element? <h1>Introduction</h1> A. Inline container B. Block container C. Inline standalone D. Block standalone
B. Block container
CSS can be applied to a web page in any of three ways: Embedded, inline, and A. Scripted B. External C. Optional D. Server-side
B. External
A CSS ID can be reused multiple times on a given web page. A. True B. False
B. False
One of the trade-offs with using CSS is that using CSS makes it easier to apply layout and design features to a website, but it makes it more difficult to maintain. A. True B. False
B. False
The following code snippet contains no errors: <ul> <li><a href="index.html>HOME</a></li> <li><a href="about.html">ABOUT</a></li> <li><a href="pics.html">PICTURES</a></li> <li><a href="contact.html">CONTACT</a><li> </ul> A. True B. False
B. False
Why is it important to optimize images for websites? A. Since .jpg files use compression, it is not necessary to optimize image files for web sites. B. Larger file sizes make download times greater and can have a negative impact on user experience. C. Storage is expensive so failure to optimize image size can result in increased costs from an Internet service provider. D. Larger files will always take up more of the display, making structuring of a document's content more difficult.
B. Larger file sizes make download times greater and can have a negative impact on user experience.
Consider the following CSS code: h1 { color: red; background-color: blue; } What is "h1" called in CSS terminology? A. Property B. Selector C. Rule D. Value
B. Selector
So, here's the thing about the Internet...if a server crashes, and a client requests a resource from another server on past it, what happens? A. The request dies and returns a 404, file not found error B. The request is routed around the 'dead' server until it reaches its destination C. The system waits until the 'dead server' comes back online
B. The request is routed around the 'dead' server until it reaches its destination
Every well designed web site has a set of targeted site users and A. included multimedia content B. a well defined mission C. a low-contrast color scheme D. a needlessly complex navigation structure
B. a well defined mission
Which of the following is an absolute URL? A. cscidbw/ramseyjw/labs/lab4/lab4.html B. cscidbw/ramseyjw/template.html C) http://cscidbw.etsu.edu/ramseyjw/labs/lab4/lab4.html D. None of the above
C) http://cscidbw.etsu.edu/ramseyjw/labs/lab4/lab4.html
If there is an inline CSS rule in a given paragraph element, style="font-size: 14px;" in the HTML document, and there is a CSS rule "p {font-size: 12px;}" in the internal style sheet, then the font size in a paragraph on the web page will be what size? A. 12% B. Default C. 14px D. 12px
C. 14px
An HTML document consists of three main parts after the DOCTYPE, and they are the _______________, _____________, and ____________ elements. A. <html>, <header>, and <div> B. <div>, <p>, and <ul> C. <html>, <head>, and <body> D. <header>, <body>, and <footer>
C. <html>, <head>, and <body>
What is a powerful computer whose primary role is providing information to other machines (usually many simultaneous requests). This machine waits for a request for information. Once it receives a request, it retrieves the information, performs any processing needed, and sends the data back to the requesting client computer. A. Client B. Browser C. Server D. Desktop
C. Server
What should appear on the first line of an HTML document? A. The HTML element B. The body element C. The doctype declaration D. The head element
C. The doctype declaration
Every hyperlink element must have which of the following attribute/value pairs to function? Question options: A. title B. alt C. href D. src
C. href
A block level element is an element which A. Causes the cursor to move to the beginning of the next line. B. Forces text to wrap around it. C. Does not interrupt the flow of the document. D. Starts and ends with a new line, creating white space above and below its content.
D. Starts and ends with a new line, creating white space above and below its content.
What file extension will tell you at a glance that the given file is most likely a Cascading Stylesheet document? A. .html B. .exe C. .bin D. .css
D. .css
Which image format would be best suited for displaying photographs on a web page? A. .raw B. .bmp C. .gimp D. .jpg
D. .jpg
CSS can be applied to: A. One page B. Multiple pages C. An entire site D. All of the above
D. All of the above
Which of the following CSS rules will center a block level element in its container? A. margin: 0 auto; B. margin: 10px auto; C. margin-left: auto; margin-right: auto; D. All of the above will do the trick
D. All of the above will do the trick
What is the name of the system that maps human readable addresses to their computer-friendly numeric equivalents? A. Dynamic Host Control Protocol B. File Transfer Protocol C. Hypertext Transfer Protocol D. Domain Name System
D. Domain Name System
How would you characterize the following element? <em>...</em> A. Inline standalone B. Block container C. Block standalone D. Inline container
D. Inline container
Which word below correctly fills in the blank? Hypertext ______ Language A. Multimedia B. Marketing C. Masking D. Markup
D. Markup
A paragraph element is A. an inline container element B. a block level standalone element C. an inline standalone element D. a block level container element
D. a block level container element
HTML documents are made up of various ______ that define how the document will be structured. A. attributes B. bullets C. braces D. tags
D. tags