



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The second assignment of this course along with solution to the problems.
Typology: Study Guides, Projects, Research
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Question - 1 How many 8K x 1 RAM chips are needed to construct a memory capacity of 512K x 16? Draw and properly label a complete block diagram of the above memory organization. 32x32 x (8Kx1) RAM chips Question - 2 Consider a single-platter disk with the following parameters: rotation speed: 7200 rpm; number of tracks on one side of platter: 30,000; number of sectors per track: 600; seek time: one ms for every hundred tracks traversed. Let the disk receive a request to access a random sector on a random track and assume the disk head starts at track 0.
a. What is the average seek time? b. What is the average rotational latency? c. What is the transfer time for a sector? d. What is the total average time to satisfy a request?
(a)Average seek time : 100 tracks = 1ms , 299,999 tracks = 1m* 29,999 /100 = 0.299 , average time = 0.299/2 =m 149.99ms (b) Rotational speed = 7200 rev per minute = 120 rev per second Average rotational latency = 1/2r = 4.167ms (c) Transfer time for a sector: Transfer time for a complete track = 1/r = 8.33msec Transfer time for a sector = 8.33m/600 = 13.89usec (d) total = 154.17msec Question - 3 Consider a 4-drive, 200GB-per-drive RAID array. What is the available data storage capacity for each of the RAID levels, 0, 1, 3, 4, 5, and 6? RAID 0: 800 GB RAID 1: 400 GB RAID 3: 600 GB RAID 4: 600 GB RAID 5: 600 GB RAID 6: 400 GB Question - 4 Divide 189 by 19 in binary twos complement notation, using 10-bit words, using the algorithm described in section 10.
Q = 0010 1111 01 , M =00 0001 0011, -M = 11 1110 1101 A Q Count 00 0000 0000 00 1011 1101 10
Remainder = 0000010010, Quotient = 0000001001
National University of Computer & Emerging Sciences, Lahore Department of Electrical Engineering (Spring 2017)
National University of Computer & Emerging Sciences, Lahore
Question - 8 Compare zero-, one-, two-, and three-address machines by writing programs to compute for each X = (A + B * C) / (D - E * F) of the four machines. The instructions available for use are as follows:
0 address 1 address 2 address 3 address PUSH A PUSH B PUSH C MUL ADD PUSH D PUSH E PUSH F MUL SUB DIV POP X