JSD (Algorithm Analysis)

JSD (Algorithm Analysis)

University

15 Qs

quiz-placeholder

Similar activities

Circular queue

Circular queue

University

13 Qs

Team 4 Data structure

Team 4 Data structure

University

20 Qs

Data Structures

Data Structures

10th Grade - University

18 Qs

Data Structures Quiz-2

Data Structures Quiz-2

University

10 Qs

DSA(UNIT 1) Test 1

DSA(UNIT 1) Test 1

University

10 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

20 Qs

Data Structures

Data Structures

University

20 Qs

DSA QUIZ

DSA QUIZ

University

20 Qs

JSD (Algorithm Analysis)

JSD (Algorithm Analysis)

Assessment

Quiz

Computers

University

Hard

Created by

Annette Santimano

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the maximum number of children a node in a binary tree can have?

0

1

2

any number of children

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data structure is used to evaluate a postfix expression?


Array

Stack

Queue

Tree

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a priority queue, which element is dequeued first?

The element with the highest priority

The element with the least priority

The first element enqueued

The last element enqueued

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a binary search tree, which traversal method gives the nodes in ascending order?

Preorder

Postorder

Inorder

Levelorder

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A queue follows __________

FIFO (First In First Out) principle

LIFO (Last In First Out) principle


Ordered array


Linear tree

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What data structure is used for breadth first traversal of a graph?

queue

stack

list

none of the option

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A graph is said to be connected if:

There is a path between every pair of vertices

Every vertex is connected to at least one other vertex

It contains no cycles

The graph has minimum number of edges

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?