Search Header Logo

LETS PLAY QUIZ - PYTHON CBSE CLASS XII

Authored by Online GCC

Computers

11th - 12th Grade

Used 164+ times

LETS PLAY QUIZ - PYTHON CBSE CLASS XII
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. for k in range (2,7) :

print(k, end=' ')

1 2 3 4 5 6

2 3 4 5 6 7

2 3 4 5 6

0 1 2 3 4 5 6

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

2. str1="Welcome"

>>> print(str1*2)

Wlecome2

2 Welcome

Error

WelcomeWelcome

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

L=[1,3,6,23,41]

>>> L[2:4]

[6, 23]

[3,6,23,41]

[6,23]

[6,23,41]

[23,41]

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What data type is the object below?

L = [1, 23, 'hello', 1]



tuple

array

list

dictionary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which statement makes the loop to forcefully exit

continue

exit

pass

break

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Lst=[12,23,41,2,31,45,67,21]

Lst.pop()

12

21

No elements will be popped

1

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

School = "Sri Chaitanya"

P=len(School)

>>> print (P)

12

13

14

15

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?