Data Structure Operations Time Complexities

Data Structure Operations Time Complexities

9th - 12th Grade

33 Qs

quiz-placeholder

Similar activities

2.3 - Sorting Algorithms

2.3 - Sorting Algorithms

11th - 12th Grade

28 Qs

CSP Unit 7 Review Code.org

CSP Unit 7 Review Code.org

9th - 12th Grade

28 Qs

Exam 4 Review

Exam 4 Review

11th - 12th Grade

33 Qs

AHJN: Unit19-Computational Thinking

AHJN: Unit19-Computational Thinking

12th Grade

38 Qs

Web Development Tutorial 3 Quiz Review A

Web Development Tutorial 3 Quiz Review A

9th - 12th Grade

30 Qs

Test 6 Review (Coding)

Test 6 Review (Coding)

10th Grade

28 Qs

Data Structures and Algorithm

Data Structures and Algorithm

11th Grade - Professional Development

30 Qs

Algorithms Data

Algorithms Data

11th Grade - Professional Development

30 Qs

Data Structure Operations Time Complexities

Data Structure Operations Time Complexities

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

NATALIA SEKULIC

Used 3+ times

FREE Resource

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for access within an array that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for searching within an array that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for access within a Stack that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for searching within a Stack that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for insertion within a Stack that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for deletion within a Stack that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relative time complexity (Big O value) for access within a Queue that contains n elements?

O(1)

O(log n)

O(n)

O(n log n)

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?