{"id":5572,"date":"2020-11-13T15:48:39","date_gmt":"2020-11-13T15:48:39","guid":{"rendered":"http:\/\/onlineclassesguru.com\/?p=5572"},"modified":"2020-11-13T15:48:39","modified_gmt":"2020-11-13T15:48:39","slug":"intro-to-c-class-labs","status":"publish","type":"post","link":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/","title":{"rendered":"Intro to C++ class Labs"},"content":{"rendered":"<style type=\"text\/css\"><\/style><p>Lab 1.2<\/p>\n<p>Compiling a Program<\/p>\n<p>Familiarity with<\/p>\n<p>15 min.<\/p>\n<p>7<\/p>\n<p>with a Syntax Error the environment<\/p>\n<p>Finished Lab 1.1<\/p>\n<p>continues<\/p>\n<p>L E S S O N S E T<\/p>\n<p>1<\/p>\n<p>Introduction to Programming and the Translation Process<\/p>\n<p>PURPOSE 1. To become familiar with the login process and the C++ environment used in the lab<\/p>\n<p>2. To understand the basics of program design and algorithm development<\/p>\n<p>3. To learn, recognize and correct the three types of computer errors:<\/p>\n<p>syntax errors run time errors<\/p>\n<p>logic errors<\/p>\n<p>4. To learn the basics of an editor and compiler and be able to compile and run existing programs<\/p>\n<p>5. To enter code and run a simple program from scratch<\/p>\n<p>PROCEDURE 1. Students should read the Pre-lab Reading Assignment before coming to lab.<\/p>\n<p>2. Students should complete the Pre-lab Writing Assignment before coming to lab.<\/p>\n<p>3. In the lab, students should complete Labs 1.1 through 1.4 in sequence. Your instructor will give further instructions as to grading and completion of the lab.<\/p>\n<p>1<\/p>\n<p>2 LESSON SET 1 Introduction to Programming and the Translation Process<\/p>\n<p>Lab 1.3<\/p>\n<p>Running a Program with a Understanding of 15 min. 8<\/p>\n<p>Run Time Error the three types<\/p>\n<p>of errors<\/p>\n<p>Lesson 1B<\/p>\n<p>Lab 1.4<\/p>\n<p>Working with Logic Errors Understanding of 15 min. 9<\/p>\n<p>logic errors<\/p>\n<p>Lab 1.5<\/p>\n<p>Writing Your First Program Finished Labs 30 min. 11<\/p>\n<p>1.1 through 1.4<\/p>\n<p>P R E \u2013 L A B R E A D I N G A S S I G N M E N T<\/p>\n<p>Computer Systems<\/p>\n<p>A computer system consists of all the components (hardware and software)<\/p>\n<p>used to execute the desires of the computer user. Hardware is the electronic phys-<\/p>\n<p>ical components that can retrieve, process and store data. It is generally broken<\/p>\n<p>down into five basic components:<\/p>\n<p>Central Processing This is the unit where programs are executed. It<\/p>\n<p>Unit (C.P.U.) consists of the control unit, which oversees the<\/p>\n<p>overall operation of program execution and the<\/p>\n<p>A.L.U. (Arithmetic\/Logic Unit), which performs the<\/p>\n<p>mathematical and comparison operations.<\/p>\n<p>Main Memory The area where programs and data are stored for<\/p>\n<p>use by the CPU<\/p>\n<p>Secondary Storage The area where programs and data are filed (stored)<\/p>\n<p>for use at a later time<\/p>\n<p>Input Devices The devices used to get programs and data into the<\/p>\n<p>computer (e.g., a keyboard)<\/p>\n<p>Output Devices The devices used to get programs and data from the<\/p>\n<p>computer (e.g., a printer)<\/p>\n<p>Software consists of a sequence of instructions given to perform some pre-defined<\/p>\n<p>task. These labs concentrate on the software portion of a computer system.<\/p>\n<p>Introduction to Programming<\/p>\n<p>A computer program is a series of instructions written in some computer lan-<\/p>\n<p>guage that performs a particular task. Many times beginning students concentrate<\/p>\n<p>solely on the language code; however, quality software is accomplished only<\/p>\n<p>after careful design that identifies the needs, data, process and anticipated out-<\/p>\n<p>comes. For this reason it is critical that students learn good design techniques<\/p>\n<p>before attempting to produce a quality program. Design is guided by an algo-<\/p>\n<p>rithm, which is a plan of attacking some problem. An algorithm is used for<\/p>\n<p>many aspects of tasks, whether a recipe for a cake, a guide to study for an exam<\/p>\n<p>or the specifications of a rocket engine.<\/p>\n<p>Problem example: Develop an algorithm to find the average of five test grades.<\/p>\n<p>Pre-lab Reading Assignment 3<\/p>\n<p>An algorithm usually begins with a general broad statement of the problem.<\/p>\n<p>Find the average of Five Test Grades<\/p>\n<p>From here we can further refine the statement by listing commands that will<\/p>\n<p>accomplish our goal.<\/p>\n<p>Read in the Grades Find the Average Write out the Average<\/p>\n<p>Each box (called a node) may or may not be refined further depending on its<\/p>\n<p>clarity to the user. For example: Find the Average may be as refined as an<\/p>\n<p>experienced programmer needs to accomplish the task of finding an average;<\/p>\n<p>however, students learning how to compute averages for the first time may<\/p>\n<p>need more refinement about how to accomplish the goal. This refinement<\/p>\n<p>process continues until we have a listing of steps understandable to the user to<\/p>\n<p>accomplish the task. For example, Find the Average may be refined into the fol-<\/p>\n<p>lowing two nodes.<\/p>\n<p><center><a href=\"http:\/\/onlineclassesguru.com\/orders\/ordernow\"><img decoding=\"async\" src=\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcTyj99p60XCLyLk1htB7-1neRt8-2QdnenNlQ&usqp=CAU\"target=\"_http:\/\/onlineclassesguru.com\/orders\/ordernow\"\/><\/center><p>","protected":false},"excerpt":{"rendered":"<p>Lab 1.2 Compiling a Program Familiarity with 15 min. 7 with a Syntax Error the environment Finished Lab 1.1 continues L E S S O N S E T 1 Introduction to Programming and the Translation Process PURPOSE 1. To become familiar with the login process and the C++ environment used in the lab 2&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5572","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Intro to C++ class Labs - onlineclassesguru<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Intro to C++ class Labs - onlineclassesguru\" \/>\n<meta property=\"og:description\" content=\"Lab 1.2 Compiling a Program Familiarity with 15 min. 7 with a Syntax Error the environment Finished Lab 1.1 continues L E S S O N S E T 1 Introduction to Programming and the Translation Process PURPOSE 1. To become familiar with the login process and the C++ environment used in the lab 2....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/\" \/>\n<meta property=\"og:site_name\" content=\"onlineclassesguru\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-13T15:48:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineclassesguru.com\/#website\",\"url\":\"https:\/\/onlineclassesguru.com\/\",\"name\":\"onlineclassesguru\",\"description\":\"Cheap Professional coursework and reaction papers help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineclassesguru.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/#webpage\",\"url\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/\",\"name\":\"Intro to C++ class Labs - onlineclassesguru\",\"isPartOf\":{\"@id\":\"https:\/\/onlineclassesguru.com\/#website\"},\"datePublished\":\"2020-11-13T15:48:39+00:00\",\"dateModified\":\"2020-11-13T15:48:39+00:00\",\"author\":{\"@id\":\"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineclassesguru.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Intro to C++ class Labs\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742\",\"name\":\"admin_admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/onlineclassesguru.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g\",\"caption\":\"admin_admin\"},\"url\":\"https:\/\/onlineclassesguru.com\/index.php\/author\/admin_admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Intro to C++ class Labs - onlineclassesguru","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/","og_locale":"en_US","og_type":"article","og_title":"Intro to C++ class Labs - onlineclassesguru","og_description":"Lab 1.2 Compiling a Program Familiarity with 15 min. 7 with a Syntax Error the environment Finished Lab 1.1 continues L E S S O N S E T 1 Introduction to Programming and the Translation Process PURPOSE 1. To become familiar with the login process and the C++ environment used in the lab 2....","og_url":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/","og_site_name":"onlineclassesguru","article_published_time":"2020-11-13T15:48:39+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin_admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/onlineclassesguru.com\/#website","url":"https:\/\/onlineclassesguru.com\/","name":"onlineclassesguru","description":"Cheap Professional coursework and reaction papers help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineclassesguru.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/#webpage","url":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/","name":"Intro to C++ class Labs - onlineclassesguru","isPartOf":{"@id":"https:\/\/onlineclassesguru.com\/#website"},"datePublished":"2020-11-13T15:48:39+00:00","dateModified":"2020-11-13T15:48:39+00:00","author":{"@id":"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742"},"breadcrumb":{"@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/13\/intro-to-c-class-labs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineclassesguru.com\/"},{"@type":"ListItem","position":2,"name":"Intro to C++ class Labs"}]},{"@type":"Person","@id":"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742","name":"admin_admin","image":{"@type":"ImageObject","@id":"https:\/\/onlineclassesguru.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g","caption":"admin_admin"},"url":"https:\/\/onlineclassesguru.com\/index.php\/author\/admin_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/5572"}],"collection":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/comments?post=5572"}],"version-history":[{"count":1,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/5572\/revisions"}],"predecessor-version":[{"id":5573,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/5572\/revisions\/5573"}],"wp:attachment":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=5572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/categories?post=5572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/tags?post=5572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}