Search Header Logo

DS-MCQ-UNIT-2

Authored by Ravikumar Kandaswamy

Computers

University

Used 5+ times

DS-MCQ-UNIT-2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is/are correct related to Peek operation of a stack

Return top element
Remove top element
Insert element at the top
None of the above

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Act of adding values into a stack is called

Popping
Polling
Pushing
None

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Stack is

FIFO
LIFO
LILO
NONE OF THE ABOVE

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Stack Overflow Condition

TOP = MAX
TOP = MAX - 1
TOP = 0
TOP = -1

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In linked list implementation of a queue, where does a new element be inserted?

At the head of link list

At the centre position in the link list

At the tail of the link list

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In linked list implementation of a queue, the important condition for a queue to be empty is?

FRONT is null

REAR is null

LINK is empty

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the reason for using a "circular queue" instead of a regular one?

running time of enqueue() is improved

reuse empty spaces

you can traverse all the elements more efficiently

none of the above

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?