Chapter 6 -  Chapter 8 Python

Chapter 6 - Chapter 8 Python

University

55 Qs

quiz-placeholder

Similar activities

Quiz on Data Science and Basic Python

Quiz on Data Science and Basic Python

University

53 Qs

Python Programming Quiz

Python Programming Quiz

University

58 Qs

tech stack

tech stack

University

55 Qs

Informatika X-2

Informatika X-2

10th Grade - University

50 Qs

ບົດເສັງທ້າຍພາກວິຊາ MP

ບົດເສັງທ້າຍພາກວິຊາ MP

University

50 Qs

Summative - Python

Summative - Python

University

60 Qs

C++ Programming Quiz (first)

C++ Programming Quiz (first)

University

52 Qs

C++ Programming Quiz (second)

C++ Programming Quiz (second)

University

53 Qs

Chapter 6 -  Chapter 8 Python

Chapter 6 - Chapter 8 Python

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Chong May

Used 41+ times

FREE Resource

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a looping statement in Python?

if

switch

while

goto

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to stop the current loop iteration and start the next one?

stop

exit

continue

break

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What will be the output?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

How many times will this loop run?

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of

for i in range(2, 10, 3):

print(i)

?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following generates the numbers 1 to 5 using a for loop?

for i in range(1, 6):

for i in range(1, 5):

for i in range(6):

for i in range(0, 5):

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the final value of i in this 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?