Programming and Problem Solving with Java

(やまだぃちぅ) #1

Knowledge Goals



  • To understand the role of a two-dimensional array in representing a table
    with rows and columns

  • To know how floating-point numbers are represented in the computer

  • To know how the limited numeric precision of the computer can affect
    calculations

  • To understand the relationship between an array and a matrix

  • To understand how a two-dimensional array is constructed as an array of arrays


Skill Goals


To be able to:


  • Declare a two-dimensional array

  • Perform fundamental operations on a two-dimensional array:

    • Access a component of the array

    • Initialize the array

    • Print the values in the array

    • Process the array by rows

    • Process the array by columns



  • Declare a two-dimensional array as a parameter

  • Declare and process a multidimensional array

  • Use the class DecimalFormatto format output


Multidimensional


Arrays and Numeric


Computation


1983
Bjarne Stroustrup
works on the
development of the
programming
language C++ at
AT&T Bell Labs


1984
Apple introduces its
32-bit Macintosh
computer through a
famous Orwellian-
themed advertising
campaign that
premiers during the
Super Bowl

1984
Sony and Philips
introduce the CD-
ROM, a new means
of storing digital
data that far
exceeds the floppy
disk’s potential

1984
The Last Starfighter
revolutionizes the
use of
supercomputer-
generated graphics
in movies, and the
term “cyberspace” is
coined by William
Gibson

1984
Intel’s 16-bit 80286
chip, created in
1982, will be
installed in 15
million PCs within
6 years

1985
The Cray 2 and
Thinking Machines’
parallel processor
Connection Machine
take speed to a new
level: 1 billion
operations per
second

T


E


A


M


F


L


Y


Team-Fly®

Free download pdf