{"id":139,"date":"2017-04-21T19:14:30","date_gmt":"2017-04-21T19:14:30","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/chapter\/section-3-assessments\/"},"modified":"2017-04-27T18:52:59","modified_gmt":"2017-04-27T18:52:59","slug":"section-3-assessments","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/chapter\/section-3-assessments\/","title":{"raw":"Section 3 Assessments","rendered":"Section 3 Assessments"},"content":{"raw":"<div class=\"Basic-Text-Frame\">\r\n\r\nFor each of these assignments, complete each step and submit all files (PHP, CSS, scripts, images, etc.) necessary by zipping and submitting your assignment folder.\r\n<h1>Your First PHP<\/h1>\r\n<ol>\r\n \t<li class=\"Number1\">Comment your name and assignment number at the top of the file.<\/li>\r\n \t<li class=\"Number1\">Create a variable that contains the current date and time.<\/li>\r\n \t<li class=\"Number1\">Create a constant that contains the assignment title.<\/li>\r\n \t<li class=\"Number1\">Make the assignment title the title of the page using the constant.<\/li>\r\n \t<li class=\"Number1\">Output the date and time.<\/li>\r\n \t<li class=\"Number1\">Output the PHP version, and server operating system (use system references).<\/li>\r\n \t<li class=\"Number1\">Display the following string as shown:\r\n<ul>\r\n \t<li>\u201cChicken finger subs are the best!\u201d said Clyde.<\/li>\r\n \t<li>\u201cI agree\u201d, said Bill, \u201cbut only when they are <strong>extra hot<\/strong>.\u201d<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li class=\"Number1\">Calculate and display the following. Use variables for each value used in the equation:\r\n<ul>\r\n \t<li class=\"bullet2\">8 + 9 = 17<\/li>\r\n \t<li class=\"bullet2\">24 % 8 = 0<\/li>\r\n \t<li class=\"bullet2\">5 \/ 3 = 1.667<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<h1>Forms and More<\/h1>\r\n<ol>\r\n \t<li class=\"Number1\">Create a website which presents the user with a registration form for a subscription service. Your form should request the following information:\r\n<ul>\r\n \t<li class=\"bullet2\">First, last name<\/li>\r\n \t<li class=\"bullet2\">Occupation<\/li>\r\n \t<li class=\"bullet2\">Email address<\/li>\r\n \t<li class=\"bullet2\">Mailing address<\/li>\r\n \t<li class=\"bullet2\">Phone<\/li>\r\n \t<li class=\"bullet2\">Job Title<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li class=\"Number1\">All information should be hidden (i.e., not be shown in the address bar).<\/li>\r\n \t<li class=\"Number1\">Name, email, and mailing address fields should be required.<\/li>\r\n \t<li class=\"Number1\">When completed, the form values are stored in a unique text file for each submission.<\/li>\r\n \t<li class=\"Number1\">The user should see a confirmation that their submission was received.<\/li>\r\n<\/ol>\r\n<h1>What Time Is It?<\/h1>\r\n<ol>\r\n \t<li class=\"Number1\">Create an HTML page and complete the following with JavaScript only.<\/li>\r\n \t<li class=\"Number1\">Output the current date and time to the screen.<\/li>\r\n \t<li class=\"Number1\">Convert local time and date to UTC and display the result.<\/li>\r\n \t<li class=\"Number1\">Add a button to your page that updates these times.<\/li>\r\n<\/ol>\r\n<h1>Let\u2019s Play A Game!<\/h1>\r\n<ol>\r\n \t<li class=\"Number1\">Create a page with a 3 by 3 grid to represent a tic-tac-toe board.<\/li>\r\n \t<li class=\"Number1\">Using jQuery, assign an X or O (alternating back and forth) when a cell is clicked on.<\/li>\r\n \t<li class=\"Number1\">Include a button to reset the board after a game.<\/li>\r\n \t<li class=\"Number1\">Using canvas, put a colorful gradient of the words Tic-Tac-Toe at the top of the page.<\/li>\r\n<\/ol>\r\n<h1>Discussion \/ Written Response<\/h1>\r\n<ol>\r\n \t<li class=\"Number1\">How are tags in XML different from tags in HTML?<\/li>\r\n \t<li class=\"Number1\">What is the difference between single and double quoted strings in PHP?<\/li>\r\n \t<li class=\"Number1\">What is the difference between server side and client side scripting? What are good situations to use each?<\/li>\r\n \t<li class=\"Number1\">What is the difference between GET and POST?<\/li>\r\n \t<li class=\"Number1\">Describe the difference between notice, warning, and critical error messages in PHP.<\/li>\r\n \t<li class=\"Number1\">Describe the difference between include, require, and require once.<\/li>\r\n<\/ol>\r\n<h1><a id=\"Section-3-Assessments\"><\/a>Questions<\/h1>\r\n<div class=\"quiz\">\r\n<h1 class=\"red_h\"><a class=\"quizlink\" href=\"http:\/\/opensuny.org\/Mendez_media\/interactive\/Quiz_Section3.html\" target=\"_blank\">Take this quiz online!<\/a><\/h1>\r\n<\/div>\r\n<ol>\r\n \t<li class=\"QuizQuestion\">The array $array = (\u201cOne\u201d=&gt;1, \u201cTwo\u201d=&gt;2, \u201cThree\u201d=&gt;3) is numeric.\r\n<ol>\r\n \t<li class=\"QuizAnswer\">True<\/li>\r\n \t<li class=\"QuizAnswer\">False<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which equation equates to 14?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">4 + 5 2 - 4<\/li>\r\n \t<li class=\"QuizAnswer\">(4 + 5) 2 \u2013 4<\/li>\r\n \t<li class=\"QuizAnswer\">4 + 5 (2 - 4)<\/li>\r\n \t<li class=\"QuizAnswer\">4 + (5 2) \u2013 4<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">The foreach() function in PHP is used when dealing with:\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Strings<\/li>\r\n \t<li class=\"QuizAnswer\">Arrays<\/li>\r\n \t<li class=\"QuizAnswer\">Objects<\/li>\r\n \t<li class=\"QuizAnswer\">Lists<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which PHP reserved array holds values passed in the URL?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">$_POST<\/li>\r\n \t<li class=\"QuizAnswer\">$_GET<\/li>\r\n \t<li class=\"QuizAnswer\">$_SESSION<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following is NOT a valid variable name?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">$variable<\/li>\r\n \t<li class=\"QuizAnswer\">$string<\/li>\r\n \t<li class=\"QuizAnswer\">$_string1<\/li>\r\n \t<li class=\"QuizAnswer\">$and-then<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following is an incorrect definition?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Apache = Web Server<\/li>\r\n \t<li class=\"QuizAnswer\">PHP = Object oriented language<\/li>\r\n \t<li class=\"QuizAnswer\">MySQL = Database Server<\/li>\r\n \t<li class=\"QuizAnswer\">HTML = Operating System<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following PHP functions runs until a condition is met?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">foreach()<\/li>\r\n \t<li class=\"QuizAnswer\">while()<\/li>\r\n \t<li class=\"QuizAnswer\">during()<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Declaring strings using single quotes means PHP syntax in the string will be shown.\r\n<ol>\r\n \t<li class=\"QuizAnswer\">True<\/li>\r\n \t<li class=\"QuizAnswer\">False<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which HTML element is used for JavaScript?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">&lt;scripting&gt;<\/li>\r\n \t<li class=\"QuizAnswer\">&lt;javascript&gt;<\/li>\r\n \t<li class=\"QuizAnswer\">&lt;jscript&gt;<\/li>\r\n \t<li class=\"QuizAnswer\">&lt;script&gt;<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Where can we place JavaScript?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">&lt;head&gt;<\/li>\r\n \t<li class=\"QuizAnswer\">&lt;body&gt;<\/li>\r\n \t<li class=\"QuizAnswer\">A &amp; B<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">JavaScript and Java are the same thing.\r\n<ol>\r\n \t<li class=\"QuizAnswer\">True<\/li>\r\n \t<li class=\"QuizAnswer\">False<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">DOM stands for\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Document Object Model<\/li>\r\n \t<li class=\"QuizAnswer\">Document Oriented Media<\/li>\r\n \t<li class=\"QuizAnswer\">Document Object Manager<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">When a user views a page containing a JavaScript program, which machine actually executes the script?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">The user\u2019s browser<\/li>\r\n \t<li class=\"QuizAnswer\">The Web server<\/li>\r\n \t<li class=\"QuizAnswer\">Both<\/li>\r\n \t<li class=\"QuizAnswer\">None of the above<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following cannot be done with JavaScript?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Validating a form<\/li>\r\n \t<li class=\"QuizAnswer\">Sending a form\u2019s contents by email<\/li>\r\n \t<li class=\"QuizAnswer\">Storing the form\u2019s contents to a database file on the server<\/li>\r\n \t<li class=\"QuizAnswer\">None of the above<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following is not a valid JavaScript variable name?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">1stname<\/li>\r\n \t<li class=\"QuizAnswer\">_firstName<\/li>\r\n \t<li class=\"QuizAnswer\">FirstName<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">What is the correct JavaScript syntax to write \u201cHello World\u201d?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">System.out.println(\u201cHello World\u201d)<\/li>\r\n \t<li class=\"QuizAnswer\">println (\u201cHello World\u201d)<\/li>\r\n \t<li class=\"QuizAnswer\">document.write(\u201cHello World\u201d)<\/li>\r\n \t<li class=\"QuizAnswer\">response.write(\u201cHello World\u201d)<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">jQuery uses CSS selectors to interact with page elements.\r\n<ol>\r\n \t<li class=\"QuizAnswer\">True<\/li>\r\n \t<li class=\"QuizAnswer\">False<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">In jQuery, $(\u2018div\u2019) would select\r\n<ol>\r\n \t<li class=\"QuizAnswer\">The first div element<\/li>\r\n \t<li class=\"QuizAnswer\">All div elements<\/li>\r\n \t<li class=\"QuizAnswer\">An element named div<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which jQuery function makes sure the contained code only runs when the page is done loading?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">$(body).onload()<\/li>\r\n \t<li class=\"QuizAnswer\">$(document).loaded()<\/li>\r\n \t<li class=\"QuizAnswer\">$document.ready()<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">jQuery is an add-on library for JavaScript, not an independent language.\r\n<ol>\r\n \t<li class=\"QuizAnswer\">True<\/li>\r\n \t<li class=\"QuizAnswer\">False<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<div class=\"quiz\">\r\n<h1 class=\"red_h\"><a class=\"quizlink\" href=\"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/back-matter\/section-3-answer-key\/\">Check your answers<\/a><\/h1>\r\n<\/div>\r\n<\/div>","rendered":"<div class=\"Basic-Text-Frame\">\n<p>For each of these assignments, complete each step and submit all files (PHP, CSS, scripts, images, etc.) necessary by zipping and submitting your assignment folder.<\/p>\n<h1>Your First PHP<\/h1>\n<ol>\n<li class=\"Number1\">Comment your name and assignment number at the top of the file.<\/li>\n<li class=\"Number1\">Create a variable that contains the current date and time.<\/li>\n<li class=\"Number1\">Create a constant that contains the assignment title.<\/li>\n<li class=\"Number1\">Make the assignment title the title of the page using the constant.<\/li>\n<li class=\"Number1\">Output the date and time.<\/li>\n<li class=\"Number1\">Output the PHP version, and server operating system (use system references).<\/li>\n<li class=\"Number1\">Display the following string as shown:\n<ul>\n<li>\u201cChicken finger subs are the best!\u201d said Clyde.<\/li>\n<li>\u201cI agree\u201d, said Bill, \u201cbut only when they are <strong>extra hot<\/strong>.\u201d<\/li>\n<\/ul>\n<\/li>\n<li class=\"Number1\">Calculate and display the following. Use variables for each value used in the equation:\n<ul>\n<li class=\"bullet2\">8 + 9 = 17<\/li>\n<li class=\"bullet2\">24 % 8 = 0<\/li>\n<li class=\"bullet2\">5 \/ 3 = 1.667<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h1>Forms and More<\/h1>\n<ol>\n<li class=\"Number1\">Create a website which presents the user with a registration form for a subscription service. Your form should request the following information:\n<ul>\n<li class=\"bullet2\">First, last name<\/li>\n<li class=\"bullet2\">Occupation<\/li>\n<li class=\"bullet2\">Email address<\/li>\n<li class=\"bullet2\">Mailing address<\/li>\n<li class=\"bullet2\">Phone<\/li>\n<li class=\"bullet2\">Job Title<\/li>\n<\/ul>\n<\/li>\n<li class=\"Number1\">All information should be hidden (i.e., not be shown in the address bar).<\/li>\n<li class=\"Number1\">Name, email, and mailing address fields should be required.<\/li>\n<li class=\"Number1\">When completed, the form values are stored in a unique text file for each submission.<\/li>\n<li class=\"Number1\">The user should see a confirmation that their submission was received.<\/li>\n<\/ol>\n<h1>What Time Is It?<\/h1>\n<ol>\n<li class=\"Number1\">Create an HTML page and complete the following with JavaScript only.<\/li>\n<li class=\"Number1\">Output the current date and time to the screen.<\/li>\n<li class=\"Number1\">Convert local time and date to UTC and display the result.<\/li>\n<li class=\"Number1\">Add a button to your page that updates these times.<\/li>\n<\/ol>\n<h1>Let\u2019s Play A Game!<\/h1>\n<ol>\n<li class=\"Number1\">Create a page with a 3 by 3 grid to represent a tic-tac-toe board.<\/li>\n<li class=\"Number1\">Using jQuery, assign an X or O (alternating back and forth) when a cell is clicked on.<\/li>\n<li class=\"Number1\">Include a button to reset the board after a game.<\/li>\n<li class=\"Number1\">Using canvas, put a colorful gradient of the words Tic-Tac-Toe at the top of the page.<\/li>\n<\/ol>\n<h1>Discussion \/ Written Response<\/h1>\n<ol>\n<li class=\"Number1\">How are tags in XML different from tags in HTML?<\/li>\n<li class=\"Number1\">What is the difference between single and double quoted strings in PHP?<\/li>\n<li class=\"Number1\">What is the difference between server side and client side scripting? What are good situations to use each?<\/li>\n<li class=\"Number1\">What is the difference between GET and POST?<\/li>\n<li class=\"Number1\">Describe the difference between notice, warning, and critical error messages in PHP.<\/li>\n<li class=\"Number1\">Describe the difference between include, require, and require once.<\/li>\n<\/ol>\n<h1><a id=\"Section-3-Assessments\"><\/a>Questions<\/h1>\n<div class=\"quiz\">\n<h1 class=\"red_h\"><a class=\"quizlink\" href=\"http:\/\/opensuny.org\/Mendez_media\/interactive\/Quiz_Section3.html\" target=\"_blank\">Take this quiz online!<\/a><\/h1>\n<\/div>\n<ol>\n<li class=\"QuizQuestion\">The array $array = (\u201cOne\u201d=&gt;1, \u201cTwo\u201d=&gt;2, \u201cThree\u201d=&gt;3) is numeric.\n<ol>\n<li class=\"QuizAnswer\">True<\/li>\n<li class=\"QuizAnswer\">False<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which equation equates to 14?\n<ol>\n<li class=\"QuizAnswer\">4 + 5 2 &#8211; 4<\/li>\n<li class=\"QuizAnswer\">(4 + 5) 2 \u2013 4<\/li>\n<li class=\"QuizAnswer\">4 + 5 (2 &#8211; 4)<\/li>\n<li class=\"QuizAnswer\">4 + (5 2) \u2013 4<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">The foreach() function in PHP is used when dealing with:\n<ol>\n<li class=\"QuizAnswer\">Strings<\/li>\n<li class=\"QuizAnswer\">Arrays<\/li>\n<li class=\"QuizAnswer\">Objects<\/li>\n<li class=\"QuizAnswer\">Lists<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which PHP reserved array holds values passed in the URL?\n<ol>\n<li class=\"QuizAnswer\">$_POST<\/li>\n<li class=\"QuizAnswer\">$_GET<\/li>\n<li class=\"QuizAnswer\">$_SESSION<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following is NOT a valid variable name?\n<ol>\n<li class=\"QuizAnswer\">$variable<\/li>\n<li class=\"QuizAnswer\">$string<\/li>\n<li class=\"QuizAnswer\">$_string1<\/li>\n<li class=\"QuizAnswer\">$and-then<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following is an incorrect definition?\n<ol>\n<li class=\"QuizAnswer\">Apache = Web Server<\/li>\n<li class=\"QuizAnswer\">PHP = Object oriented language<\/li>\n<li class=\"QuizAnswer\">MySQL = Database Server<\/li>\n<li class=\"QuizAnswer\">HTML = Operating System<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following PHP functions runs until a condition is met?\n<ol>\n<li class=\"QuizAnswer\">foreach()<\/li>\n<li class=\"QuizAnswer\">while()<\/li>\n<li class=\"QuizAnswer\">during()<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Declaring strings using single quotes means PHP syntax in the string will be shown.\n<ol>\n<li class=\"QuizAnswer\">True<\/li>\n<li class=\"QuizAnswer\">False<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which HTML element is used for JavaScript?\n<ol>\n<li class=\"QuizAnswer\">&lt;scripting&gt;<\/li>\n<li class=\"QuizAnswer\">&lt;javascript&gt;<\/li>\n<li class=\"QuizAnswer\">&lt;jscript&gt;<\/li>\n<li class=\"QuizAnswer\">&lt;script&gt;<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Where can we place JavaScript?\n<ol>\n<li class=\"QuizAnswer\">&lt;head&gt;<\/li>\n<li class=\"QuizAnswer\">&lt;body&gt;<\/li>\n<li class=\"QuizAnswer\">A &amp; B<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">JavaScript and Java are the same thing.\n<ol>\n<li class=\"QuizAnswer\">True<\/li>\n<li class=\"QuizAnswer\">False<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">DOM stands for\n<ol>\n<li class=\"QuizAnswer\">Document Object Model<\/li>\n<li class=\"QuizAnswer\">Document Oriented Media<\/li>\n<li class=\"QuizAnswer\">Document Object Manager<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">When a user views a page containing a JavaScript program, which machine actually executes the script?\n<ol>\n<li class=\"QuizAnswer\">The user\u2019s browser<\/li>\n<li class=\"QuizAnswer\">The Web server<\/li>\n<li class=\"QuizAnswer\">Both<\/li>\n<li class=\"QuizAnswer\">None of the above<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following cannot be done with JavaScript?\n<ol>\n<li class=\"QuizAnswer\">Validating a form<\/li>\n<li class=\"QuizAnswer\">Sending a form\u2019s contents by email<\/li>\n<li class=\"QuizAnswer\">Storing the form\u2019s contents to a database file on the server<\/li>\n<li class=\"QuizAnswer\">None of the above<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following is not a valid JavaScript variable name?\n<ol>\n<li class=\"QuizAnswer\">1stname<\/li>\n<li class=\"QuizAnswer\">_firstName<\/li>\n<li class=\"QuizAnswer\">FirstName<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">What is the correct JavaScript syntax to write \u201cHello World\u201d?\n<ol>\n<li class=\"QuizAnswer\">System.out.println(\u201cHello World\u201d)<\/li>\n<li class=\"QuizAnswer\">println (\u201cHello World\u201d)<\/li>\n<li class=\"QuizAnswer\">document.write(\u201cHello World\u201d)<\/li>\n<li class=\"QuizAnswer\">response.write(\u201cHello World\u201d)<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">jQuery uses CSS selectors to interact with page elements.\n<ol>\n<li class=\"QuizAnswer\">True<\/li>\n<li class=\"QuizAnswer\">False<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">In jQuery, $(\u2018div\u2019) would select\n<ol>\n<li class=\"QuizAnswer\">The first div element<\/li>\n<li class=\"QuizAnswer\">All div elements<\/li>\n<li class=\"QuizAnswer\">An element named div<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which jQuery function makes sure the contained code only runs when the page is done loading?\n<ol>\n<li class=\"QuizAnswer\">$(body).onload()<\/li>\n<li class=\"QuizAnswer\">$(document).loaded()<\/li>\n<li class=\"QuizAnswer\">$document.ready()<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">jQuery is an add-on library for JavaScript, not an independent language.\n<ol>\n<li class=\"QuizAnswer\">True<\/li>\n<li class=\"QuizAnswer\">False<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<div class=\"quiz\">\n<h1 class=\"red_h\"><a class=\"quizlink\" href=\"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/back-matter\/section-3-answer-key\/\">Check your answers<\/a><\/h1>\n<\/div>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-139\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>The Missing Link. <strong>Authored by<\/strong>: Michael Mendez. <strong>Provided by<\/strong>: Open SUNY Textbooks. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/textbooks.opensuny.org\/the-missing-link-an-introduction-to-web-development-and-programming\/\">https:\/\/textbooks.opensuny.org\/the-missing-link-an-introduction-to-web-development-and-programming\/<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">CC BY-NC-SA: Attribution-NonCommercial-ShareAlike<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":311,"menu_order":16,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"The Missing Link\",\"author\":\"Michael Mendez\",\"organization\":\"Open SUNY Textbooks\",\"url\":\"https:\/\/textbooks.opensuny.org\/the-missing-link-an-introduction-to-web-development-and-programming\/\",\"project\":\"\",\"license\":\"cc-by-nc-sa\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-139","chapter","type-chapter","status-publish","hentry"],"part":121,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/wp\/v2\/users\/311"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/139\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/139\/revisions\/292"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/parts\/121"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/139\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapter-type?post=139"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/wp\/v2\/contributor?post=139"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/wp\/v2\/license?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}