Computer Science class 11

Computer Science class 11

11th Grade

10 Qs

quiz-placeholder

Similar activities

Python and PseudoCode Quiz

Python and PseudoCode Quiz

10th Grade - University

15 Qs

List Quiz No 1

List Quiz No 1

11th - 12th Grade

10 Qs

Python Basics

Python Basics

KG - University

15 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

Pandas Series-1–Quiz

Pandas Series-1–Quiz

11th - 12th Grade

11 Qs

Python_quiz

Python_quiz

11th Grade

15 Qs

Quiz 1

Quiz 1

11th - 12th Grade

10 Qs

Computer Science class 11

Computer Science class 11

Assessment

Quiz

Computers

11th Grade

Medium

Created by

valarie valarie

Used 19+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is mutable in Python?

Tuple

String

List

Dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will tuple1 = (1, 2, 3); tuple1[1] = 4 result in?

(1, 4, 3)

(1, 2, 3, 4)

Error

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of len("Python")?

5

6

7

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add a new key-value pair to a dictionary?

add()

append()

insert()

update()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a looping statement in Python?

if-else

for

switch-case

break

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The keyword used to exit a loop prematurely is _________.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid string operation?

Concatenation (+)

Repetition (*)

Indexing ([])

Subtraction (-)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?