WorksheetsDATA STRUCTURE USING C
Total questions: 15
Worksheet time: 8mins
The stack uses which policy out of the following
LIFO
FIFO
FILO
NONE
Example of linear data structure except
array
tree
queue
stack
LIFO stands for
List of Outputs
Last in First Out
First in Last Out
None of them
An array elements are always stored in ________ memory locations.
sequential
Random
Sequential and Random
None of the above
_____________ specifies how we enter data into our programs and what type of data we enter.
data type
data
datum
all of above
Array is ___________ data type.
user defined
primary
derived
all of above
Pointer is __________ data type
derived
primary
user defined
none of above
float stats[3];
What is the range of the index?
int nums[ ] =
{2, 3, 5, 8, 9, 11};
How would you access the fourth element in nums
nums[8]
nums[3]
nums(4)
nums(3)
The format identifier ‘%i’ is also used for _____ data type.
char
int
float
double
Eight Bits make up a
byte
megabyte
kilobyte
none
