CGS2835

Card Set Information

Author:
kem10e
ID:
174933
Filename:
CGS2835
Updated:
2012-10-02 11:09:55
Tags:
Webdev Exam
Folders:

Description:
Interdisciplinary Web Development (CGS2835) Exam 1 Review
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user kem10e on FreezingBlue Flashcards. What would you like to do?


  1. If you go to a Web site with the URL www.anysite.com what is the likely name of the Web page file that is presented?

    A. fsu.html
    B. main.html
    C. index.html
    D. home.html
    C. index.html
  2. If a Web page is stored on iSpace in /html/wad/mypage and references an image like this: <img src=”images/mypic.jpg” alt=”my picture” /> where should that image file be located on ispace?

    A. /html/wad/mypage/images/mypic.jpg
    B. /html/images/mypic.jpg
    C. /html/mypic.jpg
    D. /html/wad/mypage/mypic.jpg
    A. /html/wad/mypage/images/mypic.jpg
    (this multiple choice question has been scrambled)
  3. Where is the following Web page located on iSpace – http://iSpace.ci.fsu.edu/~glm04/webdev/index.html ?

    A. /ispace/glm04/webdev/index.html
    B. /home/glm04/webdev/index.html
    C. /home/glm04/html/webdev/index.html
    D. /home/webdev/index.html
    C. /home/glm04/html/webdev/index.html
    (this multiple choice question has been scrambled)
  4. HTTP is the protocol used to request and receive resources on the web in web browsers.

    True or False
    True
  5. When a person calls up www.fsu.edu in their Web browser, what is delivered by the Web server?

    A. index.html
    B. index.html along with any image files, css files, and other associated files that it requires to display as designed
    C. a binary stream of instructions for displaying the content of the Web page
    D. index.html with binary image files embedded
    B. index.html along with any image files, css files, and other associated files  that it requires to display as designed
  6. Javascript code embedded in an html file typically runs in the browser on the client PC.

    True or False
    True
  7. PHP code embedded in an html file typically runs in the browser on the client PC.

    True or False
    False
  8. What is going on with this URL?: http://iSpace.ci.fsu.edu/username/mysite/index.html?name=ken

    A. The browser is receiving information for user ken.
    B. A secure Internet connection is providing authentication for ken.
    C. The browser is passing data to an application on the server using HTTP GET, the variable “name” is set to “ken”
    D. The browser is passing data to an application on the server using HTTP POST, the variable “name” is set to “ken”
    C. The browser is passing data to an application on the server using HTTP GET, the variable “name” is set to “ken”
  9. When I go to www.amazon.com, I am greeted with my "Hello, John Smith.  We have recommendations for you". What technologies allow Amazon to know who I am and what I like?

    A. Web browser, Web server, IP Address, server-side program, Crystal ball
    B. Web browser, Web server, Cookies, Server-side program, Database
    C. Web browser, Web server, SFTP, server-side program
    D. Web browser, Web server, Instant messaging
    B. Web browser, Web server, Cookies, Server-side program, Database
  10. What programming languages are commonly used on the web server?

    A. PHP, Python, Perl, Ruby
    B. URL, Web Browsers
    C. HTTP, SFTP
    D. HTML, CSS, Javascript
     A. PHP, Python, Perl, Ruby
  11. What organization works to develop standards for the Web such as HTML, XML, and CSS?

    A. World Wide Web Consortium (W3C)
    B. Microsoft
    C. W3 Schools
    D. Internet Corporation for Assigned Names and Numbers (ICANN)
    A. World Wide Web Consortium (W3C)
  12. What new tags did HTML5 introduce from previous versions of HTML?

    A. <p> and <em>
    B. <head> and <div>
    C. <video> and <audio>
    D. <html> and <body>
    C. <video> and <audio>
    (this multiple choice question has been scrambled)
  13. Which of the following is NOT true of HTML?

    A. Tags must be properly nested.
    B. Tags must always be in quotes.
    C. Tags must always be closed.
    D. Attributes must always be in quotes
    B. Tags must always be in quotes.
  14. Which of the following lines of code would make an error in the HTML validator?

    A. <p>Welcome to my Web page!<br />Glad you are here!</p>
    B. <h1>My Life Story</h1>
    C. </p>Welcome to my Web page!</p>
    D. <h1>Welcome to my Web page!<br /><p>Glad you are here!</h1></p>
    D. <h1>Welcome to my Web page!<br /><p>Glad you are here!</h1></p>
    (this multiple choice question has been scrambled)
  15. Which of the following creates a 2x2 table in proper XHTML code?

    A. <table><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>
    B. <table><tr><td></td><td></td><td></td><td></td></tr></table>
    C. <table><tr><td></td></tr><tr><td></td></tr></table>
    D. <table><tr></tr><td></td><td></td><tr></tr><td></td><td></td></table>
    A. <table><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>
  16. Which of the following is a properly formed hyperlink to FSU Web site?

    A. <a href="http://www.fsu.edu">FSU</a>
    B. <a="http://www.fsu.edu">FSU</a>
    C. <a href="www.fsu.edu">FSU</a>
    D. <a href=http://www.fsu.edu>FSU</a>
    A. <a href="http://www.fsu.edu">FSU</a>
  17. Which of the following is used to signify the start of a comment in HTML code?

    A. <#--
    B. <!--
    C. ##
    D. <comment>
    B. <!--
  18. Which of the following properly identifies the main parts of a Web page?

    A. <html><head><title></title></head><body></body><html>
    B. <html><head><title></title></head><body></body></html>
    C. <html><body><head><title></title></head></body></html>
    D. <html><title></title><head></head><body></body></html>
    B. <html><head><title></title></head><body></body></html>
  19. Which of the following properly represents an ordered list with three items?

    A. <ol><li><li><li></ol>
    B. <ol><li></li></ol><ol><li></li></ol><ol><li></li></ol>
    C. <ul><li></li><li></li><li></li></ul>
    D. <ol><li></li><li></li><li></li></ol>
    D. <ol><li></li><li></li><li></li></ol>
  20. Which of the following will properly display “Yikes!” (without quotes) in a large italics font?

    A. <span><em>Yikes!</em></span>
    B. <h2><b>Yikes!</b></h2>
    C. <h2><em>Yikes!</em></h2>
    D. <h2><em>Yikes!</h2></em>
    C. <h2><em>Yikes!</em></h2>
  21. What does CSS stand for?

    A. Central Style Sheet
    B. Consistent Style Sheet
    C. Cascading Style Sheet
    D. Control Style Sheet
    C. Cascading Style Sheet
  22. What is the purpose of CSS?

    A. To specify the XHTML content and data of a Web page.
    B. To specify the visual design of Web pages.
    C. To specify the browser settings for viewing a Web page.
    D. To specify the logical design of a Web site.
    B. To specify the visual design of Web pages.
  23. Which of the following is NOT a benefit of CSS?

    A. Provides the Web developer with more precise control of Web page layout.
    B. Allows the Web developer to load page content dynamically.
    C. Reduces redundant code and allows an easy method of updating design for an entire Web site.
    D. Allows the Web developer to control the layout of many documents from one single style sheet.
     B. Allows the Web developer to load page content dynamically.
  24. Which of the following is correct syntax for an in-line style method?

    A.<body style: background-color= "#FF0000";>
    B. <body style=background-color: "#FF0000;">
    C. <body style=background-color: #FF0000;>
    D. <body style="background-color: #FF0000;">
    D. <body style="background-color: #FF0000;">
  25. Which of the following is correct syntax for the internal css method?

    A.
    <html> 
       <head>   
          <title>Example</title> 
       </head> 
       <style body="background-color: #FF0000;" /> 
       <body>   
          <p>This is a red page</p> 
       </body>
    </html>
    B.
    <html> 
       <head>   
          <title>Example</title>   
          <style body="background-color: #FF0000;" />
       </head> 
       <body>   
          <p>This is a red page</p> 
       </body>
    </html>
    C.
    <html> 
       <head>   
          <title>Example</title>   
          <style type="text/css">     
             body {background-color: #FF0000;}   
          </style> 
       </head> 
       <body>   
          <p>This is a red page</p> 
       </body>
    </html>
    D.
    <html> 
       <head>   
          <title>Example</title> 
       </head> 
       <body>   
          <style type="text/css">     
             body {background-color: #FF0000;}   
          </style>   
          <p>This is a red page</p> 
       </body>
    </html>
    • C.<html> 
    •    <head>   
    •       <title>Example</title>   
    •       <style type="text/css">     
    •          body {background-color: #FF0000;}   
    •       </style> 
    •    </head> 
    •    <body>   
    •       <p>This is a red page</p> 
    •    </body>
    •    </html>
  26. Which of the following is correct syntax for linking a css file from an html file?

    A.
    <html> 
       <head>   
          <title>My document</title>   
          <link rel="stylesheet" type="text/css" href="style/style.css" /> 
       </head> 
       <body>
          <p>This is a red page</p> 
       </body>
    </html>
    B.
    <html> 
       <head>   
          <title>My document</title> 
       </head> 
       <body>   
          <link rel="stylesheet" type="text/css" href="style/style.css" />
          <p>This is a red page</p> 
       </body>
    </html>
    C.
    <html> 
       <head>   
          <title>My document</title>   
          <link type="text/css" stylesheet="style/style.css" />
       </head> 
       <body>
          <p>This is a red page</p> 
       </body>
    </html>
    D.
    <html>  
          <link type="text/css" stylesheet="style/style.css" /> 
       <head>   
          <title>My document</title> 
       </head> 
       <body>
          <p>This is a red page</p> 
       </body>
    </html>
    • A.<html> 
    •    <head>   
    •       <title>My document</title>   
    •       <link rel="stylesheet" type="text/css" href="style/style.css" /> 
    •    </head> 
    •    <body>
    •       <p>This is a red page</p> 
    •    </body>
    •    </html>
  27. Which of the following is a shade of blue using hexadecimal Red, Green, Blue codes?

    A. #1144FF
    B. #44FF11
    C. #FF4411
    D. #11FF44
    A. #1144FF
  28. One css file can be used to apply styles to several html pages.

    True or False
    True
  29. To which generic font family does the font used in this sentence belong?

    A. San-serif
    B. Serif
    C. Monospace
    D. Times New Roman
    A. San-serif
  30. Which of the following is correct syntax for an external style sheet utilizing class selectors?

    A.

    In the css file:
    a {    
          color: blue;
    }
    a.whitewine {    
          color: #FFBB00;
    }
    a.redwine {    
          color: #800000;
    }

    In the html file:
    <span class="whitewine">
    <p>Grapes for white wine:</p>
    <ul>
    <li><a href="x">
    <li><a href="x">
    <li><a href="pb.htm">Pinot Blanc</a></li>
    </ul>
    </span>
    <span class="redwine">
    <p>Grapes for red wine:</p>
    <ul>
    <li><a href="cs.htm">Cabernet Sauvignon</a></li>
    <li><a href="x">
    <li><a href="pn.htm">Pinot Noir</a></li>
    </ul>
    </span>

    B.
    In the css file:
    a {    
          color: blue;
    }
    #whitewine {    
          color: #FFBB00;
    }
    #redwine {    
          color: #800000;
    }

    In the html file:
    <p>Grapes for white wine:</p>
    <ul>
    <li><a href="ri.htm" class="whitewine">Riesling</a></li>
    <li><a href="ch.htm" class="whitewine">Chardonnay</a></li>
    <li><a href="pb.htm" class="whitewine">Pinot Blanc</a></li>
    </ul>

    <p>Grapes for red wine:</p>
    <ul>
    <li><a href="cs.htm" class="redwine">Cabernet Sauvignon</a></li>
    <li><a href="me.htm" class="redwine">Merlot</a></li>
    <li><a href="pn.htm" class="redwine">Pinot Noir</a></li>
    </ul>

    C.
    In the css file:
    a {    
          color: blue;
    }
    a.whitewine {    
          color: #FFBB00;
    }
    a.redwine {    
          color: #800000;
    }

    In the html file:
    <p>Grapes for white wine:</p>
    <ul>
    <li><a href="ri.htm" id="whitewine">Riesling</a></li>
    <li><a href="ch.htm" id="whitewine">Chardonnay</a></li>
    <li><a href="pb.htm" id="whitewine">Pinot Blanc</a></li>
    </ul>

    <p>Grapes for red wine:</p>
    <ul>
    <li><a href="cs.htm" id="redwine">Cabernet Sauvignon</a></li>
    <li><a href="me.htm" id="redwine">Merlot</a></li>
    <li><a href="pn.htm" id="redwine">Pinot Noir</a></li>
    </ul>

    D.
    In the css file:
    a {    
          color: blue;
    }
    a.whitewine {    
          color: #FFBB00;
    }
    a.redwine {    
          color: #800000;
    }

    In the html file:
    <p>Grapes for white wine:</p>
    <ul>
    <li><a href="ri.htm" class="whitewine">Riesling</a></li>
    <li><a href="ch.htm" class="whitewine">Chardonnay</a></li>
    <li><a href="pb.htm" class="whitewine">Pinot Blanc</a></li>
    </ul>

    <p>Grapes for red wine:</p>
    <ul>
    <li><a href="cs.htm" class="redwine">Cabernet Sauvignon</a></li>
    <li><a href="me.htm" class="redwine">Merlot</a></li>
    <li><a href="pn.htm" class="redwine">Pinot Noir</a></li>
    </ul>
    • D.
    •  In the css file:
    • a {    
    •       color: blue;
    • }
    • a.whitewine {  
    •        color: #FFBB00;
    • }
    • a.redwine {  
    •        color: #800000;
    • }

    • In the html file:
    • <p>Grapes for white wine:</p>
    • <ul>
    • <li><a href="ri.htm" class="whitewine">Riesling</a></li>
    • <li><a href="ch.htm" class="whitewine">Chardonnay</a></li>
    • <li><a href="pb.htm" class="whitewine">Pinot Blanc</a></li>
    • </ul>
    • <p>Grapes for red wine:</p>
    • <ul>
    • <li><a href="cs.htm" class="redwine">Cabernet Sauvignon</a></li>
    • <li><a href="me.htm" class="redwine">Merlot</a></li>
    • <li><a href="pn.htm" class="redwine">Pinot Noir</a></li>
    • </ul>
  31. Which of the following is correct syntax for an external style sheet utilizing the id selector?

    A.
    In the css file:
    .c2 {    
          color: red;
    }

    In the html file:
    <h2 id="c2">Chapter 2</h2>

    B.
    In the css file:
    h2 {    
          color: red;
    }

    In the html file:
    <h2>Chapter 2</h2>

    C.
    In the css file:
    c2 {    
          color: red;
    }

    In the html file:
    <h2 class="c2">Chapter 2</h2>

    D.
    In the css file:
    #c2 {  
          color: red;
    }

    In the html file:
    <h2 id="c2">Chapter 2</h2>
    • D.
    • In the css file:
    • #c2 {    
    •       color: red;
    • }

    • In the html file:
    • <h2 id="c2">Chapter 2</h2>
  32. Consider the following code:
    <p>Early to bed and early to rise makes a human healthy, wealthy, and wise.</p>
    If you wanted to apply a style to the word "human" in the above code, you would use <span> rather than <div>.

    True or False
    True
  33. An HTML file can link in multiple CSS style sheets.

    True or False
    True
  34. A name given to a CSS class or id can have spaces. (e.g. <div id="my divider">)

    True or False
    False
  35. Which of the following is a valid way to style the following HTML code so that the text will appear red?
     <h1 class = "heading">

    A. h2 { color: red; }
    B. .heading { color: #FF0000; }
    C. #heading { color: #FF0000; }
    D. heading { color: red; }
    B. .heading { color: #FF0000; }
  36. Which of the following is a valid way to style the following HTML code so that the text will appear blue? 
    <h1 id = "aboutme">

    A. h1 { color: #FF0000; }
    B. .aboutme { color: #0000FF; }
    C. #aboutme { color: blue; }
    D. aboutme { color: blue; }
    C. #aboutme { color: blue; }
  37. What does JavaScript provide for web applications?

    A. Client side dynamic processing, interactivity, and behaviors
    B. Webpage design
    C. Content markup
    D. Web form input boxes
    A. Client side dynamic processing, interactivity, and behaviors
  38. What is jQuery?

    A. A necessary component of JavaScript
    B. A part of the Java programming language
    C. A library of JavaScript functions which make coding interactive web behaviors easier than plain JavaScript
    D. A JavaScript function
     C. A library of JavaScript functions which make coding interactive web behaviors easier than plain JavaScript
  39. Which of the following will correctly select a divider with id="navigation" in jQuery?

    A. $("body")
    B. $("navigation")
    C. $(".navigation")
    D. $("#navigation")
    D. $("#navigation")
  40. Java is the same programming language as JavaScript.

    True or False
    False
  41. JavaScript code can be used by an HTML page on-page in the body, head and by including it externally using the script tag.

    True or False
    True
  42. What does the acronym DOM stand for?

    A. Document Object Model
    B. Dial Object Model
    C. Document Online Model
    D. Document Object Mode
    A. Document Object Model
  43. What does jQuery select objects from on a page?

    A. The DOM
    B. HTTP
    C. Images
    D. The client
    A. The DOM
  44. Code blocks placed in JavaScript functions and if/else statements are surrounded by what characters?

    A. Spaces
    B. Parentheses ()
    C. Brackets []
    D. Curly braces {}
    D. Curly braces {}
  45. An HTML form can take text data from a client using the following tag:

    A. <javascript>
    B. <input type="text">
    C. <input type="button">
    D. <form>
    B. <input type="text">
  46. Names for JavaScript variables cannot have spaces and are case sensitive. For example, (var Me;) is different than (var me;)

    True or False
    True

What would you like to do?

Home > Flashcards > Print Preview