Class-XI_IP_Python

Class-XI_IP_Python

11th Grade

10 Qs

quiz-placeholder

Similar activities

Bài 10-Thực hành khai thác tài nguyên trên Internet

Bài 10-Thực hành khai thác tài nguyên trên Internet

10th - 12th Grade

10 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Bài 2-Vai trò của thiết bị thông minh và tin học đối với xã hội

Bài 2-Vai trò của thiết bị thông minh và tin học đối với xã hội

10th - 12th Grade

10 Qs

Parcial 2 - Robótica

Parcial 2 - Robótica

11th Grade

10 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

Tin học 10 _ Bài 16 _Định dạng văn bản

Tin học 10 _ Bài 16 _Định dạng văn bản

10th - 12th Grade

10 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th Grade

10 Qs

Quis Grade 5

Quis Grade 5

9th - 12th Grade

15 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)

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?