DAALAB

DAALAB

1st Grade

10 Qs

quiz-placeholder

Similar activities

Small Basic (Turtle)

Small Basic (Turtle)

KG - University

10 Qs

SEARCH DAN SORT

SEARCH DAN SORT

1st Grade

14 Qs

Grade 1 Revision Activity on Algorithms

Grade 1 Revision Activity on Algorithms

1st Grade

10 Qs

Computing XDDD

Computing XDDD

KG - University

10 Qs

LATIHAN ASK TINGKATAN 3 - SIRI 1

LATIHAN ASK TINGKATAN 3 - SIRI 1

1st Grade

10 Qs

Problem Analysis

Problem Analysis

1st Grade

15 Qs

SEARCH&SORT

SEARCH&SORT

1st Grade

10 Qs

Coding

Coding

1st - 3rd Grade

9 Qs

DAALAB

DAALAB

Assessment

Quiz

Computers

1st Grade

Hard

Created by

vijay bhaskar uppari

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is an example of a greedy algorithm?

Quick Sort

Dijkstra’s shortest path algorithm

Bellman-Ford algorithm

Kruskal’s algorithm for minimum spanning tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a dynamic programming problem?

Longest Common Subsequence

Binary Search

Depth First Search

Breadth First Search

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms has a worst-case time complexity of O(n^2)?

Merge Sort

Heap Sort

Quick Sort

Bubble Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structures is best suited for implementing a priority queue?

Array

Linked list

Stack

Heap

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is used to find the shortest path between two vertices in a graph?

Breadth First Search

Depth First Search

Dijkstra’s shortest path algorithm

Bellman-Ford algorithm

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is used to find the shortest path between all pairs of vertices in a graph?

Breadth First Search

Depth First Search

Dijkstra’s shortest path algorithm

Floyd-Warshall algorithm

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is used to find the longest increasing subsequence in a sequence?

Merge Sort

Heap Sort

Quick Sort

Dynamic Programming

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?