Review Python

Review Python

12th Grade

25 Qs

quiz-placeholder

Similar activities

Python Quiz

Python Quiz

12th Grade

20 Qs

XII - CS - Lesson 9 - Tuple - Quiz 4

XII - CS - Lesson 9 - Tuple - Quiz 4

12th Grade

20 Qs

Python list, if

Python list, if

6th - 12th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

Python variables and operators quiz

Python variables and operators quiz

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

AP Final Review

AP Final Review

9th - 12th Grade

21 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?