wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Data Structures: 1D,2D & List

Total questions: 17

Worksheet time: 8mins

Name
Class
Date
1.

What is an array?

a)

Collection of data of a single type

b)

Collection of different applications

c)

Collection of computers

d)

Collection of RAMs

2.

We can create an array that is able to store any data type.

a)

True

b)

False

3.

In a single array, every data type contained must be what?

a)

Fast

b)

The same

c)

Complex

d)

Simple

4.

What can an array of strings store?

a)

Boolean

b)

Numbers

c)

Strings

d)

Nothing

5.

A single array can store numbers and strings

a)

True

b)

False

6.

What does this mean "Classical arrays are IMMUTABLE" ?

a)

They can mutate

b)

They can change in size

c)

They cannot change with time

d)

They cannot change in size

7.

What is a 2D array?

a)

Data is organised in columns

b)

Data is organised in rows only

c)

Data is organised in rows & columns

d)

Data is organised in Hard Disk

8.

A 2D array has how many index numbers, for the location of rows and columns.

a)

2

b)

1

c)

3

d)

4

9.

A dynamic data structure that expands and contracts according to the data items contained is called what?

a)

Lists

b)

Array

c)

Process

d)

Data

10.

What two concepts are used in Lists?

a)

Data type pointer & digits

b)

Number & the linked list node

c)

Data type pointer & the linked list node

d)

Numbers & Alphabets

11.

A _________ is a special data type that points to an address in RAM memory

a)

Pointer data type

b)

Cyber data type

c)

pointer numeric type

d)

String type

12.

A data structure that contains the data item is called ...

a)

A linked data node

b)

A linked cyber nerd

c)

A linked list node

d)

A string list node

13.

What other thing does the node also contain?

a)

Pointer to the HDD address of the next instruction item

b)

Pointer to the RAM address of the next data item node

c)

Previous instruction

d)

All of the above

14.

A dynamic data structure will only occupy the size in memory of the number of data items within it.

a)

True

b)

False

15.

Static arrays can be wasteful.

a)

True

b)

False

16.

What array only takes up the memory of the number of data items it contains?

a)

Dynamic

b)

Static

c)

Remote

d)

Primary

17.

A pointer data type is a special data type that points to an address in RAM memory

a)

True

b)

False