Search Header Logo

Queue, Hash, Tree and Graph

Authored by Brankas Kerja

Computers

12th Grade

Used 11+ times

Queue, Hash, Tree and Graph
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main characteristic of a Queue data structure?

Random Access

First In First Out (FIFO)

Last In First Out (LIFO)

Sorted Order

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation adds an element to the end of a Queue?

rear()

front()

enqueue()

dequeue()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of Queue allows insertion and deletion from both ends?

Deque

Simple Queue

Circular Queue

Priority Queue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Hash Table primarily used for?

Storing data in a sorted manner

Key-value pair storage

Graph representation

Tree traversal

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a hash function in a Hash Table?

To display data

To delete elements

To sort the data

To map keys to indices

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a common method for handling collisions in a Hash Table?

Searching

Stacking

Chaining

Sorting

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary tree, what is the maximum number of children a node can have?

One

Four

Two

Three

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?