Python!

Python!

12th Grade

23 Qs

quiz-placeholder

Similar activities

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Animated Canvas

Animated Canvas

9th - 12th Grade

19 Qs

Python List, and String

Python List, and String

10th Grade - University

20 Qs

N+ Chapter 5

N+ Chapter 5

12th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Bài 1 Excel - thẻ Home

Bài 1 Excel - thẻ Home

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?

#

//

*

/

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?