Stack and Queue

Stack and Queue

University

11 Qs

quiz-placeholder

Similar activities

QUIZ M4 Stack & Queue

QUIZ M4 Stack & Queue

1st Grade - University

14 Qs

Data Structures Quiz-2

Data Structures Quiz-2

University

10 Qs

CCT1 Data Structure B.Sc.II

CCT1 Data Structure B.Sc.II

University

11 Qs

stack

stack

University

10 Qs

DataStructure

DataStructure

University

15 Qs

Stacks and Queues Quiz

Stacks and Queues Quiz

University

15 Qs

BCSC0006 - Quiz 4 - Linked List & Stacks

BCSC0006 - Quiz 4 - Linked List & Stacks

University

10 Qs

CHAPTER 3: STACK

CHAPTER 3: STACK

University

10 Qs

Stack and Queue

Stack and Queue

Assessment

Quiz

Computers

University

Hard

Created by

Fakhitah Ridzuan

Used 5+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

DCAB

ABDC

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Are stacks FIFO or FILO?
FILO
FIFO
LIFO
LILO

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A queue of characters currently contained a,b,c,d. What would be the contents of queue after the following operationDELETE, ADD W, ADD X, DELETE, ADD Y.

A,B,C,W,Y

A,B,C,D,W

C,D,W,X,Y

W,Y,X,C,D

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If front=rear ,then the queue is?

full

undeflow

overflow

empty

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for inserting into a full queue known as?

underflow

overflow

front

rear

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Only top element can be accessed in stack

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

LIFO stands for

List of Outputs

Last in First Out

First in Last Out

None of them

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?