1
GATE CSE 2011
MCQ (Single Correct Answer)
+2
-0.6
Consider the following recursive C function that takes two arguments:
unsigned int foo (unsigned int n, unsigned int r) {
  if (n > 0) return((n % r) + foo(n/r, r));
  else return 0;
}
What is the return value of the function foo when it is called as foo (513, 2)?
A
9
B
8
C
5
D
2
2
GATE CSE 2011
MCQ (Single Correct Answer)
+2
-0.6
Consider the following recursive C function that takes two arguments:
unsigned int foo (unsigned int n, unsigned int r) {
  if (n > 0) return((n % r) + foo(n/r, r));
  else return 0;
}
What is the return value of the function foo when it is called as foo (345, 10)?
A
345
B
12
C
5
D
3
3
GATE CSE 2011
MCQ (Single Correct Answer)
+1
-0.3
A company need to develop digital signal processing software for one of its newest inventions. The software is expected to have $$4000$$ lines of code. The company needs to determine the effort in person months needed to develop this software using basic $$COCOMO$$ model. The multiplicative factor for this model is given as $$2.8$$ for the software development on embedded systems. While the exponentiation factor is given as $$1.20.$$ What is the estimated effort in person months?
A
$$234.25$$
B
$$932.50$$
C
$$287.80$$
D
$$122.40$$
4
GATE CSE 2011
MCQ (Single Correct Answer)
+1
-0.3
Which of the following is NOT desired in a good Software Requirement Specifications $$(SRS)$$ document?
A
Functional Requirements
B
Non Functional Requirements
C
Goals of Implementation
D
Algorithms for software Implementation
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12