CMIS 102 Week 1 Hands On Lab
Just Click on Below Link To Download This Course:
http://bit.ly/3rNaOTr
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
the end of this lab.
Instructions
- Open up any online C compiler (e.g ideone.com).
- Be sure the C Language is selected.
- Enter the code below into the editor. (Note: LEO doesn’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.)
- Click the submit, or run button.
- Try the additional learning exercises on the next
page. Here is what Hello, World! Looks like using ideone.com after it has
successfully runHello, World C code
|
1 2 3 4 5 6 |
|
Learning
Exercises for you to complete
- Remove the semi-colon (;) at the end of this statement:
|
1 |
|
2.
Describe what happens. Why is the semi-colon
needed?
- What happens if you add another printf statement such as:
|
1 |
|
4.
Describe the new output. Be sure to support
your description with screen captures of executing the new code.
- Experiment by adding additional printf statements to
your code such as:
|
1 2 |
|
6.
What does the “\n” do to the output?
Be sure to experiment by adding several printf statements
and describe the resulting output. Be sure to support your description and
experimentation with screen captures of executing the new code.
Submission Submit a neatly organized word (or PDF)
document that demonstrates you successfully executed the Hello,World on your
machine using an online compiler. You should provide a screen capture of the
resulting output
Also, provide the answers, associated screen captures, C
Code and descriptions of your successful completion of learning exercises 1, 2
and 3.
The answers
to the learning exercises, screen captures, C code and descriptions can be
included in the same neatly organized document you prepared as you ran the
Hello, World application. Note the code can be embedded in the word document.
However; be sure all code compiles and runs perfectly before submitting the
document.


Comments
Post a Comment