Kerala PSC Previous Years Question Paper & Answer

Title : SYSTEM ANALYST / PROGRAMMER
Question Code : A

Page:6


Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'SYSTEM ANALYST / PROGRAMMER ' And exam conducted in the year 2019. And Question paper code was '017/2019/OL'. 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.

page: 6 out of 12
Excerpt of Question Code: 017/2019/OL

D:-Binary trees
Correct Answer:- Option-B
Question46:-In the following code, how many times the program will print "Hello"?

#include
int main()

printf("Hello");
main();
return 0;
1
A:-Infinite times
-32767 times
C:-65535 times
D:-till stack overflows
Correct Answer:- Option-D
Question47:-What will be output if you will compile and execute the following c code?
#include "string.h"
void main()

printf("%d%d",sizeof("program"),strien("program"));
getch();
1]

A:87

D:-77

Correct Answer:- Option-A

Question48:-Predict the outputs of following C program.
int main()
{

int x = -20;

while (x++ !=1);

printf("%d", x);

return 0;

infinite
Correct Answer:- Option-A
Question49:-What is the return type of malloc()?
A:-void*
-pointer of allocated memory type
C:-void*
D:-int*
Correct Answer:- Option-A
Question50:-What does the following declaration mean?
int (*ptr)[20];
A:-ptr is array of pointers to 20 integers
B:-ptr is a pointer to an array of 20 integers
C:-ptr is an array of 20 integers
D:-None of these
Correct Answer:- Option-B
Question51:-If class C is derived from another class B which is derived from class A, which class will have minimum level of
abstraction?
A:-Class A
B:-Class B
C:-Class C
D:-All have same level of abstraction
Correct Answer:- Option-C
Question52:-Which of the following statement is false?

Similar Question Papers

Ask Question

(Press Ctrl+g to toggle between English and the chosen language)


Questions & Answers

SYSTEM ANALYST / PROGRAMMER : Video