Python - Chapter 3 Practice Quiz

Python - Chapter 3 Practice Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

C++: Control y Funciones

C++: Control y Funciones

12th Grade

20 Qs

Ktra thường xuyên Tin 11

Ktra thường xuyên Tin 11

11th Grade - University

20 Qs

Penilaian Akhir Semester Informatika

Penilaian Akhir Semester Informatika

9th - 12th Grade

20 Qs

Mikrokontroller

Mikrokontroller

12th Grade

20 Qs

Cloud Service Models & Software Process Models

Cloud Service Models & Software Process Models

2nd Grade - University

20 Qs

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

10th Grade - University

20 Qs

Khám Phá Thiết Kế Mạng LAN

Khám Phá Thiết Kế Mạng LAN

1st Grade - University

20 Qs

Final - Informatics

Final - Informatics

12th Grade

20 Qs

Python - Chapter 3 Practice Quiz

Python - Chapter 3 Practice Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Greg Michael

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable in Python is...

A named container that stores values.

A function that executes code.

A constant value that cannot be changed.

An error encountered during execution.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an assignment statement do in Python?

It assigns a value to a variable.

It performs arithmetic operations.

It performs logical operations.

It takes input from the user.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, the '=' symbol...

denotes an assignment operation.

denotes an equality check.

denotes a comparison operation.

denotes a subtraction operation.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The left side of an assignment in Python must be...

A literal

A variable

An expression

A function call

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about Python identifiers?

They can include letters, digits, and underscores, but cannot start with a digit.

They can start with a digit and include any characters.

They must start with an underscore and can only include letters.

They can only consist of digits.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is case-sensitive. True or False?

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what is a floating-point number?

A number with a fractional part, represented with a decimal point.

A whole number without a fractional component.

A number expressed in exponential notation only.

A string representing a number.

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?