Python Review Questions

Python Review Questions

10th - 12th Grade

23 Qs

quiz-placeholder

Similar activities

Python Basics Review

Python Basics Review

10th Grade

18 Qs

Python Strings

Python Strings

11th Grade

21 Qs

Python Exam 2 (Intro to comp sci 4_30_20)

Python Exam 2 (Intro to comp sci 4_30_20)

9th - 12th Grade

20 Qs

Python Loops Review

Python Loops Review

9th - 12th Grade

19 Qs

Intro to Python Programming - Year 8

Intro to Python Programming - Year 8

8th Grade - University

20 Qs

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

Python - Iteration (For Loops)

Python - Iteration (For Loops)

10th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

Python Review Questions

Python Review Questions

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Dr. Moriarty

Used 19+ times

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What's a variable?

a storage box

a way to repeat code

a reuseable piece of code

a way to branch your code

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you declare a variable in python?

score = 100

int score = 100;

def score(100):

score 100

3.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

What are TWO ways I can add 100 to the variable "score"?

score += 100

score = score + 100

score + 100

score = 100

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which symbol represents modulo, which means to divide two numbers and keep the remainder?

%

**

//

/

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the correct way to use the floor division operator, which divides two numbers and throws out the remainder?

score = score//10

score = score/10

score//10

score = score** 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which operator raises one number to the power of another?

**

*

^

&

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Extra Credit: name this pokemon

Gible

Sharkey

Jaws

StinkyFish

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?