Parallel and Distributed Computing Unit - 3 mcq
1. A sequential algorithm is evaluated by its
(A) Compile time
(B) Runtime
(C) Both A & B
(D) None of these
2. The parallel runtime of a program depends on
(A) Input Size
(B) Number of processors
(C) Communication parameters of the machine
(D) All of these
3. The time from the start of the first processor to the stopping time of the last processor in a parallel ensemble is called
(A) Wall clock time
(B) Execution time
(C) Processing time
(D) None of these
4. If I use two processors, shouldn’t my program run twice as fast?
(A) Yes
(B) No
5. Serial runtime of a program is
(A) Time that elapses from the moment the first processor starts to the moment the last processor finishes execution.
(B) Time elapsed between the beginning and the end of its execution on a sequential computer.
(C) Both A & B
(D) None of the above
6. Total overhead is
(A) The total time spend by all processors combined in non-useful work.
(B) The total time spend by all processors combined in useful work.
(C) The total time collectively spent by all the processing elements.
(D) Both B & C
7. The overhead function (To) is therefore given by
(A) To = pTp - Ts
(B) To = pTp + Ts
(C) To = pTs - Tp
(D) To = pTs + Tp
8. The ratio of the time taken to solve a problem on a single processor to the time required to solve the same problem on a parallel computer with p identical processing elements
(A) SpeedHigh
(B) SpeedUp
(C) SpeedFast
(D) None of these
9. Consider the problem of adding n numbers, If n is a power of two,
we can perform this operation in ___ steps by propagating partial sums
up a logical binary tree of processors.
(A) n2 log n
(B) n log n
(C) log n
(D) None of these
10. Speedup can be as
(A) High as 1
(B) Low as 0
(C) Can be more than 1
(D) Can be less than 0
11. A speedup greater than p is possible only if each processing element spends less than
(A) Ts/p
(B) p/Ts
(C) Ts × p
(D) None of these
12. Cost of a Parallel System given by
(A) p x Tp
(B) p / Tp
(C) Tp / p
(D) p x p x Tp
13. Using fewer than the maximum possible number of processing elements to execute a parallel algorithm.
(A) Scaling down a parallel system
(B) Scaling up a parallel system
(C) Scaling down a serial system
(D) Scaling up a serial system
14. The number of processing elements decreases by a factor of n/p,
then the computation at each processing element increases by a factor of
__
(A) n/p
(B) n*p
(C) p/n
(D) None of these
15. The efficiency of a parallel program can be written as
(A) S/p
(B) Ts / pTP
(C) Both A & B
(D) None of these
16. The maximum number of tasks that can be executed simultaneously at any time in a parallel algorithm is called its
(A) Degree of concurrency
(B) Isoefficiency Function
(C) None of these
17. If the metric is speed, the order of algorithm is
(A) A1 > A3 > A4 > A2
(B) A3 > A1 > A4 > A2
(C) A1 > A3 > A4 > A2
(D) A3> A4 > A1 > A2
18. In terms of efficiency, the order of algorithm
(A) A2 > A4 > A3 > A1
(B) A2 > A3 > A4 > A1
(C) A3 > A2 > A1 > A4
(D) A3 > A2 > A4 > A1
19. If the serial runtime of a computation can be divided
(A) Totally parallel component
(B) Totally parallel component
(C) Both A & B
(D) None of these
20. The serial fraction f of a parallel program is defined as
(A) f = Tser / W
(B) f = Tser X W
(C) f = W / Tser
(D) None of these
No comments:
Post a Comment