NEW
Font size
WorksheetsData Structures and Algorithms - Quiz 1
Total questions: 13
Worksheet time: 7mins
Efficiency of an algorithm is measured by
Time and Capacity complexity
Time and Space complexity
Speed and Space complexity
Speed and Capacity complexity
A container that can hold a fixed number of items and these items should be of the same type.
Element
Array
Index
What is an algorithm?
Patterns and trends used to solve a problem
A set of step-by-step instructions to resolve a problem
A programming language
How can an algorithm be represented?
As a flowchart only
As pseudocode only
As a flowchart or pseudocode
Which of these is not a data structure?
Stack
Array
Integer
List
Data Structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.
True
False
Example of Non-linear data structure.
array
tree
queue
stack
If the elements “A”, “B”, “C” and “D” are placed in a stack and are deleted one at a time, in what order will they be removed?
ABCD
DCBA
DCAB
ABDC
Act of adding values into a stack is called
Popping
Polling
Pushing
None
Which of these data structures is LIFO?
Stack
Queue
Binary Tree
Double linked list
