Class-XI_IP_Python

Class-XI_IP_Python

11th Grade

10 Qs

quiz-placeholder

Similar activities

TIN 9 BÀI 1,2

TIN 9 BÀI 1,2

1st - 12th Grade

15 Qs

Alapismeretek

Alapismeretek

7th - 12th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

G7 - Ôn tập C1,2

G7 - Ôn tập C1,2

KG - University

10 Qs

Câu hỏi trắc nghiệm

Câu hỏi trắc nghiệm

11th Grade

10 Qs

TIK KLS 7-8 PAS Genap 2022-2023

TIK KLS 7-8 PAS Genap 2022-2023

9th - 12th Grade

15 Qs

PREGUNTAS BÁSICAS SOBRE CONOCIMIENTO INFORMÁTICO

PREGUNTAS BÁSICAS SOBRE CONOCIMIENTO INFORMÁTICO

1st Grade - Professional Development

10 Qs

Class-XI_IP_Python

Class-XI_IP_Python

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Preeti Vig

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for conditional branching in Python?

select

case

if

choose

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following code?

x = 4

while x < 6:

print(x)

x += 1

4

4 5

Infinite loop

5 6

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output for the following code-

for i in range(2):

print(i, end=" ")

0 1

1 2

0 1 2

1

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is output of the following code-

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

print(i, end=" ")

1 2 3 4 5 6 7 8 9

1 3 5 7 9

1 4 7

3 6 9

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output for the following code-

x = 7

if x % 2 == 0:

print("Even")

else:

print("Odd")

Even

Odd

Error

None

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of the following loop-

for i in range(3):

print("Hello", i)

Hello Hello Hello

Hello 1 Hello 2 Hello 3

Hello 0 Hello 1 Hello 2

Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following will print numbers from 10 to 1?

range(10, 1)

range(1, 10, -1)

range(10, 0, -1)

range(0, 10, -1)

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

Already have an account?