Chap01 EX Solutions

Chap01 EX Solutions - Java Software Solutions, 6th Edition...

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

View Full Document Right Arrow Icon
Java Software Solutions, 6 th Edition Exercise Solutions, Ch. 1 Chapter 1 Exercise Solutions 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 processor type and speed, storage capacities of main and secondary memory, and types of I/O devices. Explain how you determined your answers. Processor: Intel Celeron D, 2.53 GHz Main Memory: 512 MB SDRAM Secondary Memory: 160 GB Ultra ATA Hard Drive (7200 RPM) Peripherals: CD/DVD +/- RW, floppy drive, keyboard, mouse, 17" flat screen monitor, HP LaserJet 1200 printer 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. EX 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 or states. EX 1.3. How many unique items can be represented with each of the following? a. 1 bit 2 items b. 3 bits 8 items c. 6 bits 64 items d. 8 bits 256 items e. 10 bits 1024 items f. 16 bits 16,348 items 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? 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. 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? Eight bits are needed to store each character of a document written in a language of 240 unique characters and symbols. Seven bits would be sufficient if there were only 128 different characters to represent. Eight 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 1

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

View Full DocumentRight Arrow Icon
Java Software Solutions, 6 th Edition Exercise Solutions, Ch. 1 EX 1.6. How many bits are there in each of the following? How many bytes are there in each? a. 12 KB
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/26/2011 for the course COP 2551 taught by Professor Roggio,r during the Summer '08 term at UNF.

Page1 / 5

Chap01 EX Solutions - Java Software Solutions, 6th Edition...

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

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