Page 7 - tp_Modula_v2.0
P. 7
Assessment Resources
Exercise: This section has objective and subjective questions.
Exercise E. Long answer type questions.
1. State any four variable naming conventions.
A. Tick ( ) the correct option. 2. Explain the components of Python window.
1. Which of the following can be developed by using Python? 3. Differentiate among the input() and print() functions.
a. Games b. Websites F. Application based question. Experiential Learning
c. Graphical user interface programs d. All of these Aarav has been writing codes in the command prompt. He wants to save and reuse his programs.
2. Which of the following does the menu bar of the Python IDLE window contain? Where should he write his codes instead so that he can easily open, run and save for further use?
a. File b. Edit
In the lab
c. Shell d. All of these Life Skills & Values
3. Which of the following mode saves the commands entered by the user in the form of a program?
Write a program in Python to print the following using print command.
a. Interactive mode b. Script mode
1. Hello, How are you? I am learning Python language.
c. Both a and b d. All of these 2. Education is the most powerful weapon which you can use to change the world.
4. Which of the following function takes the user’s input while a program executes?
a. input( ) b. output( )
c. print( ) d. None of these Teacher's Corner
B. Write 'T' for true and 'F' for false.
1. Discuss the features of Python with the students.
1. Python is a free and open-source programming language. …………………… 2. Discuss about Python programming modes with the students.
2. The byte code makes it difficult to execute or run the code in future. ……………………
3. Python is a fixed typed language. ……………………
4. IDLE stands for Integrated Development and Learning Environment. ……………………
C. Fill in the blanks using the words given below:
Guido van Rossum, Variables, print(), line by line, Prompt
1. Blinking cursor after the symbol (>>>) in the window is …………………… .
2. Python was developed by …………………… .
3. …………………… are memory reference points to store values.
4. The …………………… function prints or sends the output to the standard output device.
5. The code written in Python is executed …………………… .
D. Short answer type questions.
1. Write any three features of Python.
2. Define the term byte code.
3. Write the syntax to declare and initialize a variable.
14 Touchpad MODULAR (Version 2.0) Introduction to Python 15
Periodic Assessment: Four Test Sheet: This section Project Work: This is an
Periodic Assessments are has questions to assess assessment to challenge
included to evaluate the students. the students to apply the
knowledge of the students. concepts learnt.
Periodic Assessment-1 Test Sheet-1
(Based on chapters 1 to 3) (Based on chapters 1 to 5) PROJECT WORK
A. What will be the output of the following Python codes: Section A
x = 2 A. Tick ( ) the correct option. Critical Thinking
y = 3 1. Which of the following does the menu bar of the Python IDLE window contain?
print ('Sum of',x,'and',y,'is',x+y) a. File b. Edit Project 1
Write a program to add two numbers, which asks user to input the number and in case if user enters
c. Shell d. All of these an floating point number then the inputted number will be converted into an int type using int().
2. Which of the following function takes the user’s input while a program executes? Project 2
a. input( ) b. output( ) Write a program to calculate Bonus, Commission and Gross salary on the product sold. User will
enter the number of inputs sold, total price of the input sold, on the basis of which the bonus,
c. print( ) d. None of these commission and gross salary is calculated.
3. Which one of the following has the highest precedence in a logical expression? Hint:
a. Addition b. Multiplication basic_salary = 1500
bonus_rate = 200
c. Exponential d. Parentheses commision_rate = 0.02
bonus = (bonus_rate * sold)
4. Which of the following symbol(s) is/are used for comments in Python?
a. // b. ‘’ commission = (commision_rate * sold * price)
B. Write a program to print the even numbers between 1 and 25 by using the conditional c. /**/ d. # Project 3
statement. Write a program to convert the time given into minutes in hours and minutes.
Project 4
5. Which of the following is not the conditional statement in Python?
a. if Statement b. if…else Statement Write a program to convert the distance (in feet) into inches, yards, and miles.
c. if...elif...else Statement d. None of these Hint:
6. Which of the following conditional statements is used to test multiple conditions? dis_inches = dis_ft * 12
dis_yards = dis_ft / 3.0
a. if b. if…else dis_miles = dis_ft / 5280.0
c. if…elif…else d. All of these Project 5
7. Which of the following is a looping statement in Python? Write a program to print numbers in ascending order using if-else statement.
Project 6
a. for statement b. while statement
Write a program which ask user to enter the day number of the year in range from 2 to 365,
c. if statement d. break statement
after that it ask user to enter the first day of the year, and then it will display the day on the day
8. Which of the following statements terminates the execution of the loop? number which has been entered by the user as an output.
a. if b. for
C. Write the use of the following operators. Project 7
c. break d. continue Write a program to find sum of all elements in a list.
1. AND ……………………………………………………………………………………………………...........................… Project 8
2. Not equal (!=) ……………………………………………………………………………………………………….......... Create an app ‘Places of India’ using App Inventor (https://App Inventor.mit.edu). This app will
display the famous places around India and give basic information about them.
Periodic Assessment-1 41 62 Touchpad MODULAR (Version 2.0)
124 Touchpad MODULAR (Version 2.0)
Teacher's Resources
Teacher’s Resources facilitate the teaching learning process. This includes:
Teacher’s Note: This section provides notes for extended teaching.
Teacher’s Resource Material: This includes complete answer key to the coursebook, worksheets and
test paper generator.

