Search Header Logo

One-Dimensional Array in Python

Authored by Thomas Martinez

Computers

10th - 11th Grade

One-Dimensional Array in Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A FOR-NEXT loop is also described as being what?

condition-controlled
count-controlled
Uncontrolled loop
Controlled loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are data items added to an array?

Items are appended to the next free index
In alphabetical order
Data may only be read from an array, sorry
Whichever way you want

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the lower bound of the following array?
Dim Student(24) as string

24
25
23
0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In names=[Fred,John,Sue] Index value 1 is?

Fred
John 
Sue 
none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

names=[Fred,John,Sue] print list[2] would return

Fred
Sue
John

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

names.append("Mary")

Would add "names" to the list called "Mary"
Would remove "Mary" from the list called "names"
Would add "Mary" to the list called "names"
Would add "Mary" to the list called "append"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

len(names)

Finds the length of the list called len
Finds the length of the list called Len
Finds the length of the list called names
Finds the length of the list called Names

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?