June 2013 Solved UGC Net Computer Science question and answers
1. While estimating the cost of software, Lines of Code (LOC) and Function Points (FP) are used to measure which one of the
following?
(A) Length of code
(B) Size of software
(C) Functionality of software
(D) None of the above
Ans.: B.)
A famous software engineering question. Self explanatory.
2.) A good software design must have
(A) High module coupling,
High module cohesion
(B) High module coupling,
Low module cohesion
(C) Low module coupling, High module cohesion
(D) Low module coupling, Low module cohesion
Ans.: C.)
Frequently asked question in the exam.Shortcut: Always remember Coupling = Low and Cohesion = High.
3.) How many times the word 'print' shall be printed by the following
program segment?
for(i=1, i≤2, i++)
for(j=1, J≤2, J++)
for(k=l, k≤2, k++)
printf("print/n")
(A) 1
(B) 3
(C) 6
(D) 8