Advertisement
Guest User

Database Assignment

a guest
Jan 20th, 2011
1,634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 3.90 KB | None | 0 0
  1. Chapter 1: 1, 2, 6, 7, 8, 11.
  2.  
  3. 1. EXPLAIN each OF the following terms IN your own words:
  4.     a) Translator.
  5.     b) Interpreter.
  6.     c) Virtual machine.
  7.    
  8. 2. What IS the difference BETWEEN interpretation AND translation?
  9.  
  10. 6. SOME instructions at the operating system machine level are identifical TO ISA LANGUAGE instructions. These instructions are carried OUT directly BY the microprogram rather than BY the operating system. IN light OF your answer TO the preceding problem, why do you think this IS the CASE?
  11.  
  12. 7. Consider a computer WITH identifical interpreters at levels 1, 2, AND 3. It takes an interpreter n instructions TO fetch, examine, AND EXECUTE one instruction. A level 1 instruction takes k nanoseconds TO EXECUTE. How long does it take FOR an instruction at levels 2, 3, AND 4?
  13.  
  14. 8. IN what sense are hardware AND software equivalent? NOT equivalent?
  15.  
  16. 11. The performance ratio OF the 360 model 75 was 50 times that OF the 360 model 30, yet the cycle TIME was ONLY five times AS fast/ How do you account FOR this discrepancy?
  17.  
  18. ----------------------------------------------
  19.                 Chapter 2
  20. ----------------------------------------------
  21.  
  22. Chapter 2: 1, 3, 9, 11, 12, 15, 16, 17, 19, 25.
  23.  
  24. 1. Consider the operation OF a machine WITH the DATA path OF Figure 2-2. Suppose that loading the ALU INPUT registers takes 5 nsec, running the ALU takes 10 nsec, AND storing the RESULT back IN the register scratchpad takes 5 nsec. What IS the maximum NUMBER OF MIPS this machine IS capable OF IN the absence OF pipelining?
  25.  
  26. 3. ON computer 1, ALL instructions take 10 nsec TO EXECUTE. ON computer 2, they ALL take 5 nsec TO EXECUTE. Can you say FOR certain that computer 2 IS faster? Discuss.
  27.  
  28. 9. Compute the DATA rate OF the human eye USING the following information. The visual FIELD consists OF about 10^6 elements (pixels). Each pixel can be reduced TO a superposition OF the three PRIMARY colors, each OF which has 64 intensities. The TIME resolution IS 100 msec.
  29.  
  30. 11. Genetic information IN ALL living things IS coded AS DNA molecules. A DNA molecule IS a linear SEQUENCE OF the four basic nucleotides: A, C, G, AND T. The human genome contains approximately 3 x 10^9 nucleotides INT he form OF about 30,000 genes. What IS the total information capacity (IN bits) OF the human genome? What IS the maximum information capacity (IN bits) OF the average gene?
  31.  
  32. 12. A certain computer can be equipped WITH 268, 435, 456 bytes OF memory. Why would a manufacturer choose such a peculiar NUMBER, instead OF an easy-to-remember NUMBER LIKE 250,000,000?
  33.  
  34. 15. IN a Hamming code, SOME bits are "wasted" IN the sense that they are used FOR checking AND NOT information. What IS the percentage OF wasted bits FOR messages whose total LENGTH (DATA + CHECK bits) IS 2^n - 1? Evaluate this expression numerically FOR VALUES OF n FROM 3 TO 10.
  35.  
  36. 16. The disk illustrated IN Figure 2-19 has 1024 sectors/track AND a rotation rate OF 7200RPM. What IS the sustained transfer rate OF the disk OVER one track?
  37.  
  38. 17. A computer has a bus WITH 5 nsec cycle TIME, during which it can READ OR WRITE a 32-bit word FROM memory. The computer has an Ultra4-SCSI disk that uses the bus AND AND runs at 160 Mbytes/sec. The CPU normally fetches AND executes one 32-bit instruction every 1 nsec. How much does the disk slow down the CPU?
  39.  
  40. 19. How long does it take TO READ a disk WITH 10,000 cylinders, each containing four tracks OF 2048 sectors? FIRST, ALL the sectors OF track 0 are TO be READ starting at sector 0, THEN ALL the sectors OF track 1 starting at sector 0, AND so ON. The rotation TIME IS 10 msec, AND a seek takes 1 msec BETWEEN adjacent cylinders AND 20 msec FOR the worst CASE. Switching BETWEEN tracks OF a cylinder can be done instantaneously.
  41.  
  42. 25. The transfer rate BETWEEN a CPU AND its associated memory IS orders OF magnitude higher than the mechanical I/O  transfer rate. How can this imbalance cause inefficiencies? How can it be alleviated?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement