Homework 6: Due October 26st
- Read chapter 4, sections 4.1 - 4.6 and 4.9
- Answer the study questions.
Study Questions
- What does it mean to increment a value?
- What does it mean to decrement a value?
- Give examples of the increment operator used in prefix and postfix mode.
- Complete checkpoints 4.1, a-d, 4.2-4.6
- List the three looping control structures in Java.
- Know the meaning of the following terms: loop body, iteration,
pre-test loop, post-test loop, event-controlled loop, count-controlled
loop, sentinel, infinite loop
- What are the purposes of the first, second and third expressions in a for loop header?
- Is the for loop a pretest or posttest loop?
- Is the while loop a pretest or posttest loop?
- Is the dowhile loop a pretest or posttest loop?
- Complete checkpoints 4.7-4.15.
- Complete the following exercises at the end of chapter 4:
- Multiple Choice and True/False: questions 1-13, 19-22
- Find the Error: 1-4
- Algorithm Workbench: 2-12
Email Me |
Office Hours |
My Home Page |
Department Home |
MCC Home Page
© Copyright Emmi Schatz 2013