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

Info icon This 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.
Image of page 1

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

View Full Document Right 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.
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?
Image of page 3

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern