BCSC0006 - Quiz 4 - Linked List & Stacks

BCSC0006 - Quiz 4 - Linked List & Stacks

University

10 Qs

quiz-placeholder

Similar activities

DS Module 3 Linked List

DS Module 3 Linked List

University

15 Qs

PDS - 04225 Lists, Stacks and Queues - Chapter 5

PDS - 04225 Lists, Stacks and Queues - Chapter 5

University

10 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

Stack

Stack

University

10 Qs

Data Structure

Data Structure

University

10 Qs

CHAPTER 3: STACK

CHAPTER 3: STACK

University

10 Qs

Linked List

Linked List

University

14 Qs

Quizze Buzzie

Quizze Buzzie

University

14 Qs

BCSC0006 - Quiz 4 - Linked List & Stacks

BCSC0006 - Quiz 4 - Linked List & Stacks

Assessment

Quiz

Computers

University

Medium

Created by

Divyansh Bhardwaj

Used 118+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A LIFO ordering of elements could be which of the following?

List

Stack

Queue

None of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is a self-referential structure?

Linked-List

Array

Node

None of the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What would be the time complexity of adding an element to the middle of a linked list?

O(n)

O(1)

O(n^2)

None of the above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Name the three functions of a stack data structure.

push, pop, peek

push, pop, pull

push, pop, pow

none of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many fields does the node of a singly linked list has?

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What would the next of the last node of a circular linked list return?

head

tail

null

none of the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a "Stack-Underflow"?

an empty stack

a full stack

a half-full stack (or half-empty😂)

none of the above

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?