Page 115 - Digicode_AI_class_6
P. 115
D. Answer the following questions:
1. Write any three features of Python.
2. Define the term byte code.
3. Write the syntax to declare and initialize a variable.
4. State any four variable naming conventions.
5. Explain the components of Python window.
6. Differentiate among the input() and print() functions.
Technology Literacy
Information Literacy
What will be the output of the following programs?
1. a = 4.5 2. y = 10
b = 2 y += 2
print (a//b) print(y)
3. p, q, r = 10, 20 ,30
print(p, q, r)
Experiential Learning
Competency-based/Application-based questions Information Literacy
1. 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?
2. Your friend is working on his maths assignment and he has to do some quick calculations. But he is
unable to understand which mode of Python should he use. Suggest him the mode to Python to do so.
Critical Thinking
code TASK Technology Literacy
Write a program in Python to print the following using print command.
1. Hello, How are you? I am learning Python language.
2. Education is the most powerful weapon which you can use to change the world.
Introduction to Python 113

