Algorithm Complexity and Data Structures

Algorithm Complexity and Data Structures

Assessment

Flashcard

Computers

University

Hard

Created by

Cruz Regina

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

31 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does algorithm efficiency measure?

Back

The computational resources an algorithm uses (time and space).

2.

FLASHCARD QUESTION

Front

What is the goal of algorithm efficiency?

Back

Minimize resource usage for optimal performance.

3.

FLASHCARD QUESTION

Front

What is time complexity?

Back

Measures execution time as a function of input size.

4.

FLASHCARD QUESTION

Front

What does O(1) represent in Big-O notation?

Back

Constant time (independent of input size).

5.

FLASHCARD QUESTION

Front

What does O(log n) represent in Big-O notation?

Back

Logarithmic time (runtime increases slowly as input size grows).

6.

FLASHCARD QUESTION

Front

What does O(n) represent in Big-O notation?

Back

Linear time (runtime grows proportionally with input size).

7.

FLASHCARD QUESTION

Front

What does O(n log n) represent in Big-O notation?

Back

Linearithmic time (common in efficient sorting algorithms).

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?