Chapter 6. Control Structures


[Page 249]

OBJECTIVES

After studying this chapter, you will

  • Be able to solve problems involving repetition.

  • Understand the differences between various loop structures.

  • Know the principles used to design effective loops.

  • Improve your algorithm design skills.

  • Understand the goals and principles of structured programming.

OUTLINE

6.1

Introduction

6.2

Flow of Control: Repetition Structures

6.3

Counting Loops

6.4

Example: Car Loan

6.5

Graphics Example: Drawing a Checkerboard

6.6

Conditional Loops

6.7

Example: Computing Averages

6.8

Example: Data Validation

6.9

Principles of Loop Design

6.10

The switch Multiway Selection Structure

6.11

Object-Oriented Design: Structured Programming

 

What Can Be Computed?

 

Chapter Summary

 

Solutions to Self-Study Exercises

 

Exercises





Java, Java, Java(c) Object-Orienting Problem Solving
Java, Java, Java, Object-Oriented Problem Solving (3rd Edition)
ISBN: 0131474340
EAN: 2147483647
Year: 2005
Pages: 275

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net