Table of Content

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+1
The value of K after the execution of this code shall be ?
A
C(n + m – 1, m)
B
C(n – m + 1, m)
C
C(n + m – 1, n)
D
C(n – m + 1, n)
Question 2
In Delta Rule for error minimization
A
weights are adjusted w.r.to change in the output
B
weights are adjusted w.r.to difference between desired output and actual output
C
none of the above
D
weights are adjusted w.r.to difference between input and output
Question 3
The concept of pipelining is most effective in improving performance if the tasks being performed in different stages :
A
require different amount of time with time difference between any two tasks being same
B
require different amount of time
C
require different amount with time difference between any two tasks being different
D
require about the same amount of time
Question 4
What is Granularity ?
A
The size of file
B
The size of database
C
The size of record
D
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
A
3.22
B
3.52
C
4.22
D
3.32