PGT Computer Science

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

PGT Computer Science

Q 1) Exhibition “Banking on World Heritage” which displays banknotes of G20 member


nations, depicting world heritage sites listed by UNESCO was inaugurated at which
among the following places?
(A) Indira Gandhi National Centre for Arts, New Delhi
(B) Nita Mukesh Ambani Cultural Centre, Mumbai
(C) National Gallery of Modern Art, Bengaluru
(D) South Central Zone Cultural Centre, Nagpur
Correct Answer: (A)
Q 2) Recently, on the __ anniversary of the Indo-French partnership, both countries agree to
adopt a roadmap to set the course for the bilateral relationship up to 2047.
(A) 50th
(B) 75th
(C) 25th
(D) 15th
Correct Answer: (C)
Q 3) Recently, which among the following countries became the first country to ban single-
use produce bags at grocery stores?
(A) Australia
(B) U.S.A.
(C) New Zealand
(D) U.A.E.
Correct Answer: (C)
Q 4) __________are the basic mental abilities that we use to think, study & learn.
(A) Affective skills
(B) Psychomotor skills
(C) Mental skills
(D) Cognitive skills
Correct Answer: (D)
Q 5) A good no. of classroom’s practices are a part of inclusive education. Which of the
following are some inclusive classroom practices?
(A) Collaborative Teaching
(B) Peer Tutoring
(C) Multi Level Instructions
(D) All of these
Correct Answer: (D)
Q 6) According to NEP 2020, it is envisaged that prior to the age of 5, every child will move
to a _____ class (that is, Before class 1)
(A) primary
(B) pre-primary
(C) secondary
(D) preparatory
Correct Answer: (D)
Q 7) ___________ converts a High Level Program into machine language line by line.
(A) Compiler
(B) Interpreter
(C) Operating System
(D) All of these
Correct Answer: (B)
Q 8) Which of the following is not a cloud service?
(A) IaaS
(B) PaaS
(C) SaaS
(D) DaaS
Correct Answer: (D)
Q 9) Which of the following permits the fastest data access during execution of a program?
(A) RAM
(B) Register
(C) Blu-Ray Disc
(D) Hard Disk
Correct Answer: (B)
Q 10) Dual of A.B + A.C is
(A) A+B . A+C
(B) A.B . A.C
(C) A+B . A.C
(D) A.B . A+C
Correct Answer: (A)
Q 11) Identify the correct print() statement.
(A) print(Hello)
(B) print(“Hello”)
(C) print(‘Hello”)
(D) print(“Hello’)
Correct Answer: (B)
Q 12) In Python output of the statement 3*2**3 is ___________.
(A) 12
(B) 36
(C) 24
(D) 216
Correct Answer: (C)
Q 13) Queues are data structures following the principle of ________.
(A) FIFO
(B) LIFO
(C) WYSIWYG
(D) ROUND ROBIN
Correct Answer: (A)
Q 14) Which command is used to open a database in MySQL?
(A) Open database <database name>
(B) Use database <database name>
(C) Open <database name>
(D) Use <database name>
Correct Answer: (D)
Q 15) Consider the following query :
SELECT name FROM class WHERE subject LIKE ‘___Computer Science’ .
Which one of the following has to be added in the blank space to select the subject which has
Computer Science as its ending string?
(A) _
(B) $
(C) ||
(D) %
Correct Answer: (D)
Q 16) What will be the output produced by the following code in Python?
a= 1
while (a<=7):
a*=2
print(a)
(A) 7
(B) 8
(C) 2 4 8
(D) No output
Correct Answer: (B)
Q 17) A ______ is a file that contains “metadata” i.e. “data about data” in a relational
database system.
(A) relation
(B) data dictionary
(C) domain
(D) None of these
Correct Answer: (B)
Q 18) A database ________ is a special control structure that facilitates the row by row
processing of records in the result set.
(A) fetch
(B) table
(C) query
(D) cursor
Correct Answer: (D)
Q 19) Given tp=(5,3,1,9,0), which of the following two statements will give the same output?
(i) print(tp[ : -1] )
(ii) print(tp[0:5])
(iii)print(tp[0:4])
(iv) print(tp[-4])
(A) (i), (ii)
(B) (ii), (iv)
(C) (i), (iv)
(D) (i),(iii)
Correct Answer: (D)
Q 20) What is the length of the tuple shown below?
T= ((((‘a’,1),’b’,’c’),’d’,2),’e’,3)
(A) 3
(B) 8
(C) 4
(D) 6
Correct Answer: (A)

You might also like