Python list starter

Python list starter

10th Grade

12 Qs

quiz-placeholder

Similar activities

list 3

list 3

9th - 12th Grade

15 Qs

Python Quiz for Grade 11 List, Tuple &  Strings

Python Quiz for Grade 11 List, Tuple & Strings

11th Grade

10 Qs

Python Lists and Tuples

Python Lists and Tuples

12th Grade

10 Qs

PythonTest

PythonTest

6th Grade - Professional Development

11 Qs

list in python

list in python

10th - 12th Grade

15 Qs

Python lists and tuples

Python lists and tuples

12th Grade

10 Qs

Javascript Lists Lecture Knowledge Check

Javascript Lists Lecture Knowledge Check

9th - 12th Grade

11 Qs

2-列表与元组

2-列表与元组

University

10 Qs

Python list starter

Python list starter

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Razia Suleman Darvesh

Used 2+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the index of “grape” in the list

[“apple”, “grape”, “orange”, “watermelon”]?

0

1

2

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which brackets are used to create Lists?

()

{}

[]

Answer explanation

Lists are created using square brackets and have commas separating the different data values.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Variable

Takes and input from a user.

Represents a particular value held in the memory.

Displays the results.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num = [1, 2, 3, 4]

num.append(0)

print(num)

What is the output?

[0,1,2,3,4]

[1,2,3,4,5]

[0,1,2,3]

[1,2,3,4,0]

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code?

list = []

list.append(1)

list.append(2.0)

list.append("vk")

print(list)

[1, 2.0, 'vk']

Error

['vk', 1, 2.0]

No putput

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a list?

fruit = ["apples", "oranges", "bananas"]

fruit = "apples", "oranges", "bananas"

fruit = {"apples", "oranges", "bananas"}

fruit = ("apples", "oranges", "bananas")

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of Following code?

cheeses = ['Cheddar', 'Edam', 'Gouda']

numbers = [42, 123]

print(cheeses, numbers)

['Cheddar', 'Edam', 'Gouda'] [42, 123]

[42, 123] ['Cheddar', 'Edam', 'Gouda']

Compilation Error

No output

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?