{"id":163,"date":"2017-04-21T19:15:08","date_gmt":"2017-04-21T19:15:08","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/chapter\/section-4-assessments\/"},"modified":"2017-04-27T18:52:43","modified_gmt":"2017-04-27T18:52:43","slug":"section-4-assessments","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/chapter\/section-4-assessments\/","title":{"raw":"Section 4 Assessments","rendered":"Section 4 Assessments"},"content":{"raw":"For these assignments, use mysqldump() to submit a database export file or submit written work as a single document file.\r\n<h1>Database Design<\/h1>\r\nCome up with a small database you would like to develop. Compile a list of fields and follow the process of normalization to create a data model with at least 5 tables that includes primary and foreign keys, and at least one table that is a many-to-many relationship.\r\n\r\nCreate a document that depicts your table structure and fields, identifies primary and foreign keys, and the connections between your tables.\r\n<h1>Database Development<\/h1>\r\nUsing your database design from above, create the database using your system\u2019s command prompt. Create a text file that includes all of the commands you used to create your database as well as inserts for 3 full records in each table. Submit this file and a mysqldump of your actual completed database.\r\n<h1>Database Interaction<\/h1>\r\nCreate queries that will interact with your database to complete the following:\r\n<ol>\r\n \t<li class=\"Number1\">Display one of your tables without including foreign keys<\/li>\r\n \t<li class=\"Number1\">Joins two (or more) of your tables to show a complete record<\/li>\r\n \t<li class=\"Number1\">Generates information about your records that is not stored in your database<\/li>\r\n \t<li class=\"Number1\">Updates record(s) in a table to a new value<\/li>\r\n<\/ol>\r\nSubmit your queries and the mysqldump file for your database.\r\n<h1>Discussion \/ Written Response<\/h1>\r\n<ol>\r\n \t<li class=\"Number1\">Describe the three types of relationships between data and how to satisfy them in relational databases.<\/li>\r\n \t<li class=\"Number1\">Describe the first three forms of normalization.<\/li>\r\n \t<li class=\"Number1\">Describe the differences between flat file and structured query databases.<\/li>\r\n \t<li class=\"Number1\">Describe the differences between SQL and NoSQL databases.<\/li>\r\n \t<li class=\"Number1\">Describe when the different database types we examined are most useful.<\/li>\r\n<\/ol>\r\n<h1>Questions<\/h1>\r\n<div class=\"quiz\">\r\n<h1 class=\"red_h\"><a class=\"quizlink\" href=\"http:\/\/opensuny.org\/Mendez_media\/interactive\/Quiz_Section4.html\" target=\"_blank\">Take this quiz online!<\/a><\/h1>\r\n<\/div>\r\n<ol>\r\n \t<li class=\"QuizQuestion\">What does SQL stand for?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Standard Query Linguistics<\/li>\r\n \t<li class=\"QuizAnswer\">Structured Query Language<\/li>\r\n \t<li class=\"QuizAnswer\">Strict Query Language<\/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 these is used to retrieve information from a database?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Get<\/li>\r\n \t<li class=\"QuizAnswer\">Fetch<\/li>\r\n \t<li class=\"QuizAnswer\">Select<\/li>\r\n \t<li class=\"QuizAnswer\">Find<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of these commands would get the name column from a Persons table?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Select name from Persons;<\/li>\r\n \t<li class=\"QuizAnswer\">Get persons.name<\/li>\r\n \t<li class=\"QuizAnswer\">Select persons.name<\/li>\r\n \t<li class=\"QuizAnswer\">Get name from Persons<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following select records where the name fields starts with an A?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Select * from Persons where name=\u2018a\u2019<\/li>\r\n \t<li class=\"QuizAnswer\">Select * from Persons where name like \u201ca%\u201d<\/li>\r\n \t<li class=\"QuizAnswer\">Select * from Persons where name like \u201c%a\u201d<\/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 the keyword used to sort results?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Order By<\/li>\r\n \t<li class=\"QuizAnswer\">Sort By<\/li>\r\n \t<li class=\"QuizAnswer\">Filter By<\/li>\r\n \t<li class=\"QuizAnswer\">Ascending<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Which of the following is used to find the number of records?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Total()<\/li>\r\n \t<li class=\"QuizAnswer\">Count()<\/li>\r\n \t<li class=\"QuizAnswer\">Sum()<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Eliminating multiple identical columns from a table is which normalization?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">First<\/li>\r\n \t<li class=\"QuizAnswer\">Second<\/li>\r\n \t<li class=\"QuizAnswer\">Third<\/li>\r\n \t<li class=\"QuizAnswer\">Fourth<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Eliminating repeated values from a table is which normalization?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">First<\/li>\r\n \t<li class=\"QuizAnswer\">Second<\/li>\r\n \t<li class=\"QuizAnswer\">Third<\/li>\r\n \t<li class=\"QuizAnswer\">Fourth<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Ensuring no values are repeated in a database is which of the following?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">First<\/li>\r\n \t<li class=\"QuizAnswer\">Second<\/li>\r\n \t<li class=\"QuizAnswer\">Third<\/li>\r\n \t<li class=\"QuizAnswer\">Fourth<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Ensuring all fields relate directly to the table they are in is which normalization?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">First<\/li>\r\n \t<li class=\"QuizAnswer\">Second<\/li>\r\n \t<li class=\"QuizAnswer\">Third<\/li>\r\n \t<li class=\"QuizAnswer\">Fourth<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">The CRUD actions are:\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Compose, Read, Update, Delete<\/li>\r\n \t<li class=\"QuizAnswer\">Create, Read, Update, Destroy<\/li>\r\n \t<li class=\"QuizAnswer\">Create, Read, Update, Delete<\/li>\r\n \t<li class=\"QuizAnswer\">Copy, Read, Update, Drop<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Including all of the records in the first table of a join is done using:\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Join all<\/li>\r\n \t<li class=\"QuizAnswer\">Left join<\/li>\r\n \t<li class=\"QuizAnswer\">Right join<\/li>\r\n \t<li class=\"QuizAnswer\">None of these<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">Queries can be placed inside of other queries.\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 of the following is used to remove a record from a table?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Delete from<\/li>\r\n \t<li class=\"QuizAnswer\">Drop from<\/li>\r\n \t<li class=\"QuizAnswer\">Destroy<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li class=\"QuizQuestion\">MySQL requires which of the following to run?\r\n<ol>\r\n \t<li class=\"QuizAnswer\">Windows<\/li>\r\n \t<li class=\"QuizAnswer\">Linux<\/li>\r\n \t<li class=\"QuizAnswer\">Apple<\/li>\r\n \t<li class=\"QuizAnswer\">Any of these<\/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-4-answer-key\/\">Check your answers<\/a><\/h1>\r\n<\/div>","rendered":"<p>For these assignments, use mysqldump() to submit a database export file or submit written work as a single document file.<\/p>\n<h1>Database Design<\/h1>\n<p>Come up with a small database you would like to develop. Compile a list of fields and follow the process of normalization to create a data model with at least 5 tables that includes primary and foreign keys, and at least one table that is a many-to-many relationship.<\/p>\n<p>Create a document that depicts your table structure and fields, identifies primary and foreign keys, and the connections between your tables.<\/p>\n<h1>Database Development<\/h1>\n<p>Using your database design from above, create the database using your system\u2019s command prompt. Create a text file that includes all of the commands you used to create your database as well as inserts for 3 full records in each table. Submit this file and a mysqldump of your actual completed database.<\/p>\n<h1>Database Interaction<\/h1>\n<p>Create queries that will interact with your database to complete the following:<\/p>\n<ol>\n<li class=\"Number1\">Display one of your tables without including foreign keys<\/li>\n<li class=\"Number1\">Joins two (or more) of your tables to show a complete record<\/li>\n<li class=\"Number1\">Generates information about your records that is not stored in your database<\/li>\n<li class=\"Number1\">Updates record(s) in a table to a new value<\/li>\n<\/ol>\n<p>Submit your queries and the mysqldump file for your database.<\/p>\n<h1>Discussion \/ Written Response<\/h1>\n<ol>\n<li class=\"Number1\">Describe the three types of relationships between data and how to satisfy them in relational databases.<\/li>\n<li class=\"Number1\">Describe the first three forms of normalization.<\/li>\n<li class=\"Number1\">Describe the differences between flat file and structured query databases.<\/li>\n<li class=\"Number1\">Describe the differences between SQL and NoSQL databases.<\/li>\n<li class=\"Number1\">Describe when the different database types we examined are most useful.<\/li>\n<\/ol>\n<h1>Questions<\/h1>\n<div class=\"quiz\">\n<h1 class=\"red_h\"><a class=\"quizlink\" href=\"http:\/\/opensuny.org\/Mendez_media\/interactive\/Quiz_Section4.html\" target=\"_blank\">Take this quiz online!<\/a><\/h1>\n<\/div>\n<ol>\n<li class=\"QuizQuestion\">What does SQL stand for?\n<ol>\n<li class=\"QuizAnswer\">Standard Query Linguistics<\/li>\n<li class=\"QuizAnswer\">Structured Query Language<\/li>\n<li class=\"QuizAnswer\">Strict Query Language<\/li>\n<li class=\"QuizAnswer\">None of the above<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of these is used to retrieve information from a database?\n<ol>\n<li class=\"QuizAnswer\">Get<\/li>\n<li class=\"QuizAnswer\">Fetch<\/li>\n<li class=\"QuizAnswer\">Select<\/li>\n<li class=\"QuizAnswer\">Find<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of these commands would get the name column from a Persons table?\n<ol>\n<li class=\"QuizAnswer\">Select name from Persons;<\/li>\n<li class=\"QuizAnswer\">Get persons.name<\/li>\n<li class=\"QuizAnswer\">Select persons.name<\/li>\n<li class=\"QuizAnswer\">Get name from Persons<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following select records where the name fields starts with an A?\n<ol>\n<li class=\"QuizAnswer\">Select * from Persons where name=\u2018a\u2019<\/li>\n<li class=\"QuizAnswer\">Select * from Persons where name like \u201ca%\u201d<\/li>\n<li class=\"QuizAnswer\">Select * from Persons where name like \u201c%a\u201d<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following is the keyword used to sort results?\n<ol>\n<li class=\"QuizAnswer\">Order By<\/li>\n<li class=\"QuizAnswer\">Sort By<\/li>\n<li class=\"QuizAnswer\">Filter By<\/li>\n<li class=\"QuizAnswer\">Ascending<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following is used to find the number of records?\n<ol>\n<li class=\"QuizAnswer\">Total()<\/li>\n<li class=\"QuizAnswer\">Count()<\/li>\n<li class=\"QuizAnswer\">Sum()<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Eliminating multiple identical columns from a table is which normalization?\n<ol>\n<li class=\"QuizAnswer\">First<\/li>\n<li class=\"QuizAnswer\">Second<\/li>\n<li class=\"QuizAnswer\">Third<\/li>\n<li class=\"QuizAnswer\">Fourth<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Eliminating repeated values from a table is which normalization?\n<ol>\n<li class=\"QuizAnswer\">First<\/li>\n<li class=\"QuizAnswer\">Second<\/li>\n<li class=\"QuizAnswer\">Third<\/li>\n<li class=\"QuizAnswer\">Fourth<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Ensuring no values are repeated in a database is which of the following?\n<ol>\n<li class=\"QuizAnswer\">First<\/li>\n<li class=\"QuizAnswer\">Second<\/li>\n<li class=\"QuizAnswer\">Third<\/li>\n<li class=\"QuizAnswer\">Fourth<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Ensuring all fields relate directly to the table they are in is which normalization?\n<ol>\n<li class=\"QuizAnswer\">First<\/li>\n<li class=\"QuizAnswer\">Second<\/li>\n<li class=\"QuizAnswer\">Third<\/li>\n<li class=\"QuizAnswer\">Fourth<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">The CRUD actions are:\n<ol>\n<li class=\"QuizAnswer\">Compose, Read, Update, Delete<\/li>\n<li class=\"QuizAnswer\">Create, Read, Update, Destroy<\/li>\n<li class=\"QuizAnswer\">Create, Read, Update, Delete<\/li>\n<li class=\"QuizAnswer\">Copy, Read, Update, Drop<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Including all of the records in the first table of a join is done using:\n<ol>\n<li class=\"QuizAnswer\">Join all<\/li>\n<li class=\"QuizAnswer\">Left join<\/li>\n<li class=\"QuizAnswer\">Right join<\/li>\n<li class=\"QuizAnswer\">None of these<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Queries can be placed inside of other queries.\n<ol>\n<li class=\"QuizAnswer\">True<\/li>\n<li class=\"QuizAnswer\">False<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">Which of the following is used to remove a record from a table?\n<ol>\n<li class=\"QuizAnswer\">Delete from<\/li>\n<li class=\"QuizAnswer\">Drop from<\/li>\n<li class=\"QuizAnswer\">Destroy<\/li>\n<\/ol>\n<\/li>\n<li class=\"QuizQuestion\">MySQL requires which of the following to run?\n<ol>\n<li class=\"QuizAnswer\">Windows<\/li>\n<li class=\"QuizAnswer\">Linux<\/li>\n<li class=\"QuizAnswer\">Apple<\/li>\n<li class=\"QuizAnswer\">Any of these<\/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-4-answer-key\/\">Check your answers<\/a><\/h1>\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-163\">\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":8,"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-163","chapter","type-chapter","status-publish","hentry"],"part":140,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/163","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\/163\/revisions"}],"predecessor-version":[{"id":291,"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/163\/revisions\/291"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/parts\/140"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-the-missing-link-an-introduction-to-web-development-and-programming\/wp-json\/pressbooks\/v2\/chapters\/163\/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=163"}],"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=163"},{"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=163"},{"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=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}