Data Structures and Algorithms MCQs | Objective Questions Answers

Questions
51 Which data structure allows deleting data elements from and inserting at rear?
A Stacks
B Queues
C Dequeues
D Binary search tree

Answer: Option [B]
52 Which data structure is used in breadth first search of a graph to hold nodes?
A Array
B Tree
C Stack
D queue

Answer: Option [D]

⭐ Make GKSeries Your Preferred Source on Google

Stay updated with the latest Current Affairs, GK, Government Jobs, Exam Notifications, and Study Materials by adding GKSeries.com as your Google Preferred Source.

Add GKSeries as Preferred Source

This feature is available for signed-in Google users and helps Google prioritize GKSeries.com in Top Stories and other eligible news surfaces.

53 Identify the data structure which allows deletions at both ends of the list but insertion at only one end.
A Stack
B Priority queues
C Output restricted qequeue
D Input restricted dequeue

Answer: Option [D]
54 Which of the following data structure is non linear type?
A Graph
B Stacks
C Lists
D None of the above

Answer: Option [A]
55 In a queue, the initial values of front pointer f rare pointer r should be …….. and ……….. respectively.
A 0 and 1
B 0 and -1
C -1 and 0
D 1 and 0

Answer: Option [B]
56 There is an extra element at the head of the list called a .........
A Sentinel
B Antinel
C List head
D List header

Answer: Option [A]
57 The property of binary tree is
A The root cannot contain NULL
B The first subset is called left subtree
C The second subtree is called right subtree
D The right subtree can be empty

Answer: Option [D]
58 When new data are to be inserted into a data structure, but there is not available space; this situation is usually called .......
A overflow
B Underflow
C housefull
D memoryfull

Answer: Option [A]
59 A data structure where elements can be added or removed at either end but not in the middle is called ......
A stacks
B queues
C dequeue
D linked lists

Answer: Option [C]
60 The use of pointers to refer elements of a data structure in which elements are logically adjacent is ......
A stack
B queue
C pointers
D linked allocation

Answer: Option [D]