NEW
Font size
WorksheetsData Structures: 1D,2D & List
Total questions: 17
Worksheet time: 8mins
What is an array?
Collection of data of a single type
Collection of different applications
Collection of computers
Collection of RAMs
We can create an array that is able to store any data type.
True
False
In a single array, every data type contained must be what?
Fast
The same
Complex
Simple
What can an array of strings store?
Boolean
Numbers
Strings
Nothing
A single array can store numbers and strings
True
False
What does this mean "Classical arrays are IMMUTABLE" ?
They can mutate
They can change in size
They cannot change with time
They cannot change in size
What is a 2D array?
Data is organised in columns
Data is organised in rows only
Data is organised in rows & columns
Data is organised in Hard Disk
A 2D array has how many index numbers, for the location of rows and columns.
2
1
3
4
A dynamic data structure that expands and contracts according to the data items contained is called what?
Lists
Array
Process
Data
What two concepts are used in Lists?
Data type pointer & digits
Number & the linked list node
Data type pointer & the linked list node
Numbers & Alphabets
A _________ is a special data type that points to an address in RAM memory
Pointer data type
Cyber data type
pointer numeric type
String type
A data structure that contains the data item is called ...
A linked data node
A linked cyber nerd
A linked list node
A string list node
What other thing does the node also contain?
Pointer to the HDD address of the next instruction item
Pointer to the RAM address of the next data item node
Previous instruction
All of the above
A dynamic data structure will only occupy the size in memory of the number of data items within it.
True
False
Static arrays can be wasteful.
True
False
What array only takes up the memory of the number of data items it contains?
Dynamic
Static
Remote
Primary
A pointer data type is a special data type that points to an address in RAM memory
True
False
