Page 134 - Trackpad_V2.1_Class6
P. 134
d. What are operators in Python?
___________________________________________________________________
e. List any three commonly used data types in Python with examples.
___________________________________________________________________
f. Write the output of the following statement:
print("Hello!", "How", "are you?")
___________________________________________________________________
g. What is a 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
__________________________________ __________________________________
__________________________________ __________________________________
21 st #Technology Literacy
5. Application-based questions. Century #Critical Thinking
Skills
a. Aarav has been writing codes in the IDLE shell. He wants to save and reuse his
programs. Where should he write his codes instead so that he can easily open,
run and save them for later use?
b. Ayushi finished writing a program in Python and has saved it successfully but now she has
forgotten the option to execute a program. Tell her which option she should use.
6. Execute the following Python expressions in interactive mode and write the output in the space
given:
a. 56*8+13 ________________________
b. 49/7 – 5+15 – 10 ________________________
c. 34*98*2*5 – 1076/2 ________________________
d. 74+98+23+76-23-45-90 ________________________
e. 90/10+25*67-22 ________________________
132 Trackpad (V2.1)-VI

