Python Arrays 1D

Python Arrays 1D

9th - 11th Grade

10 Qs

quiz-placeholder

Similar activities

Web программирование, повторение

Web программирование, повторение

10th Grade

10 Qs

Assessment#1_Q2

Assessment#1_Q2

10th Grade

10 Qs

IX AI

IX AI

9th Grade

10 Qs

ULANGAN HARIAN Semester 2

ULANGAN HARIAN Semester 2

10th Grade

12 Qs

Pemograman Dasar Kelas X TKJ 2020

Pemograman Dasar Kelas X TKJ 2020

10th Grade

10 Qs

ICT S120 (Prelim Review)

ICT S120 (Prelim Review)

11th Grade

15 Qs

Algoritmos

Algoritmos

8th - 9th Grade

12 Qs

QBASIC Programming

QBASIC Programming

5th - 10th Grade

10 Qs

Python Arrays 1D

Python Arrays 1D

Assessment

Quiz

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Mr Abbas

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...

10 questions

Show all answers

1.

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")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each item in a list has an "address" or index. The first index in a Python list is what?

1

0

a

A

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the position of the name 'Paula' in the following list:
names = ["Paul","Phillip","Paula","Phillipa"]

0
1
2
3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What output will this code produce?

['France', 'Wales', 'England']

France

France Wales England

France

France, Wales, England

Wales

['France', 'Wales', 'England']

Wales

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, lists are often known as...

Arrays

Elements

Indexes

Data

6.

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"

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do i remove something from a list?

variable.append()

variable.delete()

variable.remove()

variable=(new variable)

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?