DSA_VIVA_3

DSA_VIVA_3

University

20 Qs

quiz-placeholder

Similar activities

DEEP LEARNING

DEEP LEARNING

University

20 Qs

Introduction to Model-Based Design

Introduction to Model-Based Design

University

15 Qs

DD Unit 5 - Quiz 11

DD Unit 5 - Quiz 11

University

20 Qs

DataScience - 12 & 13

DataScience - 12 & 13

University

20 Qs

Are you Ready???

Are you Ready???

University

15 Qs

DLD Unit 1 _ 2

DLD Unit 1 _ 2

University

20 Qs

Redes de Investigación Operativa

Redes de Investigación Operativa

University

17 Qs

CN-QUIZ-1

CN-QUIZ-1

University

15 Qs

DSA_VIVA_3

DSA_VIVA_3

Assessment

Quiz

Engineering

University

Easy

Created by

Praveena T

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A binary heap is best described as:

A complete binary tree with sorted nodes

A complete binary tree satisfying heap property

A balanced binary search tree

A full binary tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a max heap, the value of a parent node is:

Less than its children

Equal to its children

Greater than or equal to its children

Random compared to its children

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation takes O(log n) time in a binary heap?

Searching

Insertion

Finding minimum

Traversal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a trie, each node represents:

A complete word

A character

An integer

A hash value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a collision in a hash table?

When a key is deleted

When two keys map to the same index

When the table is full

When searching fails

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which array index represents the left child of index i in a 0-based array heap?

i + 1

2i

2i + 1

2i + 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an expression tree, internal nodes represent:

Operands

Constants

Operators

Variables

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?