DS-MCQ-UNIT-2

DS-MCQ-UNIT-2

University

20 Qs

quiz-placeholder

Similar activities

DSQUIZ 2020-21

DSQUIZ 2020-21

University

18 Qs

Queue ADT

Queue ADT

12th Grade - University

20 Qs

Data Structures: Placement Preparations

Data Structures: Placement Preparations

University

25 Qs

DataStructure

DataStructure

University

15 Qs

Data Structure

Data Structure

University

20 Qs

Stacks and Queues Quiz

Stacks and Queues Quiz

University

15 Qs

DSA5541 Quiz 1 TRI 2210

DSA5541 Quiz 1 TRI 2210

University

20 Qs

Data Structure With C++

Data Structure With C++

University

20 Qs

DS-MCQ-UNIT-2

DS-MCQ-UNIT-2

Assessment

Quiz

Computers

University

Medium

Created by

Ravikumar Kandaswamy

Used 5+ times

FREE Resource

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

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?