Search Header Logo

1.4.2 Data Structures

Authored by Robin Smith

Computers

12th Grade

Used 18+ times

1.4.2 Data Structures
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

_________________ is a collection of elements used to store the same type of data.

Array
Switch
Case
Loop

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is returned by values[5]?

9
12
6
8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int nums[ ] =
{2, 3, 5, 8, 9, 11};
How would you access the fourth element in nums

nums[4]
nums[3]
nums(4)
nums(3)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of these data structures is FIFO

Stack
Queue
Binary Tree
Double linked list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would a dynamic data structure entail?

Memory is allocated to the data structure as the program executes.
Memory is allocated to the data structure at compile time.
The size of the structure is fixed
The data structure can also double as TNT

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A Queue can only store 6 data items. The Queue is sent 4 data items: Bert, Cynthia, Cedric and Albert. Where does the "Front" pointer point?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A Queue can only store 6 data items. The Queue is sent 4 data items: Bert, Cynthia, Cedric and Albert. Where does the "Rear" pointer point?

0

1

2

3

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?