Al Manar Language School
Al Manar Language School
American section
IT Department
o a) Go(100)
o b) Turn(90)
o c) Pen_down()
o d) Reset()
Answer: a) Go(100)
o a) Width(10)
o b) Color("green")
o c) Pen_down()
o d) Turn(90)
Answer: b) Color("green")
o a) Pen_up()
o b) Reset()
o c) Clear()
o d) Both b and c
Answer: d) Both b and c
o a) while
o b) for
o c) if
o d) switch
Answer: b) for
5. What is the correct syntax to print "Hello, World" in Python?
o a) print[Hello, World]
o b) echo("Hello, World")
o c) print("Hello, World")
o d) printf("Hello, World")
Answer: c) print("Hello, World")
o a) 2variable
o b) my-variable
o c) _variable2
o d) my variable
Answer: c) _variable2
o a) 4
o b) Sally
o c) Error
o d) None
Answer: b) Sally
o a) Hide()
o b) Invisible()
o c) Pen_up()
o d) Clear()
Answer: b) Invisible()
o a) =
o b) ==
o c) !=
o d) <>
Answer: b) ==
10. How do you draw a triangle using a loop in Turtle Graphics?
Word Bank: Go, Turn, Color, Reset, Pen_down, If, Width, Boolean, Variables, Turtle
2. To turn the turtle to the left, you use the __Turn__ command.
4. The __Reset__ command clears the screen and resets the turtle.
print("Hello, World")
for i in range(4):
Go(100)
Turn(360/4)
3. Create a variable name and assign it the value "Alice":
name = "Alice"
for i in range(3):
Go(100)
Turn(360/3)
Invisible()
print("Adult")
for i in range(5):
print(i)
Color("blue")
Clear()
height = 5.9
11. Complete the code to make the turtle draw without a pen:
Pen_up()
for i in range(36):
Go(10)
Turn(10)
if a == b:
print("Equal")
14. Code to assign a Boolean value True to a variable:
is_visible = True
for i in range(5):
Go(100)
Turn(360/5)
***********************************************************************************
End of
Questions