List

List

University

8 Qs

quiz-placeholder

Similar activities

Python 2

Python 2

University

10 Qs

Python

Python

University

10 Qs

Java quiz based on inheritance

Java quiz based on inheritance

University

10 Qs

C Programming Quiz-6

C Programming Quiz-6

University

10 Qs

แบบทดสอบ Power BI : Adv Visualization

แบบทดสอบ Power BI : Adv Visualization

University

8 Qs

Python Lists and Tuples

Python Lists and Tuples

University

11 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Python Basics

Python Basics

6th Grade - University

10 Qs

List

List

Assessment

Quiz

University

Medium

Created by

Josan Tamayo

Used 41+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [5, 'old', 'new', 8, 'time', 2]

print(my_list[0])

5

new

error

time

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [5, 'old', 'new', 8, 'time', 2]

print(my_list[2])

5

new

error

time

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [5, 'old', 'new', 8, 'time', 2]

print(my_list[4])

5

new

error

time

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [5, 'old', 'new', 8, 'time', 2]

print(my_list[6])

5

new

error

time

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [2.3, 'dog', 34, 'cat', 52]

print(my_list[-1])

52

2.3

cat

error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [2.3, 'dog', 34, 'cat', 52]

print(my_list[-2])

52

2.3

cat

error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [2.3, 'dog', 34, 'cat', 52]

print(my_list[-6])

52

2.3

cat

error

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be printed after each of the following code segments?

my_list = [2.3, 'dog', 34, 'cat', 52]

print(my_list[-5])

52

2.3

cat

error