Page 134 - trackpad v5.1 class 6 flipbook
P. 134
b. What is the difference between Python's Interactive Mode and Script Mode?
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________
c. What are data types in Python? Give two examples.
_______________________________________________________________________________
_______________________________________________________________________________
d. What is an operator in python? Explain with example.
_______________________________________________________________________________
_______________________________________________________________________________
e. Explain any two features of python programming language.
_______________________________________________________________________________
_______________________________________________________________________________
21 st #Critical Thinking
5. Competency-based/Application-based questions. Century
Skills
a. Vyom wrote a few programs in Python and was using a Windows PC at the time.
He then sent the programs to his friends who use Linux and Macintosh. Will they be
able to execute his programs? If yes then which feature of Python would make this
possible?
b. Aman finished writing a program in Python and has saved it successfully but now he has forgotten
the option to execute a program. Tell him which option he should use.
21 st
LAB ACTIVITY Century #Technology Literacy
Skills
Visit your computer lab and perform the following actions:
Write a Python program that does the following:
(a) Asks the user for their name and prints a greeting message using their name.
(b) Prompts the user to input two numbers, then calculates and displays their sum.
Print the following information in Python:
(a) Display five popular tourist attractions in your city.
(b) Show five countries you dream of traveling to.
(c) List your top five favorite movies
132 Pro (V5.1)-VI

