DOC

Exercise2

By Stephanie Hernandez,2014-01-23 11:46
12 views 0
Exercise2

Question 1. Choosing Microprocessors

    The following processors are made by Intel?:

    A. Intel? Core? 2 Q6600 Quad-Core

    Processor speed: 2.4 GHz

    Level 2 cache: 8MB

    System bus: 1066 MHz

    Number of cores: 4

    B. Intel? Core? 2 Duo T5450

    Processor speed: 1.66GHz

    Level 2 cache: 2MB

    System bus: 667 MHz

    C. Intel? Celeron? 420

    Processor speed: 1.6 GHz

    Level 2 cache: 512KB

    System bus: 800 MHz

    a. List the processors described above by their price range (from the cheapest to the most expensive).

    Answer: Intel? Celeron? 420< Intel? Core? 2 Duo T5450< Intel? Core? 2 Q6600

    Quad-Core

    b. List the processors described above by their performance (from the best to the worst). Answer: Intel? Core? 2 Q6600 Quad-Core>Intel? Core? 2 Duo T5450>Intel?

    Celeron? 420

    c. Which of the above processors would be the fastest when used for multi-media production and multi-tasking (running 10 or more applications at the same time)? Answer: Intel? Core? 2 Q6600 Quad-Core is the fastest processor when used for multi-media production and multi-tasking.

    Question 2. Computer Purchase

    Let us assume that you are purchasing a new computer for a specific usage. You need to choose a computer from various available configurations.

    Listed below are four different usage cases of a computer (a-d). For each usage case, identify components of the computer configuration that are most important to consider. Explain your answers.

Components to be considered include (but are not limited to):

    ; Monitor size/resolution

    ; Graphics card/video card

    ; Storage devices (for example, DVD-ROM)

    ; Memory (RAM, cache, and hard disk)

    ; Disk controller interfaces (ATA, EIDE)

    For example, if a computer were to be used for viewing movies, a DVD-ROM drive is needed since movies are available as CDs and now increasingly as DVDs. A large monitor (about 19”)

    that supports high resolutions and a video card will also be necessary to enjoy the movie. a. Simultaneously running a number of programs

    Answer: Because the computer is used for running a number of programs simultaneously, so a great CUP is needed. A good CUP will make the computer

    ran faster. And a good CUP can deal with a great many data at the same time. The best choose is Intel? Core? 2 Q6600 Quad-Core. A big RAM is also

    necessary; it can help the CPU work faster. So are caches.

    b. Running a speed-critical application

    Answer: If a computer is to be used to running a speed-critical application, the most important component is CUP. Only by a good CUP the speed-critical application can run. Large size of RAM,

    advanced Disk controller interfaces, high-powered Graphics card and video card and Caches are also needed.

    c. Storing and retrieving huge volumes of data

    Answer: A large hard disk is necessary. A large hard disk can hold huge volumes of data. And a large RAM is also necessary.

    d. Purchasing a basic configuration, to be upgraded later as needed

    Answer: Because the computer need to be upgraded, a good motherboard is necessary. The hard disks need EIDE slots, and the motherboard needs 3 PIC slots or more.

Question 3. Laptop Computer Selection

    You are a new graduate student enrolling in a Masters in Information Technology program. The department requires you to have a computer with the following requirements:

    ; 3 GB of RAM

    ; 250 GB hard drive

    ; DVD-ROM or DVD-RW drive

    ; Wireless connection

    ; Ethernet network card

    ; Windows Vista Professional version

    Your school has wireless connection, and Ethernet jacks. However, some classes are three

    hours long, and your AC adapter may not be long enough to reach an outlet. You also would

    be carrying this computer around from class to class. The most you can spend is US$1000.

    Indicate the range of values you desire for each of the following criteria: a. Weight

    Answer: 2 Kg

    b. Screen size

    Answer: 14

    c. Number of USB ports

    Answer: 4

    d. Number of Firewire ports

    Answer: 1

    e. Need CD-RW?

    Answer: No

    f. Need DVD-ROM?

    Answer: Yes

    g. Need DVD-RW?

    Answer: No

    h. Manufacturer preferences?

    Answer: Yes

    i. Search the Internet for two suitable computers meeting the above requirements and your

    budget constraint. Submit screenshots of the Web pages detailing the computer configuration and price.

