Page:3
Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'HSST COMPUTER SCIENCE KHSE' And exam conducted in the year 2018. And Question paper code was '016/2018'. 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.
016/2018
1. #define AND &&
#define ج01 !!
#define LE <=
#define GE >=
main()
{
}
(ಡಿ)
©
char ch="D :
if ((ch GE 65 AND ch LE 90) OR (ch GE 97 AND ch LE 122))
printf(“alphabet”);
else
printf(“not an alphabets”):
Compilation error (8) Not an alphabet
Alphabet (D) None of the above
2. main()
{
(ಡಿ)
" o 1
static char * s[] = {“ice”, “green”, “core”, “please”}:
static char **ptr[] = {s+3, s+2, s+1,s}:
char ***p=ptr;
एक, नोः
printf(“%s\n”, *~*++p+3);
printf(“%s\n”, *p[-2]+3);
printf(“%s\n”,p[-1][-1]+1);
}
ice (B) عم (ಲ) please (D) None
plea ase core
gr reen தூ
{P.T.O}