Search Header Logo

Semester Final 2025

Authored by Ashutosh Kumar

Computers

10th Grade

Used 4+ times

Semester Final 2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?