Computer Science class 11

Computer Science class 11

11th Grade

10 Qs

quiz-placeholder

Similar activities

Set Dictionary List Tuple Python

Set Dictionary List Tuple Python

11th - 12th Grade

7 Qs

Python Lists Dictionaries Tuple Set

Python Lists Dictionaries Tuple Set

11th - 12th Grade

7 Qs

Python Tuples Review

Python Tuples Review

11th Grade

15 Qs

Dictionary Class 11

Dictionary Class 11

11th - 12th Grade

12 Qs

python basics quiz

python basics quiz

9th - 12th Grade

15 Qs

KS4 Python While Loops and For Loops

KS4 Python While Loops and For Loops

9th - 11th Grade

13 Qs

Python Revision

Python Revision

11th - 12th Grade

15 Qs

CO - 2_ Quiz 1_Python Conditionals

CO - 2_ Quiz 1_Python Conditionals

10th Grade - University

15 Qs

Computer Science class 11

Computer Science class 11

Assessment

Quiz

Computers

11th Grade

Medium

Created by

valarie valarie

Used 11+ 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?