Page:6
Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'ASSISTANT PROFESSOR COMPUTER SCIENCE AND ENGINEERING TECHNICAL EDUCATION ENGINEERING DCOLLEGES' And exam conducted in the year 2016. And Question paper code was '123/2016'. Medium of question paper was in Malayalam or English . Booklet Alphacode was 'A'. Answer keys are given at the bottom, but we suggest you to try answering the questions yourself and compare the key along wih to check your performance. Because we would like you to do and practice by yourself.
123/2016
47.
48,
49.
50.
What will he value of ‘f' after the execution of the following program ?
void main()
{ |
char a;
floatf=10;
for(a=1; a<=5;a++)
{f-=2;}
دام )تلم
}
A) 5.0 B) 9 ©) 9.0 D) error
What will be the output of the following program ?
#define abc(x,y) X"y
void main()
٢
inta=1, b=2;
printf(“%d",abc(a+1,b-2));
}
A) O B) 1 22 D) 3
Which statement is added to the following program such that address of “r1” gets stored
# 2?
void main()
{
int*r2;
void abc(int **);
abe(&r2);
printf(*%d”, *r2);
}
void abe(int **r3)
{
intr1=5;
/*add statement here*/
}
A) “25811 8( ۶1 >3 ©) "3 = &1 D) none of the above
The CPU 'c also be called as
A) Processor hub B) ISP
C) Node D) All the above
&