Lists in Python

Lists in Python

11th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Data Manipulation IGCSE (Introduction to database) Grade 10

Data Manipulation IGCSE (Introduction to database) Grade 10

10th - 11th Grade

20 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

Yr 11 ICT quiz 1 Networks & Security

Yr 11 ICT quiz 1 Networks & Security

10th - 11th Grade

20 Qs

CIW

CIW

9th - 12th Grade

15 Qs

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

Primary storage

Primary storage

9th - 11th Grade

20 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Lists in Python

Lists in Python

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Medium

Created by

Vivekta Singh

Used 98+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items have an index number. In the following list, which item has the index number of 3?

["John", "Harry", "Jesse", "John", "Harry", "Harry"]

"John"

"Harry"

"Jesse"

"John"

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a list in python?

A collection of variables

A collection of items assigned to a single variable

A statement that cant be changed

A Christmas list

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the index number for 'Spain'?

['England','Brazil','Spain','France']

0

1

2

3

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which code would i use to add an item to a list?

variable.add()

variable.append()

append.variable()

add.variable()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why is using lists beneficial?

Shorter Code

More Accurate

It takes less time for the program to run

Its not beneficial

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What sort of loop is this?

Count Controlled

Condition Controlled

Create a free account and access millions of resources

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?