Computer Science Flashcard

Computer Science Flashcard

Assessment

Flashcard

English

Professional Development

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is DFS (Depth-First Search)?

Back

DFS is an algorithm for traversing or searching tree or graph data structures. It starts at the root (or an arbitrary node) and explores as far as possible along each branch before backtracking.

2.

FLASHCARD QUESTION

Front

What is Floyd’s Cycle Detection Algorithm?

Back

Floyd’s Cycle Detection Algorithm, also known as the Tortoise and Hare algorithm, is used to detect cycles in a sequence of values, particularly in linked lists.

3.

FLASHCARD QUESTION

Front

What is a greedy algorithm?

Back

A greedy algorithm is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most immediate benefit.

4.

FLASHCARD QUESTION

Front

What is Dijkstra’s Algorithm?

Back

Dijkstra’s Algorithm is a greedy algorithm used for finding the shortest paths between nodes in a graph, particularly for weighted graphs.

5.

FLASHCARD QUESTION

Front

What is Kruskal’s Algorithm?

Back

Kruskal’s Algorithm is a greedy algorithm that finds the minimum spanning tree for a connected weighted graph by adding edges in increasing order of their weight.

6.

FLASHCARD QUESTION

Front

What is Prim’s Algorithm?

Back

Prim’s Algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph by starting from a single vertex and expanding the tree.

7.

FLASHCARD QUESTION

Front

What is the Round Robin scheduling algorithm?

Back

Round Robin is a pre-emptive scheduling algorithm used in operating systems where each process is assigned a fixed time slice in a cyclic order.

Access all questions and much more by creating a free account

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

Already have an account?