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
15 questions
Year 8 | Intro to Python | Quiz 1

Quiz
•
7th Grade
15 questions
3D Printing

Quiz
•
6th - 8th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
10 questions
Quick Calculations with Python

Quiz
•
7th Grade - University
11 questions
Python Intro 1

Quiz
•
7th - 12th Grade
10 questions
BÀI 8 + BÀI 9

Quiz
•
7th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade