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

Mastering C Programming Concepts

Mastering C Programming Concepts

University

55 Qs

Кәсіби ағылшын 51 - 100

Кәсіби ағылшын 51 - 100

University

50 Qs

" C Proficiency "

" C Proficiency "

University

50 Qs

Quiz Pengetahuan Umum

Quiz Pengetahuan Umum

10th Grade - University

50 Qs

Part 2 (51-100)

Part 2 (51-100)

University

50 Qs

DSA Quiz # 1

DSA Quiz # 1

University

50 Qs

Питон 1-50

Питон 1-50

University

50 Qs

Chapter 6 -  Chapter 8 Python

Chapter 6 - Chapter 8 Python

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Chong May

Used 8+ 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?