{"id":208864,"date":"2018-09-14T09:26:12","date_gmt":"2018-09-14T09:26:12","guid":{"rendered":"http:\/\/localhost\/wordpress\/index.php\/2018\/09\/14\/cmis-102-week-2-hands-on-lab\/"},"modified":"2018-10-24T08:59:42","modified_gmt":"2018-10-24T08:59:42","slug":"cmis-102-week-2-hands-on-lab","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/cmis-102-week-2-hands-on-lab\/","title":{"rendered":"CMIS 102 Week 2 Hands-On Lab"},"content":{"rendered":"<p>CMIS 102 Week 2 Hands-On Lab\tOverview\tThis hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, analysis, test plan, design, and implementation with C code.\tProgram Description\tThis program will sum two integer numbers to yield a third integer number. Once the calculations are made the results of all the numbers will be printed to the output screen.\tAnalysis\tWe will use sequential programming statements.\tWe will define 3 integer numbers: a, b, c.\tc will store the sum of a and b.\tTest Plan\tTo understand this program the following input numbers could be used for testing:\ta = 10\tb = 20\tc = a + b = 10 + 20 = 30\tIn table format the following results are expected:\tLearning Exercises for you to complete\t1. Change the C code to calculate the product of two integers as opposed to the sum of two integers. Support your experimentation with a screen capture of executing the new code.\t2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the product of two integers.\t3. Change the C code to calculate the quotient (e.g. a\/b) of two floats (e.g. 2.3\/1.5).Hint: Use float variable types as opposed to integers. What happens if the denominator is 0.0? Support your experimentation with screen captures of executing the new code\t4. Prepare a new test table with at least 3 distinct test cases listing input and expected output for\tthe quotient of two floats.\tSubmission\t&#8220;\ufffd Submit a neatly organized word (or PDF) document that demonstrates you successfully executed this lab on your machine using an online compiler. You should provide a screen capture of the resulting output.\t&#8220;\ufffd Also, provide the answers, associated screen captures, C Code and descriptions of your successful completion of learning exercises 1, 2, 3 and 4.\t&#8220;\ufffd The answers to the learning exercises, screen captures, C code and descriptions can be included in the\tsame neatly organized document you prepared as you ran this lab. Note the code can be embedded in the word document. However; be sure all code compiles and runs perfectly before submitting the document.\t&#8220;\ufffd Submit your document no later than the due date listed in the syllabus or calendar.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CMIS 102 Week 2 Hands-On Lab Overview This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, analysis, test plan, design, and implementation with C code. Program Description This <a href=\"https:\/\/www.benedictsol.com\/blogs\/cmis-102-week-2-hands-on-lab\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-208864","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/208864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=208864"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/208864\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=208864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=208864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=208864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}