ComputerScience ClassX Question Set
ComputerScience ClassX Question Set
BSS
COMPUTER SCIENCE QUESTION SET CLASS X
4. Which of the following symbol in a flowchart is used to indicate all arithmetic process of
adding, subtracting, multiplying and dividing?
a) Input/Output b) Terminal
c)Processing d) Decision
8. A program that translates a high level language program into machine language program is
called
a) Compiler b) Interpreter
c) Both a and b d) None of these
Page 1 of 5
10. Which of the following is not true about an interpreter?
a) Interpreter generates the object program from the source program
b) It converts each statement of the code into machine language
c) It is more memory efficient
d) the execution time of the program is slower than compiled program
11. A program written in the form of 0’s and 1’s is called _____________ program.
a) High-Level Language b) Machine Language
c) Pseudocode d) Assembly Language
18. Which of the following character is used to give single-line comments in Python?
a) // b) # c) ! d) /*
19. Which of the following is not a core data type in Python programming?
a) Tuples b) Lists c) Class d) Dictionary
20. Which of the following is the correct extension of the Python File
a) .py b) .python c) .p d) None of these
Page 2 of 5
21. Which of these are the features of Python.
a) Python is a High-level Language
b) Python is an Interpreted Language
c)Python easy to learn, maintain and portable Language
d) All of the above
26. ___________ mode allows you to type multiple lines of code and save it for future
reference.
a) Interactive Mode b) Script Mode c) Shell Mode d) none of these.
27._______________ are reserved words that have a special function or task in a program.
a) Datatype b) Variables c) Keywords d) Operators
28. An _______________ is unique name given to identify something like name of a variable,
functions, classes etc.
a) Datatype b) Variables c) Keywords d) Identifiers
31. The kind of data stored in a variable in a programming language is called the _________.
a) Datatype b) Variables c) Keywords d) Identifier
Page 3 of 5
33. _________ datatype are identified as continuous set of characters enclosed between
quotations.
a) int b) string c) float d) complex
40.Which of the following operators is the correct option for power (a raised to b)?
a) a^b b) a^^b c) a*b d) a**b
Page 4 of 5
46. Which of the following is not a keyword in Python?
a) for b) if c) print d) All are keywords
Page 5 of 5