Review Python

Review Python

12th Grade

25 Qs

quiz-placeholder

Similar activities

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

N+ Chapter 5

N+ Chapter 5

12th Grade

20 Qs

Media and Information Literacy Quiz No. 1

Media and Information Literacy Quiz No. 1

12th Grade

20 Qs

Processing- The CPU Quiz

Processing- The CPU Quiz

10th Grade - University

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

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

Review Python

Review Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Anne Schreiber

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?