Page:3
Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'Workshop Instructor / Demonstrator /Instructor Gr.II in Computer Engineering' And exam conducted in the year 2023. And Question paper code was '095/2023'. 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.
10.
095/23
. Which of the following special symbol can be used in a C variable name ?
A) - B) # © D) $
. At atime a function can return
A) one value B) two values
C) three values D) many values
. What will be the output of the following C statements ?
void main()
{
char str1[10] ="hello" str2[10]="hello";
printf(‘“%d” ,stremp(str1 ,str2));
}
A) 1 8) 0
0) -1 D) none of these
. Which of the following operator is used to access structure elements ?
A) dot(.) operator B) & operator
C) * operator D) none of the above
. If there is any error while opening a file, fopen() returns
A) 0 B) 1 C) EOF D) NULL
. What will be the result of the following postfix expression evaluation 5 3 4 * 6 / +
൧) 7 8) 5 C) 24 D) 2
. In a queue data structure new element is inserted at
A) front end B) rear end
C) both A) and B) D) none of the above
. Which of the following is a one way list ?
A) single linked list B) double linked list
C) both A) and B) D) none of the above
. Ina tree a node which does not have any child is called
A) non terminal node B) internal node
C) leaf node D) sibling node
Which data structure is used for backtracking in DFS traversal ?
A) queue B) stack
C) linked list D) none of the above