CHAPTER 1 - Java Software Solutions Lewis and Loftus...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Java Software Solutions Lewis and Loftus Chapter 1 Exercise Solutions 1.1. Describe the hardware components of your personal computer or of a computer in a lab to which you have access. Include the processor type and speed, storage capacities of main and secondary memory, and types of I/O devices. Explain how you determined your answers. Processor: AMD Athlon 800 MHz Primary Memory: 256 MB of RAM Secondary Memory 40 GB hard drive CD-R drive CompactFlash card reader/writer Floppy drive I/O Devices: Keyboard Mouse Monitor Speakers Modem HP PhotoSmart 1115 printer HP LaserJet 1200 printer HP ScanJet 4400c scanner To find the processor and memory information, I accessed the System Information from the control panel. To find the I/O devices, I looked in the device manager.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Java Software Solutions Lewis and Loftus 1.2. Why do we use the binary number system to store information on a computer? Devices that store and move information are less expensive and more reliable if they have to represent only one of two possible values. 1.3. How many unique items can be represented with each of the following? 1 bit 2 items 3 bits 8 items 6 bits 64 items 8 bits 256 items 10 bits 1024 items 16 bits 16,348 items 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? Seven bits are needed to represent each pixel if each pixel can have up to 128 possible colors. This is because there are 128 distinct permutations of 7 bits. 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? 8 bits are needed to store each character of a document written in a language of 240 unique characters and symbols. 7 bits would be sufficient for only 128 different characters. 8 bits is sufficient for 256 different characters. Because 240 is greater than 128, but not greater than 256, at least 8 bits are needed if all characters are represented by the same number of bits.
Background image of page 2
Java Software Solutions Lewis and Loftus 1.6. How many bits are there in each of the following? How many bytes are there in each? 12 KB
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/17/2011 for the course COP 3530 taught by Professor Davis during the Spring '08 term at University of Florida.

Page1 / 8

CHAPTER 1 - Java Software Solutions Lewis and Loftus...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online