{"id":1635,"date":"2017-05-24T08:20:13","date_gmt":"2017-05-24T08:20:13","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?page_id=1635"},"modified":"2018-09-20T19:41:52","modified_gmt":"2018-09-20T18:41:52","slug":"database-design-and-development","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/national-5\/database-design-and-development\/","title":{"rendered":"Database Design and Development"},"content":{"rendered":"<table width=\"604\">\n<tbody>\n<tr>\n<td width=\"147\">\n<h2>Topic<\/h2>\n<\/td>\n<td width=\"458\">\n<h2>Database Design and Development (DDD) &#8211; National 5 (v2.1)<\/h2>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"147\">\n<h3>Analysis<\/h3>\n<\/td>\n<td width=\"458\">Identify the end-user and functional requirements of a database problem that relates to the implementation at this level.<\/td>\n<\/tr>\n<tr>\n<td width=\"147\">\n<h3>Design<\/h3>\n<\/td>\n<td width=\"458\">Describe and identify the implications for individuals and businesses of the <a href=\"https:\/\/ico.org.uk\/for-organisations\/guide-to-the-general-data-protection-regulation-gdpr\/\">General Data Protection Regulation (GDPR)<\/a> \u2014 <a href=\"https:\/\/publications.europa.eu\/en\/publication-detail\/-\/publication\/3e485e15-11bd-11e6-ba9a-01aa75ed71a1\/language-en\">Regulation (EU) 2016\/679<\/a> that data must be:<\/p>\n<ul>\n<li>processed lawfully, fairly and in a transparent manner in relation to individuals<\/li>\n<li>used for the declared purpose only<\/li>\n<li>limited to the data needed for the declared purpose<\/li>\n<li>accurate<\/li>\n<li>not kept for longer than necessary<\/li>\n<li>held securely<\/li>\n<\/ul>\n<p>Describe and exemplify entity relationship diagrams with two entities indicating:<\/p>\n<ul>\n<li>entity name<\/li>\n<li>attributes<\/li>\n<li>relationship (one to many)<\/li>\n<\/ul>\n<p>Describe and exemplify a data dictionary:<\/p>\n<ul>\n<li>entity name<\/li>\n<li>attribute name<\/li>\n<li>primary and foreign key<\/li>\n<li>attribute type:\n<ul>\n<li>text<\/li>\n<li>number<\/li>\n<li>date<\/li>\n<li>time<\/li>\n<li>Boolean<\/li>\n<\/ul>\n<\/li>\n<li>attribute size<\/li>\n<li>validation:\n<ul>\n<li>presence check<\/li>\n<li>restricted choice<\/li>\n<li>field length<\/li>\n<li>range<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Exemplify a design of a solution to the query:<\/p>\n<ul>\n<li>multiple tables<\/li>\n<li>fields<\/li>\n<li>search criteria<\/li>\n<li>sort order<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"147\">\n<h3>Implementation<\/h3>\n<\/td>\n<td width=\"458\">\n<ul>\n<li><span style=\"color: #008000\">database structure: field, record, file<\/span><\/li>\n<li><span style=\"color: #008000\">field types<\/span>\n<ul>\n<li><span style=\"color: #008000\">text<\/span><\/li>\n<li><span style=\"color: #008000\">number<\/span><\/li>\n<li><span style=\"color: #008000\">date\/time<\/span><\/li>\n<li><span style=\"color: #008000\">graphic<\/span><\/li>\n<li><span style=\"color: #008000\">calculated<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Implement relational databases with two linked tables, to match the design with referential integrity.<\/p>\n<p>Describe, exemplify and implement SQL operations for prepopulated relational databases, with a maximum of two linked tables:<\/p>\n<ul>\n<li>SELECT<\/li>\n<li>FROM<\/li>\n<li>WHERE<\/li>\n<li>AND, OR, &lt;, &gt;, =<\/li>\n<li>ORDER BY with a maximum of two fields<\/li>\n<li>INSERT<\/li>\n<li>UPDATE<\/li>\n<li>DELETE<\/li>\n<li>equi-join between tables<\/li>\n<\/ul>\n<p>Read and explain code that makes use of the above SQL.<\/td>\n<\/tr>\n<tr>\n<td width=\"147\">\n<h3>Testing<\/h3>\n<\/td>\n<td width=\"458\">&nbsp;<\/p>\n<p>Describe and exemplify testing:<\/p>\n<ul>\n<li>SQL operations work correctly at this level<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"147\">\n<h3>Evaluation<\/h3>\n<\/td>\n<td width=\"458\">&nbsp;<\/p>\n<p>Evaluate solution in terms of:<\/p>\n<ul>\n<li>fitness for purpose<\/li>\n<li>accuracy of output<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #008000\">* Taken from National 4 Specifications<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Topic Database Design and Development (DDD) &#8211; National 5 (v2.1) Analysis Identify the end-user and functional requirements of a database problem that relates to the implementation at this level. Design Describe and identify the implications for individuals and businesses of the General Data Protection Regulation (GDPR) \u2014 Regulation (EU) 2016\/679 that data must be: processed &hellip;<\/p>\n","protected":false},"author":32,"featured_media":0,"parent":181,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1635","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/pages\/1635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/comments?post=1635"}],"version-history":[{"count":10,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/pages\/1635\/revisions"}],"predecessor-version":[{"id":2113,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/pages\/1635\/revisions\/2113"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/pages\/181"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=1635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}