NEW
Font size
WorksheetsDSA - Intro
Total questions: 10
Worksheet time: 6mins
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 which can hold a fix number of items and these items should be of the same type. Most of the data structures make use of arrays to implement their algorithms.
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
What are algorithms used for?
To plan out the solution to a problem
As a platform to program a solution
To test a solution to a problem
How can an algorithm be represented?
As a flowchart only
As pseudocode only
As a flowchart or pseudocode
If it is AFTER 7am, what do you need to do?
Take the bus
Take the subway
Check the time
Leave home
What should be considered when designing an algorithm?
If there is more than one way to solve the problem
If the correct hardware is being used
If the correct software is being used
