Python Lists

Python Lists

12th Grade

12 Qs

quiz-placeholder

Similar activities

Internet Technologies

Internet Technologies

12th Grade

10 Qs

ARRAYS

ARRAYS

11th - 12th Grade

10 Qs

Programacion Orientada a Objetos

Programacion Orientada a Objetos

12th Grade - University

10 Qs

ICT_LU3-Computer Software_League2

ICT_LU3-Computer Software_League2

10th - 12th Grade

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

Python Lists

Python Lists

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Harrison Fung

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these codes is correct for creating a list of numbers?

num = ('10','29','37','109')

num = ['10','29','37','109']

num == ('10','29','37','109')

num = ['10 29 37 109']

2.

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

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the index number for 'Spain'?

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

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do i remove something from a list?

variable.append()

variable.delete()

variable.remove()

variable=(new variable)

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

What is used to separate elements in a list?

Bracket

Comma

Full Stop

Space

7.

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

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?