Ch-3 Brief Overview of Python

1. Python was developed by ________
(a)Guido Van Rossum
(b)mark zuckerberg
(c)Dennis M. Ritchie
(d)Rasmus Lerdorf

2. In which yearPython was developed __________.
(a)February 1991.
(b)February 1995.
(c)February 1961.
(d)February 1981.

3.Interactive mode is suitable for ________
(a)Checking code.
(b) Print moe
(c)testing code.
(d) All of the above

4.Python is an ________language.
(a)compiler
(b)interpreted
(c) interpreted/compiler
(d)Noe of the above

5.Python’s interactive interpreter is also called .
(a)Python mode
(b)Pyhton model
(c)Python Shell
(d) All of the above

6.A data item that never changes its value during a program execution is called ________.
(a)Constant
(b) Identifier
(c)Keyword
(d)Token

7. Reserved word having special meaning and purpose are called __________
(a)Constant
(b) Identifier
(c)Keyword
(d)Token

8.The smallest individual unit in a program are called _________.
(a)Constant
(b) Identifier
(c)Keyword
(d)Token

9.Named stored location whose value can be manipulated during program run are called __________.
(a)Constant
(b) Variable
(c)Keyword
(d)Token

10.Legal combination of symbols and values that together represents a value is called _________
(a)Constant
(b) Variable
(c) Expression
(d)Token

11. A type whose value is not changeable is called _________.
(a)Mutable
(b) Immutable
(c) Mutable/Immutable
(d)None of the above

12. A type whose value a changeable is called ________
(a)Mutable
(b) Immutable
(c) Mutable/Immutable
(d)None of the above

13.A group of consecutive statements having some indentation level is called _________
(a)Block
(b)Body
(c)Empty statement
(d)All of the above

14.The block of statements in a compound statement that follows the header.
(a)Block
(b)Body
(c)Empty statement
(d)All of the above

15.A statement that appears in the code but does nothing is called ______.
(a)Block
(b)Body
(c)Empty statement
(d)All of the above

16.A loop that never ends or Endless loop __________.
(a)Loop
(b)While Loop
(c)Infinite Loop
(d)For Loop

17.Statement that allows a set of instructions to be performed repeatedly is called _________.
(a) If Condition
(b)Iteration Statement
(c)Nesting
(d)Nested Loop

18.Some program-construct within another of same type of construct is called ________.
(a) If Condition
(b)Iteration Statement
(c)Nesting
(d)Nested Loop