Python!

Python!

12th Grade

23 Qs

quiz-placeholder

Similar activities

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

2324tx6

2324tx6

9th - 12th Grade

20 Qs

TIK01

TIK01

12th Grade

25 Qs

Coding Basics SC-1

Coding Basics SC-1

7th - 12th Grade

20 Qs

FNaF 2

FNaF 2

5th Grade - University

24 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

Module 20 - Essentials of Networking 1

Module 20 - Essentials of Networking 1

9th - 12th Grade

20 Qs

Python!

Python!

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Dr. Moriarty

Used 127+ times

FREE Resource

AI

Enhance your content in a minute

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

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's the correct way to declare a variable in python?

int x = 5;

x = 5;

x = 5

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's the correct way to check if a player's score is greater than 100 in python?

if score > 100:

if (score > 100)

if score >100{

if score > 100

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Extra Credit: Which Animal Crossing character yells at you if you neglect to save?

Mr. Resetti

Isabelle

Tom Nook

K.K. Slider

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how do you write "else if" in python?

if else

else if

ifels

elif

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

convert the C++ loop for(int i = 0; i<10; i++) to python

for i, i<10, i++:

for i in range (0, 10):

for int i in range (0,10)

for i range (0, 10)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python, to show that a statement goes inside a loop, function definition, or if statement, you...

put it in parenthesis

put it in curly brackets

add a colon (:) after it

tab or space it over to the right

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which symbol is used to begin a comment line in python?

#

//

*

/

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?