Python for Beginner - Module 1
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Hard
Jeremy Chen
Used 20+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
To make a computer show a message "Hello World!" on the screen.
Your code:
print "Hello World!"
print(Hello World!)
show("Hello World!")
print("Hello World!")
show "Hello World!"
2.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Jimmy tries to show a message on the screen but there is a mistake in his code.
print('I'm Jimmy!')
How to fix his code?
print(I'm Jimmy!)
print 'I'm Jimmy!'
print("I'm Jimmy!")
write I'm Jimmy!
I'm Jimmy!
3.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Which is a good variable name?
x
365days
my name
travel_distance
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
To assign (store) things into a variable in Python. You use:
=
==
:=
<-
5.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Julia was given a variable my_pet but her pet is a dog.
What can she do in Python?
>>> my_pet = "cat"
Choose the easiest way.
change my_pet to "dog"
my_pet = "dog"
"my_2nd_pet" = "dog"
my_pet = ""
my_pet = "dog"
6.
MULTIPLE SELECT QUESTION
2 mins • 5 pts
To draw a picture like this in Python Turtle, you need:
from turtle import *
forward(100)
right(90)
pencolor("red")
stop()
7.
MULTIPLE SELECT QUESTION
2 mins • 5 pts
To do maths in Python, you use:
+ for plus
- for minus
* for multiply
% for divide
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
CPU
Quiz
•
7th Grade
12 questions
prep1-revision
Quiz
•
7th Grade
10 questions
RAČUNALO I ZDRAVLJE
Quiz
•
1st Grade - Professio...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
12 questions
Vocabulary Review Notes #2
Quiz
•
7th - 8th Grade
13 questions
Networks Year 8 Mid Term Assessment
Quiz
•
7th Grade
10 questions
Animal Rescue Websites Quiz 1
Quiz
•
7th Grade
15 questions
Computer Lab Rules
Quiz
•
KG - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
