Semester Final 2025

Semester Final 2025

10th Grade

40 Qs

quiz-placeholder

Similar activities

String in Python

String in Python

University

36 Qs

GCSE Python Legends

GCSE Python Legends

1st - 12th Grade

45 Qs

Python

Python

11th Grade

38 Qs

Input, Processing, Output

Input, Processing, Output

9th - 12th Grade

44 Qs

Quiz SuperEZ de Python/Flet

Quiz SuperEZ de Python/Flet

11th Grade

40 Qs

икт зәипал

икт зәипал

University

40 Qs

TN tin qh

TN tin qh

10th Grade

42 Qs

Bài tập python cơ bản

Bài tập python cơ bản

9th - 12th Grade

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