QUEUES IN PYTHON

QUEUES IN PYTHON

11th Grade

12 Qs

quiz-placeholder

Similar activities

Soal Latihan MTCNA

Soal Latihan MTCNA

11th Grade - University

8 Qs

UTS INFORMATIKA PILIHAN GANDA SEMESTER 1

UTS INFORMATIKA PILIHAN GANDA SEMESTER 1

9th - 12th Grade

15 Qs

Queues

Queues

11th Grade

10 Qs

ADTypes

ADTypes

11th - 12th Grade

11 Qs

SOAL POST TEST BANDWIDTH

SOAL POST TEST BANDWIDTH

9th - 12th Grade

10 Qs

اختبار الذكاء الاصطناعي

اختبار الذكاء الاصطناعي

11th Grade

10 Qs

TCP/IP

TCP/IP

11th Grade

17 Qs

CP M8 Assessment Review

CP M8 Assessment Review

9th - 12th Grade

17 Qs

QUEUES IN PYTHON

QUEUES IN PYTHON

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Sunita Dash

Used 17+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This form of access is used to add and remove nodes from a queue.

LIFO, Last In First Out

FIFO, First In First Out

Both a and b

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to add an element to a Queue?

dequeue()

enqueue()

push()

pop()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to remove an element from a Queue?

dequeue()

enqueue()

push()

pop()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One difference between stack and queue?

queues require dynamic memory,but stack do not

stacks use two ends of the structure,queue use only one

stacks requires dynamic memory ,but queues do not

queues uses two ends of the structure,stack use only one

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If FRONT= REAR then the queue is?

overflow

underflow

empty

null

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A data structure in which elements can be inserted or deleted at/from

both the ends but not in the middle is?

queue

circular queue

dequeue

priority queue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Insertion in Queue is done at_____ end , and deletion is at _______ end

start, last

front, rear

rear, front

begin, stop

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?