Q2.Consider n disk system with 100 cylinders. The requests to access the cylinders occur in the following
sequence:4, 34, 10, 7, 19, 73, 2, 15, 6, 20
Assuming that the head is currently at cylinder 50, what is the time taken to satisfy all requests if it
takes 1 ms to move from one cylinder to adjacent one and shortest seek time first policy is used?
Answer : Option BExplaination / Solution: No Explaination.
A hard disk has 63 sectors per track, 10 platters each with 2 recording surfaces and 1000 cylinders. The address of a sector is given as a triple〈c, h, s〉, where c is the cylinder number, h is the surface number and s is the sector number. Thus, the 0th sector is addressed as 〈 0, 0, 0〉 , the 1st sector as 〈 0, 0, 1〉 and so on.
The address 〈400, 16, 29〉 corresponds to sector number:
Answer : Option CExplaination / Solution: No Explaination.
A hard disk has 63 sectors per track, 10 platters each with 2 recording surfaces and 1000 cylinders. The address of a sector is given as a triple〈c, h, s〉, where c is the cylinder number, h is the surface number and s is the sector number. Thus, the 0th sector is addressed as 〈 0, 0, 0〉 , the 1st sector as 〈 0, 0, 1〉 and so on.
The address of 1039th sector is
Answer : Option CExplaination / Solution: No Explaination.
Q10.Four matrices M1, M2, M3 and M4 are dimensions p × q, q × r, r × s and s × t
respectively can be multiplied in several ways with different number of total
scalar multiplications. For example When multiplied as ((M1 × M2 ) × (M3 × M4 )) the
total number of scalar multiplications is pqr+rst+prt. When multiplied as
(((M1 × M2 ) × M3 ) × M4 ) , the total number of scalar multiplications is pqr+prs+pst.
If p=10, q=100, r=20, s=5 and t=80, then the minimum number of scalar
multiplications needed is
Answer : Option CExplaination / Solution:
Multiply as (M1 × (M2 × M3 )) × M4
The total number of scalar multiplication is
= qrs + pqs + pst
= 10000 + 5000 + 4000 = 19000
Total Question/Mark :
Scored Mark :
Mark for Correct Answer : 1
Mark for Wrong Answer : -0.5
Mark for Left Answer : 0