Page:7
Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'Assistant Professor in Information Technology' And exam conducted in the year 2023. And Question paper code was '089/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.
A:-[2,4,6]
B:-[1,2,3,1,3]
C:-[1,2,3,3,2,1]
D:-[1,2,3,1,2,3]
Correct Answer:- Option-D
Question29:-What is the output of the following python program ?
b="Hello World"
print(b[::-1])
A:-Hello World
B:-dlroW olleH
C:-Hello
D:-Synatx Error
Correct Answer:- Option-B
Question30:-What will be the output after executing following python code ?
listl=[1,2,3,'X','Y']
list2=listl+list1
print (list2)
A:-[1,2,3,4]
B:-[1,2,3,'X','Y',1,2,3,'X','Y']
C:-[2,4,6,'2X','2Y']
D:-Error
Correct Answer:- Option-B
Question31:-How many stacks are required to implement a queue ?
A:-1
B:-2
C:-3
D:-cannot implement
Correct Answer:- Option-B
Question32:-Which of the following is/are valid balance factor in AVL tree ?
A:-1
B:-0
C:--1
D:-All of the above
Correct Answer:- Option-D
Question33:-Which sorting algorithm is best when list is already sorted ?
A:-Insertion Sort
B:-Selection Sort