{"id":208870,"date":"2018-09-14T09:26:22","date_gmt":"2018-09-14T09:26:22","guid":{"rendered":"http:\/\/localhost\/wordpress\/index.php\/2018\/09\/14\/cmis-102-week-1-hands-on-lab\/"},"modified":"2018-10-24T08:59:39","modified_gmt":"2018-10-24T08:59:39","slug":"cmis-102-week-1-hands-on-lab","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/cmis-102-week-1-hands-on-lab\/","title":{"rendered":"CMIS 102 Week 1 Hands-On Lab"},"content":{"rendered":"<p>CMIS 102 Week 1 Hands-On Lab\tThis hands-on lab demonstrate a simple sequential print statements using an online C compiler such as ideone.com. You should follow the instructions to complete the lab as well as perform the learning exercises at the end of this lab.\tInstructions\t1. Open up any online C compiler (e.g ideone.com).\t2. Be sure the C Language is selected.\t3. Enter the code below into the editor. (Note: LEO doesn&#8217;t let you just copy and paste from this document so you can either download the document and then copy and paste or just go to the Code for HelloWorld link for this week and copy and paste from there.)\t4. Click the submit, or run button.\t5. Try the additional learning exercises on the next page. Here is what Hello, World! Looks like using ideone.com after it has successfully run\tHello, World C code\t1\t2\t3\t4\t5\t6 #include <stdio.h>\t\u00a0\tint main(void) {\t\u00a0 \u00a0printf(&#8220;Hello, World!&#8221;);\t\u00a0 \u00a0return 0;\t}\tLearning Exercises for you to complete\t1. Remove the semi-colon (;) at the end of this statement:\t1 printf(&#8220;Hello, World!&#8221;);\t2. Describe what happens. Why is the semi-colon needed?\t3. What happens if you add another printf statement such as:\t1 printf(&#8220;Goodbye&#8221;); after the printf(&#8220;Hello, World!&#8221;); line?\t4. Describe the new output. Be sure to support your description with screen captures of executing the new code.\t5. Experiment by adding additional printf statements to your code such as:\t1\t2 printf(&#8220;Goodbye n&#8221;);\tprintf(&#8220;Hello, again! n&#8221;);\t6. What does the &#8220;n&#8221;\ufffd do to the output?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CMIS 102 Week 1 Hands-On Lab This hands-on lab demonstrate a simple sequential print statements using an online C compiler such as ideone.com. You should follow the instructions to complete the lab as well as perform the learning exercises at <a href=\"https:\/\/www.benedictsol.com\/blogs\/cmis-102-week-1-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-208870","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/208870","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=208870"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/208870\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=208870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=208870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=208870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}