Review Python

Review Python

12th Grade

25 Qs

quiz-placeholder

Similar activities

python quiz

python quiz

12th Grade

20 Qs

Python Strings & Lists

Python Strings & Lists

11th - 12th Grade

20 Qs

General Python year 10

General Python year 10

9th Grade - University

20 Qs

Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

Python Quiz (part 1)

Python Quiz (part 1)

9th - 12th Grade

20 Qs

function in python

function in python

12th Grade

20 Qs

Python Basics & Syntax

Python Basics & Syntax

10th - 12th Grade

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Review Python

Review Python

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Anne Schreiber

Used 12+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is x = 15.8?

String

Float

Integer

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a variable?

create.variable(‘x’)

x == 25

print (‘Create variable x=25’)

x = 25

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the right statement:

25 < 8

3%3 == 1

5 + 2 > 6

33 - 9 < 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following options removes an element from a list called tower:

tower.append(“carrot”)

tower.pop(5)

tower[1]=”blue”

tower.insert(1,”orange”)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, we can create lists that include elements of many different types (floats, strings and integers)?

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way of extracting the word “dog” from the list:

Animals= [“cat”,”dog”,”bird”]

Animals(2)

Animals[1]

Animals[2]

Animals(1)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the correct answer:

if a<b

print(a)

if a<b:

print(a)

if (a=b):

print(b)

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?