
BCSC0006 - Quiz 4 - Linked List & Stacks
Authored by Divyansh Bhardwaj
Computers
University
Used 118+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?