Page 127 - Trackpad_V1_Book 6_Flipbook
P. 127
c. What are the data types?
____________________________________________________________________________
d. What are Operators in Python?
____________________________________________________________________________
e. Explain any two features of the Python programming language.
____________________________________________________________________________
____________________________________________________________________________
f. How do you open the Python IDLE Shell? Also write its components.
____________________________________________________________________________
____________________________________________________________________________
g. What is variable? How do you declare a variable in Python?
____________________________________________________________________________
____________________________________________________________________________
h. Write steps to run a Python program.
____________________________________________________________________________
____________________________________________________________________________
4. Differentiate between the following:
a. Interactive Mode Script Mode
___________________________ ___________________________
___________________________ ___________________________
b. input() function print() function
___________________________ ___________________________
___________________________ ___________________________
5. Application based questions: Experiential Learning
a. Aarav has been writing codes in the command prompt. He wants to save and reuse his
programs. Where should he write his codes instead so that he can easily open, run and
save for further use?
____________________________________________________________________________
b. Ayushi finished writing a program in Python and has saved it successfully but now she forget the
option to execute a program. Tell her which option she should use?
____________________________________________________________________________
6. What will be the output of the following expressions?
a. 56*8+13 ________________________
b. 49/7 – 5+15 – 10 ________________________
c. 34*98*2*5 – 1076\2 ________________________
Introduction to Python 125

