Python Lists Plus Basics

Python Lists Plus Basics

10th Grade

30 Qs

quiz-placeholder

Similar activities

web development

web development

10th Grade

25 Qs

SciVis 1 Study guide

SciVis 1 Study guide

KG - University

25 Qs

soal semester 1 kelas 7

soal semester 1 kelas 7

7th Grade - University

25 Qs

Jude software Exam

Jude software Exam

2nd Grade - University

25 Qs

World of AI

World of AI

9th - 12th Grade

25 Qs

File Organization - Information Processing Part 2

File Organization - Information Processing Part 2

5th - 12th Grade

25 Qs

Keyboard Mastery

Keyboard Mastery

10th - 11th Grade

25 Qs

PowerPoint Ch. 3

PowerPoint Ch. 3

9th - 12th Grade

25 Qs

Python Lists Plus Basics

Python Lists Plus Basics

Assessment

Quiz

Computers

10th Grade

Practice Problem

Easy

Created by

Jason Pitt

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What output will this code produce?

blue
green
red
error

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Is this the correct code for a list?

register = {"Sam", "Pheobe", Georgia", Richard"}

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the index of “grape” in the list

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

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the position of the name "Robert" in the following list:

0
1
2
3

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

In the following code, "city" is an example of a what?

List
Loop
Variable
Array

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If you want to create an empty list called colours, which of the following pieces of code is correct?

colours = [ ]
colours = ( )
colours = { }
colors = [ ]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is String in Python?

Decimal numbers.

Whole numbers only

A sequence of characters. they can be letters, numbers, symbols, punctuation marks or spaces.

T/F

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?