QUEUES IN PYTHON

QUEUES IN PYTHON

11th Grade

12 Qs

quiz-placeholder

Similar activities

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

TDR3M1 Test #2 Review

TDR3M1 Test #2 Review

11th - 12th Grade

12 Qs

Evaluasi Informatika | Internet dan Jarkom

Evaluasi Informatika | Internet dan Jarkom

9th - 12th Grade

15 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Grace Hopper Debugging

Grace Hopper Debugging

4th Grade - University

10 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

Windows Basic Vocab 1

Windows Basic Vocab 1

9th - 12th Grade

10 Qs

QUEUES IN PYTHON

QUEUES IN PYTHON

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Sunita Dash

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?