Answer:

    j. Record your search results in a MS Excel spreadsheet. Fill column A with the following category labels:

    1. Manufacturer

    2. Processor

    3. Memory (maximum upgrade capacity)

    4. Screen size

    5. Weight

    6. Graphics card

    7. USB

    8. Firewire

    9. CD-ROM

    10. DVD-ROM

    11. Communications (e.g. wireless, Ethernet)

    12. Battery life

    13. Price

    14. Available Rebate

    Save and submit your Excel file.

    k. Make your final purchase decision and justify your decision.

    Answer: I finally choose HP dv3-4000 because its CPU is better than Samsung.

    Second, it has a higher frequency so that it can process faster. Third, its screen is bigger and their prices are similar. So I choose HP dv3-4000.

    Question 4. File Compression

    In this section, you will use a compression algorithm to compress a message. Then you will use a compression application to determine the properties of compression.

a. How does dictionary-based compression work?

    Answer: Dictionary-based compression replaces common sequences of characters with a single codeword, or symbol, which points to a dictionary

    of the original characters or to the original occurrence of the word.

    Use dictionary-based compression to compress the message below:

    sea shells, sea horses, and seals are in the sea.

    b. How many bytes does the message above contain (each character is 1 byte including spaces)?

    Answer: 49 bytes

    c. Create a compression dictionary and calculate its size in bytes. Answer: #sea

    d. What is the compressed the message?

    Answer: #shells, #horses, and seals are in the#.

    e. How many bytes did the entire compression use?

    Answer: 47 bytes

    f. Is dictionary-based compression a lossy compression? Explain.

    Answer: No. The dictionary-based is a lossless compression because it can reconstitute all of the original data by the dictionary.

    Copy and paste the entire content of this exercise into Notepad and save it as compress0.txt

    Compress this file using WinZip or any compression application and name it compress1.zip.

    If you do not have WinZip application installed on your computer, refer to Appendix B.

    Downloading WinZip Appendix for directions to download the application.

    g. What is the size of the file before and after compression? What is the compression ratio of compress1.zip to the original file?

    Answer: compress0.txt is 7KB . compress1.zip is 64KB

    The compression ratio of to the original file is 40%. compress1.zip

    Compress compress1.zip and name it compress2.zip.

h. What is the compression ratio of compress2.zip to compress1.zip? Explain what is

    happening. (Hint: think of information that needs to be stored for a compression.) Answer: Sorry, I cant compress compress1.zip.But I think it is bigger

    than first one because some compression need to be compressed and something incompress1.zip has been compressed so that it cant be

    compressed twice.

    i. Is this a lossy or lossless compression? What do you think would happen if you kept on compressing the file successively?

    Answer: It is a lossy compression. The file will become bigger. Because it is a lossy compression, so most useful date will be delete after several times lossy compression. So I think the file will be damaged.

    j. Is lossy compression appropriate for compressing images? Is it appropriate for hard disk backups? Provide explanations for both parts.

    Answer: It is appropriate for compressing images. Because images contain raw uncompressed data. Through compression the images can become small. And the compression software preprocesses an image by tweaking the colors in adjoining pixels so that they are the same color whenever possible.

    But lossy compression is not appropriate for hard disk backups. Because the lossy compression will delete some data. The hard disk backup contains the most important data which we will use in the future. We should use the lossless compression only by which we could ensure the data is intact without any destroy. So the lossy compression is not appropriate for hard disk backups.

Report this document

For any questions or suggestions please email
cust-service@docsford.com