
Array, Linked list, Stack and Queue

Quiz
•
Computers
•
University
•
Hard

Aziah Binti Abdollah undefined
Used 3+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following was used for traversal in topological sort
pre-order
post-order
in-order
level order
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
______ will point to the first node in linked list
head
link
node
pointer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In doubly linked list, each node contains a pointer to _______
the previous node
to the next node
both previous and next node
none of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
______ is one of the advantages using linked list compared to array.
Easy to resize
Cache friendly
Constant time to access elements
All of them
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
______ is the correct time complexity for searching an element in a linked list
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
_____ and _____ are the two nodes in a circular linked list.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Generate the postfix form from the following infix expression
(2-3+4)*(5+6*7)
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following operation performed on a stack of size 5.
Push("A");
Pop();
Push("Z");
Push("I");
Pop();
Push("A");
Pop();
Pop();
Push("H");
After the completion of all operation, identify the no of element left on stack
2
3
4
1
Similar Resources on Wayground
10 questions
PDS - 04225 Lists, Stacks and Queues - Chapter 5

Quiz
•
University
10 questions
Stack

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
10 questions
DS UNIT-2 TEST-1

Quiz
•
University
9 questions
Stacks/Queues

Quiz
•
University
10 questions
STACK - [UJI UAS ALS]

Quiz
•
University
12 questions
Quiz 2 - Stack

Quiz
•
University
10 questions
Stack & Queue

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade