Search Header Logo

XI quiz

Authored by Vijayalakshmi Kavoor

Computers

11th Grade

Used 4+ times

XI quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Identify the invalid identifier

_myfile

my-file

myfile_

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be size of the following constants?

a) “Sohan's”

b) “Sohan\'s “

7

7

7

8

6

6

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following iscorrect ways of creating strings?

tname=Riya

tname="Neha"

tname=(Nithin)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Write the output of the following:

a,b,c=8,6,8

b,c,a= a * 2, b - 3, c **1

print(a, b, c)

No output

8 16 3

3,8,16

Error

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

l1=['x','y','z']

l2=[4,6,8]

print(l1+l2)

Error

[4, 6, 8,'x','y','z']

['x', 'y', 'z', 4, 6, 8]

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

str="Transaction"

print(str.rstrip("ion"))

Transact

Transaction

Error

No output

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

l1=['x','y','z']

del l1[1]

print(l1)

['y']

['x', 'z']

Error

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?