Semester Final 2025

Semester Final 2025

10th Grade

40 Qs

quiz-placeholder

Similar activities

Program Development - Python: Code Tracing

Program Development - Python: Code Tracing

8th - 10th Grade

35 Qs

EC1

EC1

University

40 Qs

Bài 4, 6 chủ đề F tin 10

Bài 4, 6 chủ đề F tin 10

10th Grade

43 Qs

QUIZ BASIC PYTHON

QUIZ BASIC PYTHON

11th Grade

40 Qs

Practice Python 11th Grade

Practice Python 11th Grade

11th Grade

40 Qs

Test

Test

12th Grade

45 Qs

Python Introduction quiz 2023-24

Python Introduction quiz 2023-24

11th Grade

45 Qs

series quiz by vaishali kohli lamba

series quiz by vaishali kohli lamba

12th Grade

39 Qs

Semester Final 2025

Semester Final 2025

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Ashutosh Kumar

Used 4+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? python mylist = [1, 2, 3] print(mylist[1])

1

2

3

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add an item at the end of a list?

insert()

add()

append()

extend()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does mylist[-1] return?

First item

Last item

Second item

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method removes all items from a list?

clear()

delete()

remove()

pop()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of: python x = [2, 4, 6] x.append([8, 10]) print(x)

[2, 4, 6, 8, 10]

[2, 4, 6, [8, 10]]

[2, 4, 6, 8]

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a list and a tuple?

Tuples are faster

Tuples are immutable

Lists are immutable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a tuple with one element?

(4)

[4]

(4,)

tuple(4)

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?