DS Final Review

DS Final Review

University

•

48 Qs

quiz-placeholder

Similar activities

Sec-D  Javascript-1

Sec-D Javascript-1

12th Grade - University

•

52 Qs

Midterm Examination-Advacomt (I-AINS) Asuncion

Midterm Examination-Advacomt (I-AINS) Asuncion

University

•

50 Qs

Ôn tập mos 11

Ôn tập mos 11

University

•

50 Qs

Data Structures Quiz

Data Structures Quiz

University

•

44 Qs

WARNA DAN TIPOGRAFI DESAIN GRAFIS

WARNA DAN TIPOGRAFI DESAIN GRAFIS

1st Grade - University

•

50 Qs

Artificial Intelligence

Artificial Intelligence

University

•

50 Qs

Data Structures

Data Structures

University

•

50 Qs

Quiz sobre Diseño Gráfico y Tipos de Archivos de Imagen

Quiz sobre Diseño Gráfico y Tipos de Archivos de Imagen

10th Grade - University

•

45 Qs

DS Final Review

DS Final Review

Assessment

Quiz

•

Computers

•

University

•

Practice Problem

•

Easy

Created by

Cayden Henderson

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Recursion is a method in which the solution of a problem depends on __________.

Larger instances of different problems

Larger instances of the same problem

Smaller instances of different problems

Smaller instances of the same problem

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when the code snippet is executed?

The code will run for some time and stop when the stack overflows

The code will be executed successfully and random output will be generated

The code will show a compile time error

The code will be executed successfully and no output will be generated

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following recursive code do?

Prints the numbers from 10 to 1

Prints the numbers from 10 to 0

Prints the numbers from 0 to 10

Prints the numbers from 1 to 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Most Efficient Time Complexity of Topological Sorting is?

O(V)

O(V+E)

O(E)

O(V*E)

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Consider an implementation of unsorted singly linked list. Suppose it has its representation with a head pointer only. Given the representation, which of the following operation can be implemented in O(1) time?

Insertion at the front of the linked list

Insertion at the end of the linked list

Deletion of the front node of the linked list

Deletion of the last node of the linked list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In most of the cases, topological sort starts from a node which has

Maximum Degree

Minimum Degree

Any degree

Zero Degree

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the most commonly used data structure for implementing Dijkstra's Algorithm?

Min priority queue

Stack

Circular queue

Max priority queue

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?