Search Header Logo

SLR 9 - Advanced Programming Techniques - part one

Authored by Neil Stephens

Computers

10th Grade

Used 31+ times

SLR 9 - Advanced Programming Techniques - part one
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 SELECT QUESTION

45 sec • 1 pt

Which of the following are types of data structures?

Select all that are correct.

Arrays

Lists

Records

Tables

Files

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Here is a Python list

data = ["Computer", "Science", "is", "awesome"]

Which item has an index of 2?

Computer

Science

is

awesome

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Here is a 2-dimensional Python list.

scores = [["Bob", 15] , ["Jane", 32] , ["Dave", 4] , ["Lucy", 19]]

Which data is at index scores[3][1]?

Lucy

19

Dave

4

4.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

To store larger sets of data that multiple users can access, we use a

(a)  

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To store data from a list into a text file, it will be structured as a ...

record

constant

variable

array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a list and a variable?

The elements in a list can be changed, while a variable cannot.

A list can store multiple items while a variable holds only one.

A list is easier to use than a variable.

A list can only store integers, while a variable can store any data type.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can data be stored when a program is not running?

Lists

Arrays

Variables

Text files

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?