Sample Paper of Post Graduate Diploma in Advances Software & Design Development of CDAC

CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
(Deptt. of IT, Ministry of Communications & IT, Govt. of India)
Anusandhan Bhawan, C-56/1, Sector-62, Noida


POST GRADUATE DIPLOMA IN ADVANCED SOFTWARE DESIGN & DEVELOPMENT

SAMPLE QUESTION PAPER

Maximum Time: 2 hrs
Total Questions: 100

General Instructions:


1) All questions are compulsory
2) All questions carry equal marks
3) There is no negative marking
4) Duration of the exam is 2 hrs
5) Don’t write anything on the question paper
6) Return the question paper along with answer sheet to the concerned authority
7) There may be change in order for any section mentioned below.

SECTION I – General Aptitude

1. What is the maximum number of half-pint bottles of cream that can be filled with a 4-gallon can of cream(2 pt.=1 qt. and 4 qt.=1 gal)

a) 16
b) 24
c) 30
d) 64

2. If the operation,^ is defined by the equation x ^ y = 2x + y,what is the value of a in 2 ^ a = a ^ 3

a) 0
b) 1
c) -1
d) 4

3. A coffee shop blends 2 kinds of coffee,putting in 2 parts of a 33p. a gm. grade to 1 part of a 24p. a gm.If the mixture is changed to 1 part of the 33p. a gm. to 2 parts of the less expensive grade,how much will the shop save in blending 100

a) Rs.90
b) Rs.1
c) Rs.3
d) Rs.8

SECTION II – C Programming Language

4. What is the output of the following code segment:

for (int i =1; i <10;>=5) break;
printf(“%d”, i);
}

a) 112233445566778899
b) 12345
c) 11223344
d) 112233445

5. What is the output ?

void main()
{
int z,y;
z=recsum(1);
y=recsum(1);
printf(“z=%d\n y=%d”,z,y);
}
recsum(i)
int I;
{
static int sum=0;
if(I==3)

return(sum);
else
{
sum=sum+10;
i++;
recsum(i)
}
}


a) z=20
y=30
b) z=20
y=40
c) z=40
y=30
d) z=30
y=40

6. The following is an example of what type of error?

int num1;
int num2;
printf( "Enter two numbers: ");
scanf(“%d %d”, num1 ,num1);


a) Semantic error
b) Logical error
c) Compile time error
d) none of the above

7. If a=1, b=1, c=-6 then a*(b/c)=___________

a) Error
b) -0.166667
c) –1
d) 0

Post a Comment

Previous Post Next Post