Stack and Queue

Stack and Queue

University

11 Qs

quiz-placeholder

Similar activities

Pseudo Part 2

Pseudo Part 2

7th Grade - University

6 Qs

Data Structure

Data Structure

12th Grade - University

15 Qs

ECE 532 Chapter 2 (Stack)

ECE 532 Chapter 2 (Stack)

University

7 Qs

Structure Data Review

Structure Data Review

University - Professional Development

10 Qs

Stack and Queue

Stack and Queue

University

15 Qs

CodeCadette

CodeCadette

University

15 Qs

DSA quiz

DSA quiz

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?