Python for Beginner - Module 1

Python for Beginner - Module 1

7th Grade

10 Qs

quiz-placeholder

Similar activities

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

Keyboard Review 1

Keyboard Review 1

6th - 8th Grade

10 Qs

Программирование алгоритма 8 класс

Программирование алгоритма 8 класс

1st - 10th Grade

10 Qs

DASAR TIK

DASAR TIK

7th Grade

10 Qs

Google Sheets Functions Review

Google Sheets Functions Review

7th - 8th Grade

10 Qs

Internet Basics Review #1

Internet Basics Review #1

6th - 8th Grade

14 Qs

Python Alternating Turns

Python Alternating Turns

7th - 12th Grade

10 Qs

Year 8 - Lesson 15

Year 8 - Lesson 15

7th Grade

10 Qs

Python for Beginner - Module 1

Python for Beginner - Module 1

Assessment

Quiz

Computers

7th Grade

Practice Problem

Hard

Created by

Jeremy Chen

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

print

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?