Array, Linked list, Stack and Queue

Array, Linked list, Stack and Queue

University

8 Qs

quiz-placeholder

Similar activities

unit-2 stack

unit-2 stack

University

10 Qs

Data Structure Quiz

Data Structure Quiz

University - Professional Development

10 Qs

PDS - 04225 Lists, Stacks and Queues - Chapter 5

PDS - 04225 Lists, Stacks and Queues - Chapter 5

University

10 Qs

CHAPTER 3: STACK

CHAPTER 3: STACK

University

10 Qs

C++ linked list

C++ linked list

University

10 Qs

DS UNIT-2 TEST-2

DS UNIT-2 TEST-2

University

13 Qs

Data Structure Revision Continuous

Data Structure Revision Continuous

University

10 Qs

DS UNIT-2 TEST-1

DS UNIT-2 TEST-1

University

10 Qs

Array, Linked list, Stack and Queue

Array, Linked list, Stack and Queue

Assessment

Quiz

Computers

University

Hard

Created by

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