Control Statements in Python

Control Statements in Python

11th Grade

20 Qs

quiz-placeholder

Similar activities

UH1_19-20_WAN

UH1_19-20_WAN

11th Grade

15 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

business 1.4 revision

business 1.4 revision

KG - Professional Development

20 Qs

Functions in C++

Functions in C++

11th Grade

20 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Pengetahuan Dasar Komputer

Pengetahuan Dasar Komputer

9th - 12th Grade

20 Qs

Visual Basic Assessment

Visual Basic Assessment

11th - 12th Grade

21 Qs

Control Statements in Python

Control Statements in Python

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Archana Pataskar

Used 178+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 12 pts

Function range(3) is equivalent to "

range(1,3)

range(0,3)

range(0,3,1)

range(1,3,0)

2.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Consider the following loop given below :


for i in range(5):

print(i)


How many times will this loop run ?

5

0

infinite

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code?

for word in "Jump Statement":

if word == "u":

break

print (word, end='')

Jump Statement

Jump

J

Ju

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Predict the output of following code

for word in "Jump Statement":

if word == "e":

continue

print (word, end='')

Jump Statement

Jump Statmnt

Jump

Statmnt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following jump statement is used to terminate the loop?

continue

goto

pass

break

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used in python for loop to specify the initial, final and increment values?

range

print

format

input

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The condition in the statement should be in the form of

Arithmetic r relational expression

Arithmetic or Logical expression

Relational or Logical expression

Arithmetic

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?