Python Basics

Python Basics

6th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

latihan soal urain

latihan soal urain

8th Grade

10 Qs

Ôn lại kiến thức  Lớp 3 T13

Ôn lại kiến thức Lớp 3 T13

1st - 10th Grade

10 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

ÔN TẬP TIN 8 GIỮA KÌ 2

ÔN TẬP TIN 8 GIỮA KÌ 2

8th Grade

13 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

prep1-revision

prep1-revision

7th Grade

12 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

6th - 12th Grade

Practice Problem

Hard

Created by

Jason Sienkiewicz

Used 2K+ times

FREE Resource

AI

Enhance your content in a minute

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

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To display something on the screen, use this command:

print()

Print()

screen()

write()

display()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To display the following on screen

Hello World!

the following command should be used:

print(Hello World!)

print("Hello World!")

print("Hello World" + !)

print"(Hello World!)"

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

x = 5

y = 6

print(x*y)


The code above displays the following:

11

x*y

Syntax Error

30

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

x = 5

y = 6

print("x*y")


The code above displays the following:

11

x*y

Syntax Error

30

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

x = 5

y = 6

print(x*y)


Select the correct answer(s):

x is a variable

x is a value

print() is a funciton

6.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

age = 16

message = "my age is: "

print (message, age)


Select the correct answer(s) below:

the output would read:

my age is 16

age is a variable

16 is assigned to the age variable

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

cakeAmount = input()

print ("We have", cakeAmount, " cakes")


The above code is run. You type:

six


Select the correct output.

We have 6 cakes

We have six cakes

Error

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?