Search Header Logo

Assessment Quiz 2

Authored by Shivam Mishra

Computers

7th - 12th Grade

Used 1K+ times

Assessment Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Print output.

x=”CHAMPION”

print(x[5])

C

A

I

P

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tell Output:

x="CHAMPION"

print(x[0:4])

CHAM

CHAMP

C

HAMP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which string method returns all characters in upper case:

upper()

replace()

title()

isupper()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In list which method is used to find the index of a number:

index()

append()

insert()

remove()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is used to add elements to the list:

append()

remove()

index()

count()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method can be used to calculate length of list:

len()

string()

count()

remove()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure can be used to save key: value pairs:

Dictionary

List

Tuple

Set

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?