Knowledge Goals
- To recognize when noninteractive input/output is appropriate and how it
differs from interactive input/output - To know how to read from a text file
- To know how to write to a text file
- To know how to read a numeric value from a file
- To understand the semantics of a whileloop
- To understand when a count-controlled loop is appropriate
- To understand when an event-controlled loop is appropriate
- To recognize how mutable and immutable objects differ
Skill Goals
To be able to:
- Write applications that use data files for input and output
- Construct syntactically correct whileloops
- Construct count-controlled loops with a whilestatement
- Construct event-controlled loops with a whilestatement
- Use the end-of-file condition to control the input of data
- Use flags to control the execution of a whilestatement
- Construct counting loops with a whilestatement
- Construct summing loops with a whilestatement
- Choose the correct type of loop for a given problem
- Construct nested whileloops
- Choose data sets that test a looping application comprehensively
File Objects and
Looping Statements
1951
Admiral Grace
Murray Hopper
invents the first
compiler
1952
The EDVAC, the
first stored-program
computer, is
operational
1952
IBM introduces the
IBM 701
1953
The IBM 650
Magnetic Drum
Calculator is
introduced, mass
produced, and
becomes the best
selling computer of
the 1950s
1954
Earl Masterson at
Univac introduces
his Uniprinter, a line
printer that prints
600 lines per
minute
1954
Texas Instruments
develops the world’s
first silicon transistor
T
E
A
M
F
L
Y
Team-Fly®