Python Data Types and Control Statements Quiz

Python Data Types and Control Statements Quiz

University

15 Qs

quiz-placeholder

Similar activities

Python basic 2

Python basic 2

University

15 Qs

R.O.M  quiz 1

R.O.M quiz 1

University

10 Qs

Robot Programming

Robot Programming

University

10 Qs

Magnetism/Electromagnetism Review

Magnetism/Electromagnetism Review

11th Grade - University

15 Qs

Electric materials

Electric materials

University

18 Qs

circuits1

circuits1

University

18 Qs

Circular Motion

Circular Motion

University

15 Qs

Electromagnetic Induction

Electromagnetic Induction

KG - University

10 Qs

Python Data Types and Control Statements Quiz

Python Data Types and Control Statements Quiz

Assessment

Quiz

Physics

University

Easy

Created by

Dhanalakshmi Renganathan

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a built-in datatype in Python?

Tuple

Dictionary

Set

List

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a sequence datatype in Python?

List

Boolean

Dictionary

Set

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operator is used for addition in Python?

Identity

Arithmetic

Logical

Relational

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to create a loop that continues until a condition is false?

break statement

while Loop

if statement

for Loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'continue' statement in loops?

To pause the loop

To skip the current iteration

To restart the loop

To exit the loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a control statement in Python?

print statement

while Loop

for Loop

if statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'break' statement do in a loop?

Continues to the next iteration

Exits the loop

Pauses the loop

Restarts the loop

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?

Discover more resources for Physics