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 Loops

Python Loops

9th - 11th Grade

12 Qs

Pandas Series-1–Quiz

Pandas Series-1–Quiz

11th - 12th Grade

11 Qs

Python and PseudoCode Quiz

Python and PseudoCode Quiz

10th Grade - University

15 Qs

Grade 12-Python selection&iteration

Grade 12-Python selection&iteration

11th - 12th Grade

15 Qs

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

Python_quiz

Python_quiz

11th Grade

15 Qs

Computer Science class 11

Computer Science class 11

Assessment

Quiz

Computers

11th Grade

Medium

Created by

valarie valarie

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