Professional Documents
Culture Documents
صف 7 الوحدة 2+3
صف 7 الوحدة 2+3
print( ) print(5+3) 8
print(10-3) 7
print(15/5) 3
To print the result of
print(4*3) 12
operation
print(9/2) 1
print(10%5) 0
print(10%4) 2
Float number
Integer number
% sign it called modulus
Good Luck >>> Your Teacher Mona AlAbdouli 1
Revision for Grade 7 in Unit #2&3 Design & Technology Subject
Your Name: ………………………………………………..….. Grade 7 -
Loops If statement
4
Good Luck >>> Your Teacher Mona AlAbdouli
Revision for Grade 7 in Unit #2&3 Design & Technology Subject
SECTION 3 – Multiple Choice
Choose and circle the correct answer – A, B, C or D. (1 mark each)
1.What is a string? 6. A condition-controlled loop is:
A) A pseudocode A) iteration continues while, or until,
B) A comparative operator a condition is met.
C) A series of characters B) the number of iterations to occur
D) A series of numbers is already known
C) iteration not continues.
D) the number of iterations
2. What is an algorithm?
A) A sequence of instructions 7. A good example of using infinite
B) A box to store instructions loop:
C) A box to store instructions A) Program that count to 100
D) A build in function B) Program that print hello
C) controls a traffic light you want to
3. Which of the followed is indented? run forever.
A) Hello D) Control driving car system
B) Hello
C) Hello 8. What does the operator !=
D) olleH means?
A) Assign value
4.Which of the following is an integer B) Not assign
input function? C) Equal
A) int(input()) D) Not Equal
B) input()
C) print() 9. functions like input() and print()
D) float(input()) are:
A) Built-in functions
5. What does the operator * do? B) Built-in equations
A) Subtract C) Built-in variables
B) Multiply D) Built-in operators
C) Divide 10) Anything in speech marks “ “ is
D)Modulus treated as:
A)Float Number
B) Integer Number
Good Luck >>> Your Teacher Mona AlAbdouli C)string 5
D)Array
Revision for Grade 7 in Unit #2&3 Design & Technology Subject
SECTION 3 – Multiple Choice
Choose and circle the correct answer – A, B, C or D. (1 mark each)
1.What is a string? 6. A condition-controlled loop is:
A) A pseudocode A) iteration continues while, or
B) A comparative operator until, a condition is met.
C) A series of characters B) the number of iterations to occur is
D) A series of numbers already known
C) iteration not continues.
D) the number of iterations
2. What is an algorithm?
A) A sequence of instructions 7. A good example of using infinite
B) A box to store instructions loop:
C) A box to store instructions A) Program that count to 100
D) A build in function B) Program that print hello
C) controls a traffic light you
3. Which of the followed is indented? want to run forever.
A) Hello D) Control driving car system
B) Hello
C) Hello 8. What does the operator != means?
D) olleH A) Assign value
B) Not assign
4.Which of the following is an integer C) Equal
input function? D) Not Equal
C) A) int(input())
B) input() 9. functions like input() and print()
C) print() are:
D) float(input()) A) Built-in functions
B) Built-in equations
5. What does the operator * do? C) Built-in variables
A) Subtract D) Built-in operators
B) Multiply 10) Anything in speech marks “ “ is
C) Divide treated as:
D)Modulus A)Float Number
B) Integer Number
C)text
Good Luck >>> Your Teacher Mona AlAbdouli D)Array 6
Revision for Grade 7 in Unit #2&3 Design & Technology Subject
SECTION 3 – Multiple Choice
Choose and circle the correct answer – A, B, C or D. (1 mark each)
7
Good Luck >>> Your Teacher Mona AlAbdouli
Revision for Grade 7 in Unit #2&3 Design & Technology Subject
SECTION 4 – True or False
Choose and circle the correct answer TRUE or FALSE. (1 mark each)
1.Python is a modern interpreted programing language. TRUE FALSE
2. condition-controlled loops is used when the number of
iterations to occur is already known. TRUE FALSE
7. functions like randint() are stored in modules which need to TRUE FALSE
be loaded before you can use them(using command import).
12. There are two main ways that algorithms and code design TRUE FALSE
can be represented – pseudocode and flowcharts.
__________________________________________________
__________________________________________________
__________________________________________________
2.Write the output of following programs and the type of loop .
9
Good Luck >>> Your Teacher Mona AlAbdouli
Revision for Grade 7 in Unit #2&3 Design & Technology Subject
SECTION 5 – Short Answers (3 marks each)
3.Write pseudocode of program that ask the input of your name
and store it in name variable and display Hello and name.
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
_________________________________________________
10
Good Luck >>> Your Teacher Mona AlAbdouli