Search Header Logo
Data Abstraction

Data Abstraction

Assessment

Presentation

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

J. Moore

Used 9+ times

FREE Resource

0 Slides • 13 Questions

1

Multiple Choice

What is a list?

1

ordered sequence of events

2

sequence of events

3

Events in no sequential order

4

to apply for an action.

2

Multiple Select

A ________ would be an example of a list

1

Song playlist

2

phone contacts

3

crossword puzzle

3

Fill in the Blanks

Type answer...

4

Fill in the Blanks

Type answer...

5

Multiple Choice

The index for our list index (for purposes of the AP exam) start at:

1

4

2

3

3

1

4

2

6

Multiple Choice

Question image

Answer question in image

1

-1

2

7.5

3

"Pat Smith"

4

9

7

Multiple Choice

Question image

Answer question in image

1

"Jose"

2

"Jeff"

3

"o"

4

"e"

8

Multiple Choice

The elements in your list index can start lower than 1 and go on beyond your elements without crashing your computer program.

1

True

2

False

9

Multiple Select

An empty list MAY look like...

1
2

10

Multiple Choice

Question image

What are the contents of scores1 after the code segment is executed?

1

[89, 78,92,63,95,88]

2

[89,78,92,63,95,88,

92,79,97,63]

3

[92,79,97,6389,78, 92,63,95,88]

4

[92,79,63]

11

Multiple Choice

Question image

What are the contents listA after the code segment is executed?

1

["Jamal", "Tamara", "Sam", "Ann"]

2

["Sam, "Ann"]

3

["Jamal", "Tamara"]

4

["Sam", "Ann","Jamal", "Tamara"]

12

Multiple Select

Which of the following scenarios illustrate the benefit of using a lists as data abstraction in a program to manage complexity?

*choose two answers*

1

keep track of customers in a line to check online.

2

Prevent the same number to be entered for exam scores

3

Keep track of every single input value during program execution

4

Curve every value by 2 points for a set of exam scores

13

Open Ended

Question image

Write a line of code using a list to manage the complexity and readability of this code.

What is a list?

1

ordered sequence of events

2

sequence of events

3

Events in no sequential order

4

to apply for an action.

Show answer

Auto Play

Slide 1 / 13

MULTIPLE CHOICE