AL NOOR INTERNATIONAL SCHOOL
BRITISH MIDDLE SECTION
GRADE 7 ICT FIRST TERM EXAM REVIEW (2023-2024)
Take a print, write the answers and submit
OR
Copy the questions on an A4 sheet and write the answers.
Submission date: On or before 4/1/24 (Thursday)
[Submit hardcopy to ICT Teacher]
Python Commands
I. Rewrite the Python commands without error.
1. print(hello world)
_______________________________________________________
2. tar get=54
_______________________________________________________
3. print(“target)
_______________________________________________________
4. currency=dollar
_______________________________________________________
5. length=len100
_______________________________________________________
6. print(“The length of the bridge is : ” length)
_______________________________________________________
7. value=int(“Enter a value”)
_______________________________________________________
8. value=int(“value”)
_______________________________________________________
9. city=input(Where do you live?)
_______________________________________________________
10. Print(“Python”
_______________________________________________________
II. Write the Python commands for the following.
1. To convert the variable tax into float data type.
_________________________________________________________
2. To convert the variable number into integer data type.
_________________________________________________________
3. To assign the value 47 to variable first_num.
_________________________________________________________
4. To assign the value Good will to a variable Trade.
_________________________________________________________
5. To output the value assigned in the variable Trade.
_________________________________________________________
6. To ask the user about their marks in ICT and assign the value to a variable computer.
_________________________________________________________
7. To output the text First term Examination.
_________________________________________________________
III. Convert the following Scratch codes into Python commands.
S.no Scratch code Python Command
1.
2.
3.
4.
5.
6.