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
10 questions
Python L2 Input & Variable

Quiz
•
6th - 8th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
10 questions
Python Statements

Quiz
•
5th - 7th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
15 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade