ICT212 Week 7

ICT212 Week 7

University

25 Qs

quiz-placeholder

Similar activities

3ICTH7H8DSA

3ICTH7H8DSA

University

25 Qs

Tree DataStructure

Tree DataStructure

University

20 Qs

DATA STRUCTURES

DATA STRUCTURES

University

20 Qs

1 Binary Search Trees

1 Binary Search Trees

University

20 Qs

SMARTICUS

SMARTICUS

University

20 Qs

Data Structures

Data Structures

University - Professional Development

20 Qs

Introduction to Tree Data Structure (TDS)

Introduction to Tree Data Structure (TDS)

University

20 Qs

Quantitative Aptitude Series

Quantitative Aptitude Series

University

20 Qs

ICT212 Week 7

ICT212 Week 7

Assessment

Quiz

Computers

University

Medium

Created by

Bill Arbaoui

Used 32+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a common implementation of a priority queue?
Array
Linked List
Binary Heap
Stack

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What ensures that a child node does not have a value smaller than its parent node in a Binary Heap?
Completeness Property
Linkage Property
Min-Heap Property
Tree Property

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens in the Binary Heap when you want to send the most important message?
Insert
ExtractMin
DecreaseKey
SendMessage

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For any element at position i, where is its Left Child located?
2*i
2*i + 1
i-1
i+1

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which operation in a Binary Heap has a time complexity of O(1)?
Inserting a Key
Getting the Minimum
Extracting the Minimum
None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

For any element at position i in a Binary Heap, where is its Right Child located?
i+2
2*i
2*i + 1
2*i + 2

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How is the highest level of a Binary Heap supposed to be completed?
Randomly
From right to left
From bottom to top
From left to right

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?