Page 120 - 2611_SmartGPT Pro V(5.0) C-6
P. 120
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
5. Competency-based/Application-based questions. Century #Critical Thinking
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
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
118 Computer Science (V5.0)-VI

