Chapter 6 -  Chapter 8 Python

Chapter 6 - Chapter 8 Python

University

55 Qs

quiz-placeholder

Similar activities

Prelim Exam - CC105 - Information Management (Database 2)

Prelim Exam - CC105 - Information Management (Database 2)

University

51 Qs

Prelim Exam - AI101 - Fundamentals of Artificial Intelligence

Prelim Exam - AI101 - Fundamentals of Artificial Intelligence

University

50 Qs

Midterm Examination In ICT BSME 2A-2F

Midterm Examination In ICT BSME 2A-2F

University

50 Qs

INFORMATIKA

INFORMATIKA

10th Grade - University

50 Qs

ICT 211 : Prelim Exam

ICT 211 : Prelim Exam

University

50 Qs

CS0007 - Diagnostic Exam

CS0007 - Diagnostic Exam

University

50 Qs

Cryptography Quiz

Cryptography Quiz

University

50 Qs

Data Mining Quiz

Data Mining Quiz

University

50 Qs

Chapter 6 -  Chapter 8 Python

Chapter 6 - Chapter 8 Python

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Easy

Created by

Chong May

Used 42+ times

FREE Resource

AI

Enhance your content in a minute

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

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?

Access all questions and much more by creating a free account

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?