Python PE1 Review

Python PE1 Review

12th Grade

28 Qs

quiz-placeholder

Similar activities

Komputer Akuntansi Manufaktur

Komputer Akuntansi Manufaktur

12th Grade

25 Qs

TLE-ICT

TLE-ICT

9th - 12th Grade

25 Qs

Signed Integers and Subtraction

Signed Integers and Subtraction

12th Grade

24 Qs

Word Review-- test 2

Word Review-- test 2

9th - 12th Grade

24 Qs

Pra-PSPM SC025(F04)

Pra-PSPM SC025(F04)

12th Grade

24 Qs

PHP

PHP

12th Grade

23 Qs

Video Games

Video Games

KG - University

28 Qs

Module 7 Motherboards 1

Module 7 Motherboards 1

9th - 12th Grade

25 Qs

Python PE1 Review

Python PE1 Review

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Joseph Gilliam

Used 25+ times

FREE Resource

AI

Enhance your content in a minute

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

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a variable in Python?

To perform complex mathematical operations

To store and manage data

To create loops

To display messages to the user

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used to store whole numbers in Python?

Float

String

Integer

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to get user input in Python?

print()

readline()

get_input()

input()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a basic arithmetic operator in Python?

+

-

*

%

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two Boolean values in Python?

Yes and No

True and False

On and Off

Positive and Negative

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a conditional statement, what keyword is used to execute a block of code if a condition is met?

while

for

then

if

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop in Python is used for iterating over a sequence (e.g., a list)?

while loop

do-while loop

for loop

if loop

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?