Python for Beginner - Module 1

Quiz
•
Computers
•
7th Grade
•
Hard

Jeremy Chen
Used 20+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
7 сынып 3тоқсан 1-2 сабак

Quiz
•
7th Grade
10 questions
Условный оператор, 7класс

Quiz
•
7th Grade
10 questions
Untitledquiz

Quiz
•
1st Grade - University
12 questions
Python - Data Types and Operators

Quiz
•
7th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
14 questions
Shortcut Keys Quiz

Quiz
•
7th Grade
10 questions
Shortcuts

Quiz
•
5th - 10th Grade
9 questions
Variables - 1

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade