CL/ARVR

CL/ARVR

University

15 Qs

quiz-placeholder

Similar activities

ICT Unit-2

ICT Unit-2

University

20 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Kuis Pemrograman Dasar

Kuis Pemrograman Dasar

University

20 Qs

MEDIDAS DE TENDENCIA CENTRAL

MEDIDAS DE TENDENCIA CENTRAL

University

20 Qs

Fundamentos Web

Fundamentos Web

University

15 Qs

¿Cuánto sabes sobre la tecnología que cambia al mundo?

¿Cuánto sabes sobre la tecnología que cambia al mundo?

University

10 Qs

ロジックテスト (Đề kiểm tra năng lực IT)

ロジックテスト (Đề kiểm tra năng lực IT)

University

12 Qs

Desafio Santarenzinho

Desafio Santarenzinho

KG - University

11 Qs

CL/ARVR

CL/ARVR

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Trilochan Sahoo

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the Master Theorem provide a solution for?

a) Space complexity of algorithms

b) Time complexity of divide-and-conquer algorithms

c) Sorting algorithms

d) Dynamic programming algorithms

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which scenario would make the Master Theorem inapplicable?

a) When the subproblems cannot be solved independently

b) When the size of the subproblems decreases by a constant factor at each step

c) When the problem size decreases exponentially with each recursive call

d) When the time complexity cannot be expressed as a recurrence relation

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the time complexity of the merge sort algorithm?

a) O(n)

b) O(n log n)

c) O(n^2)

d) O(1)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the space complexity of the binary search algorithm?

a) O(1)

b) O(log n)

c) O(n)

d) O(n^2)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the space complexity of Bubble Sort?

a) O(1)

b) O(log n)

c) O(n)

d) O(n^2)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following scenarios is BFS well-suited for?

a) Finding the maximum flow in a network

b) Topological sorting of a graph

c) Finding the shortest path between two vertices in an unweighted graph

d) Solving the traveling salesman problem

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following data structures is used to keep track of visited vertices in BFS to avoid revisiting them?

a) Stack

b) Queue

c) Hash Table or Set

d) Binary Search Tree

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?