Civil Engineering - Online Test

Q1. Consider the following well-formed formulae:

Which of the above are equivalent?
Answer : Option B
Explaination / Solution:
No Explaination.


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 B
Explaination / Solution:
No Explaination.


Q3.
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 C
Explaination / Solution:
No Explaination.


Q4.
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 C
Explaination / Solution:
No Explaination.


Q5.
Newton-Raphson method is used to compute a root of the equation x2 - 13 = 0 with 3.5 as the initial value. The approximation after one iteration is
Answer : Option C
Explaination / Solution:
No Explaination.


Q6. What is the possible number of reflexive relations on a set of 5 elements?

Answer : Option C
Explaination / Solution:
No Explaination.


Q7. Consider the set S = {1, ω, ω2}, where ω and ω2 are cube roots of unity. If * denotes the multiplication operation, the structure (S, *) forms 
Answer : Option C
Explaination / Solution:
No Explaination.


Q8. What is the value of 
Answer : Option D
Explaination / Solution:
No Explaination.


Q9. If two fair coins are flipped and at least one of the outcomes is known to be a head, what is the probability that both outcomes are heads?
Answer : Option A
Explaination / Solution:

Sample space = {HH,HT, TH} Required probability = 1/3

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 C
Explaination / Solution:

Multiply as (M1 × (M2 × M3 )) × M4
The total number of scalar multiplication is 
= qrs + pqs + pst 
= 10000 + 5000 + 4000 = 19000