MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Data in the data structures are processed by operations like insertion, deletion, sorting, merging and ____
A
Traversing
B
Searching
C
Retrieval
D
Both A and B
Explanation: 

Detailed explanation-1: -Stack is a linear data structure in which the insertion and deletion operations are performed at only one end. In a stack, adding and removing of elements are performed at single position which is known as “top". That means, new element is added at top of the stack and an element is removed from the top of the stack.

Detailed explanation-2: -Which of the following data structures allow insertion and deletion from both ends? Deque is a data structure allowing insertion and deletion from both ends.

There is 1 question to complete.