Search Header Logo

DSA (D1+D2)

Authored by KOTESWARAMMA 50048

Education

University

Used 7+ times

DSA (D1+D2)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1. A queue follows __________



a) FIFO (First In First Out) principle

b) LIFO (Last In First Out) principle

c) Ordered array

d) Linear tree

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

2.If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?


a) DCBA

b) ABCD

c) DCAB

d) ABDC

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. Queues serve major role in ______________


  1. a) Simulation of recursion

  1. b) Simulation of arbitrary linked list

  1. c) Simulation of limited resource allocation

  1. d) Simulation of heap sort

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The number of edges from the root to the node is called __________ of the tree.

a) Height

b) Depth

c) Length

d) Width

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. A binary tree is a

a) with no child

b) with one child

c) with two children

d) all of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

how many binary trees are possible with 3 nodes

20

10

30

40

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Minimum number of nodes in a binary tree of height H

n

n+1

H+1

H+N

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?

Discover more resources for Education