Queue

Queue

University

5 Qs

quiz-placeholder

Similar activities

Quiz on Stacks and Data Structures 2

Quiz on Stacks and Data Structures 2

University

10 Qs

SSK20193 KUIZ DUA

SSK20193 KUIZ DUA

12th Grade - University

10 Qs

SD_Stack&Queue

SD_Stack&Queue

University

10 Qs

Queue

Queue

University

10 Qs

Data Structure Quiz

Data Structure Quiz

University - Professional Development

10 Qs

Binary Heap

Binary Heap

University

9 Qs

Stack in Data Structure

Stack in Data Structure

University

10 Qs

6th March

6th March

University

10 Qs

Queue

Queue

Assessment

Quiz

Computers

University

Easy

Created by

Emely Lestari

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The general principle of queue is

First in and last out

When do pop, top element is removed

First in and first out

Use push to remove element

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With alternative-3 implementation of queue (circular), if tail is at the last element then add a new element will be located in:

in the random position

the last position

the first position

in the middle position

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With naive implementation (alternative-1) of Queue:

Back never moves when delete element

Front never moves when delete element

All element always move when delete element

Back never moves when add element

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With alternative-3 implementation of queue (circular):

Front moves when delete element

Back moves when delete element

No element moves when add or delete element

Back and front move when delete element

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With alternative-2 implementation of Queue (move when necessary):

Back never moves when add element

Back never moves when delete element

All elements do not move when delete element except if the back is in the last position

Front always moves when delete element