UGC NET Computer Science : June 2012 - Paper 3 (Solved Papers)
Question 1 |
Consider the following pseudocode segment :
K:=0 for i1:= l to n for i2:= 1 to i1 : : : for im:= 1 to im–1 K:= K+1The value of K after the execution of this code shall be ?
C(n – m + 1, n) | |
C(n – m + 1, m) | |
C(n + m – 1, n) | |
C(n + m – 1, m) |
Question 2 |
In Delta Rule for error minimization
none of the above | |
weights are adjusted w.r.to change in the output | |
weights are adjusted w.r.to difference between input and output | |
weights are adjusted w.r.to difference between desired output and actual output |
Question 3 |
The concept of pipelining is most effective in improving performance if the tasks being performed in different stages :
require different amount of time | |
require different amount of time with time difference between any two tasks being same | |
require different amount with time difference between any two tasks being different | |
require about the same amount of time |
Question 4 |
What is Granularity ?
The size of record | |
The size of database | |
The size of file | |
The size of data item |
Question 5 |
Suppose that a given application is run on a 64-processor machine and that 70 percent of the application can be parallelized. Then the expected performance improvement using Amdahl’s law is
3.32 | |
3.22 | |
4.22 | |
3.52 |