Kerala PSC Previous Years Question Paper & Answer

Title : HSST COMPUTER SCIENCE KHSE
Question Code : A

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.

page: 3 out of 16
Excerpt of Question Code: 016/2018

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}

Similar Question Papers

Ask Question

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


Questions & Answers

HSST COMPUTER SCIENCE KHSE : Video