Java Reference
In-Depth Information
Exercises
Visit www.myprogramminglab.com to complete many of these Exercises
online and get instant feedback.
EX 1.1
Describe the hardware components of your personal computer or
of a computer in a lab to which you have access. Include the pro-
cessor type and speed, storage capacities of main and secondary
memory, and types of I/O devices. Explain how you determined
your answers.
EX 1.2
Why do we use the binary number system to store information
on a computer?
EX 1.3
How many unique items can be represented with each of the fol-
lowing?
a. 1 bit
b. 3 bits
c. 6 bits
d. 8 bits
e. 10 bits
f. 16 bits
EX 1.4
If a picture is made up of 128 possible colors, how many bits
would be needed to store each pixel of the picture? Why?
EX 1.5
If a language uses 240 unique letters and symbols, how many bits
would be needed to store each character of a document? Why?
EX 1.6
How many bits are there in each of the following? How many
bytes are there in each?
a. 12 KB
b. 5 MB
c. 3 GB
d. 2 TB
EX 1.7
Explain the difference between random access memory (RAM)
and read-only memory (ROM).
EX 1.8
A disk is a random-access device but it is not RAM (random
access memory). Explain.
EX 1.9
Determine how your computer, or a computer in a lab to which
you have access, is connected to others across a network. Is it
linked to the Internet? Draw a diagram to show the basic
connections in your environment.
Search WWH ::




Custom Search