Assessment Quiz 2

Assessment Quiz 2

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

List in Python

List in Python

8th - 9th Grade

10 Qs

Python - List

Python - List

9th - 12th Grade

10 Qs

Python Lists Dictionaries Tuple Set

Python Lists Dictionaries Tuple Set

12th Grade

10 Qs

Code.org Unit 6 - Lists

Code.org Unit 6 - Lists

9th - 12th Grade

12 Qs

CodeHS

CodeHS

10th - 12th Grade

12 Qs

CodeHS APCSP Python

CodeHS APCSP Python

10th - 12th Grade

12 Qs

Python Quiz

Python Quiz

8th Grade

15 Qs

python basics quiz

python basics quiz

9th - 12th Grade

15 Qs

Assessment Quiz 2

Assessment Quiz 2

Assessment

Quiz

Computers

7th - 12th Grade

Easy

Created by

Shivam Mishra

Used 1K+ times

FREE Resource

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

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?