Kerala PSC Previous Years Question Paper & Answer

Title : Training Officer
Question Code :

Page:15


Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'Training Officer' And exam conducted in the year 2023. And Question paper code was '053/2023/OL'. Medium of question paper was in Malayalam or English . Booklet Alphacode was ''. 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: 15 out of 22
Excerpt of Question Code: 053/2023/OL

A:-54321

5:-531

C:-Looop won't works
D:-Infinite loop

Correct Answer:- Option-D

Question71:-This of the following is not a valid 2-dimensional array declaration.

A:-int arr[3] [3]={1,2,3,4,5,6,7,8,9};
B:-int arr[][3]={1,2,3,4,5,6,7,8,9};
C:-int arr[3][]={1,2,3,4,5,6};

D:-All of the above

Correct Answer:- Option-C

Question72:-Predict the output of following code segment.
#include
int main()

{
int array[10] = {1,2,3,4,5};
printf("%d", array[5]);

return 0;

ர்‌
A:-0
B:-5
C:-Garbage value
D:-None of the above
Correct Answer:- Option-A

Question73:-In the below code; what will be the value of x ?
#include
#include
int main() {
char s1[] = "hello";
char S2[] = "world";
int x = strcmp(s1, s2);
printf("%d", x);
return 0;

A:-Zero

B:-Greater than zero
C:-Less than zero
D:-Some string

Correct Answer:- Option-C

Question74:-This of the following is/are true about linear search performed in an

array of size N.

Similar Question Papers

Ask Question

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


Questions & Answers

Training Officer : Video