JSD (Algorithm Analysis)

JSD (Algorithm Analysis)

University

15 Qs

quiz-placeholder

Similar activities

DATA STRUCTURES QUIZ

DATA STRUCTURES QUIZ

University

15 Qs

Data Structure

Data Structure

University

14 Qs

Stack & Queue

Stack & Queue

University

16 Qs

Data Structure

Data Structure

University

20 Qs

Quiz 1_DSA

Quiz 1_DSA

University

20 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

Circular queue

Circular queue

University

13 Qs

Data Structure

Data Structure

University

20 Qs

JSD (Algorithm Analysis)

JSD (Algorithm Analysis)

Assessment

Quiz

Computers

University

Hard

Created by

Annette Santimano

Used 2+ 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?