Python for Beginner - Module 1

Python for Beginner - Module 1

7th Grade

10 Qs

quiz-placeholder

Similar activities

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Python Statements

Python Statements

5th - 7th Grade

10 Qs

Python basics

Python basics

6th - 8th Grade

15 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python L2 Input & Variable

Python L2 Input & Variable

6th - 8th Grade

10 Qs

Python тілінде программалау

Python тілінде программалау

1st - 10th Grade

10 Qs

Python

Python

KG - 9th Grade

8 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python for Beginner - Module 1

Python for Beginner - Module 1

Assessment

Quiz

Computers

7th Grade

Hard

Created by

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

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers