Computer Science class 11

Computer Science class 11

11th Grade

10 Qs

quiz-placeholder

Similar activities

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

Python Quiz 1 - Data Types

Python Quiz 1 - Data Types

KG - University

10 Qs

List, dictionary and tuple

List, dictionary and tuple

6th Grade - Professional Development

15 Qs

Python Pandas

Python Pandas

11th - 12th Grade

10 Qs

Dictionary in Python

Dictionary in Python

7th - 12th Grade

10 Qs

Python Selection Statements

Python Selection Statements

11th Grade

10 Qs

Coding and Robotics

Coding and Robotics

8th - 12th Grade

12 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 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?