K-IIT WORLD SCHOOL
Revision sheet
CLASS :XI
SUBJECT : Computer Science
CHAPTER NAME: Getting Started With Python
Sr. MCQs / Assertion Reason / True False Mark
No
M1. Each statement in Python is terminated by a ................................. 1
a) Colon (:) b) Comma (,) c) Semi-colon (;) d) None of these
M2. Identify the output of the following statement. 1
print(4+2**3**2-5//11%3)
a) 66 b) 46 c) 516 d) 494
M3. Which of the following is a way to represent an algorithm? 1
a) Pseudocode b) Flowchart
c) Both (i) and (ii) d) None of these
M4. A program written in a high-level language (Python) is termed as ............................ code. 1
a) Object b) Machine c) Source d Byte
)
M5. Which symbol is used to represent processing in flowcharts? 1
a) Circle b) Rectangle c Diamond d) Parallelogram
)
M6. Which mode is not supported and implemented in Python IDLE? 1
a) Interactive mode b) Script mode
c) Hybrid mode d) None of these
M7. Which of the following is not a feature of Python? 1
a) Python is a proprietary software.
b) Python is not a case-sensitive language.
c) A block of code in Python is demarcated using braces.
d) All of these
M8. Python is a .................................. language when handling identifiers. 1
a) Machine-dependent b) Case-sensitive
c) Platform-dependent d) None of these
M9. By default, indentation in Python leaves .................................... spaces. 1
a) 3 b) 4 c) 5 d) 0
M10. If a = 30 and b = 20 , then executing a += b will produce the output .................................. 1
a) 30 b) 40 c) 50 d) 60
M11. .................................... occurs when each statement of the block does not have the same 1
indentation.
a) Logical Error b) Syntax Error
c) Runtime Error d) Indentation Error
The following questions contain two statements: Assertion and Reasoning. Each question
has four choices-(a), (b), (c), (d)—only one of which is correct. In the light of these
statements, choose the most appropriate option.
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
K-IIT WORLD SCHOOL, DELHI
K-IIT WORLD SCHOOL
Revision sheet
(c) A is true but R is false.
(d) A is false but R is true.
M12. Assertion (A): Python comes with its own IDLE. 1
Reasoning (R): IDLE is Python's Integrated Development and Learning Environment which
allows programmers to easily write, modify and execute Python programs.
M13. Assertion (A): Python is a cross-platform language. 1
Reasoning (R): Python code can run on a variety of platforms which makes programs very
portable as any program written in one platform can easily be used on another.
M14. Assertion (A): The interactive mode of Python gives instant result of the typed statement. 1
Reasoning (R): Script mode is an interactive window where Python code can be executed in
the same window.
M15. Assertion (A): Python uses an interpreter to convert source code to object code. 1
Reasoning (R): Python interpreter scans and translates the whole program into machine
code in one go.
M16. Assertion (A): Python is a case-sensitive language. 1
Reasoning (R): Python is easy to understand as it has a clearly defined syntax and simple
structure.
Sr. Knowledge Based Marks
No.
K1. Who developed python and in which year? 1
K2. Write the full form of IDLE. 1
K3. In which mode of Python is the interpreter no longer active? 1
K4. which two languages contributed to Python as a programming language? 2
K5. In how many different ways can you work in Python? 2
S. Understanding Based Marks
No.
U1. Python is a free and open-source language. What do you understand by this feature? 2
U2. What is the difference between Interactive mode and Script mode in Python? 3
U3. Give the output of the following: 3
(i) print('apple', 'mango', 'orange', 'banana', sep='#')
(ii) print (11, 12, 13,14, 15, end = ‘****’ , sep='$')
(iii) print (2, 4, 6, 8, 10); print (3, 6, 9, 12, 15)
S. Application / Multidisciplinary questions Marks
No.
A1. Draw a flowchart to convert temperature from Celsius to Fahrenheit. 3
A2. Write a pseudocode to calculate and display area and perimeter of a rectangle. 3
A3. Can you come up with an algorithm find average of five numbers? 3
A4. Write a code that prints your full name and your birthday as separate strings. 2
[Link] HOTS Marks
.
H1. Is python a complied language or an interpreted language? 1
H2. Is Python a case-sensitive language? What is meant by the term 'case-sensitive' in 2
programming languages?
Competency Based Questions Marks
C1. Railway Booking and Lodging is a travel agency that books railway tickets for its customers. 2
K-IIT WORLD SCHOOL, DELHI
K-IIT WORLD SCHOOL
Revision sheet
They ask the user to furnish all the details about the date of journey, destination, preferred
time of journey and other required relevant details. They need to computerize all their
processing and working methodology.
You being a software analyst, develop a solution by decomposing the entire problem and
design a suitable railway ticket reservation system using concept of decomposition.
K-IIT WORLD SCHOOL, DELHI