Exercise 008

Exercise 008

University

15 Qs

quiz-placeholder

Similar activities

Stack??

Stack??

University

15 Qs

DSA Day 2

DSA Day 2

University

13 Qs

04 - Disjoint Sets

04 - Disjoint Sets

University

15 Qs

Demo DS-A ASHV Quiz

Demo DS-A ASHV Quiz

University

17 Qs

Data Structure

Data Structure

University

14 Qs

DSA-Quiz1

DSA-Quiz1

University

12 Qs

QUEUE

QUEUE

University

17 Qs

DS UNIT-2 TEST-3

DS UNIT-2 TEST-3

University

10 Qs

Exercise 008

Exercise 008

Assessment

Quiz

Computers

University

Medium

Created by

Nourhan Nourhan

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are parts of a node in a linked list?

Data and index

Data and pointer

Key and value

Only data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is data stored in a linked list?

In contiguous memory locations.

In an array format.

In dynamically allocated nodes linked by pointers.

In rows and columns.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the tail node of a linked list point to?

The next node.

The head node.

Null.

The previous node.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All parent Nodes are compared to their children Nodes in some specific way such as being more or less extreme in

LinkedList.

Dictionary.

Tree.

Heap.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations involves setting the new node’s previous pointer to null?

Adding a node to the tail.

Removing a node from the tail.

Adding a node to the head.

Removing a node from the middle.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add a new node to the middle of a linked list, how many steps are involved?

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a root node in a tree?

The node with the highest level in the tree.

The node with the lowest level in the tree.

The node with no parent.

The node with no children.

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?