QUEUES IN PYTHON

QUEUES IN PYTHON

11th Grade

12 Qs

quiz-placeholder

Similar activities

QUIZ M4 Stack & Queue

QUIZ M4 Stack & Queue

1st Grade - University

14 Qs

REMEDI UH INFORMATIKA BAB 2 "BERPIKIR KOMPUTASIONAL"

REMEDI UH INFORMATIKA BAB 2 "BERPIKIR KOMPUTASIONAL"

10th Grade - University

15 Qs

ADTypes

ADTypes

11th - 12th Grade

11 Qs

Stack in python

Stack in python

11th - 12th Grade

10 Qs

Tes Diagnostik

Tes Diagnostik

9th - 12th Grade

10 Qs

Searching and Sorting Algorithms Quiz

Searching and Sorting Algorithms Quiz

11th Grade

10 Qs

A Level - Data Structures 1

A Level - Data Structures 1

11th Grade

10 Qs

Programming Basics

Programming Basics

11th - 12th Grade

10 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?