Top 350+ Solved Data Structures (DS) MCQ Questions Answer

From 181 to 195 of 370

Q. To insert a new node in linked list free node will be available in ___________.

a. Available list.

b. Avail list.

c. Free node list.

d. Memory space list.

  • b. Avail list.

Q. A ______________ list is a header list where the node points back to the header node.

a. Circular header.

b. Grounded header.

c. Two way header.

d. One way header.

  • a. Circular header.

Q. An algorithm that calls itself directly or indirectly is known as ____________.

a. Sub algorithm. .

b. Recursion.

c. Polish notation.

d. Traversal algorithm.

  • b. Recursion.

Q. The concatenation of two list can performed in O(1) time. Which of the following variation oflinked list can be used?

a. Singly linked list

b. Doubly linked list

c. Circular doubly linked list

d. Array implementation of list

  • c. Circular doubly linked list

Q. Which of the following c code is used to create new node?

a. ptr = (NODE*)malloc(sizeof(NODE));

b. ptr = (NODE*)malloc(NODE);

c. ptr = (NODE*)malloc(sizeof(NODE*));

d. ptr = (NODE)malloc(sizeof(NODE));

  • a. ptr = (NODE*)malloc(sizeof(NODE));

Q. Process of inserting an element in stack is called

a. Create

b. Push

c. Evaluation

d. Pop

  • b. Push

Q. Process of removing an element from stack is called

a. Create

b. Push

c. Evaluation

d. Pop

  • d. Pop

Q. In a stack, if a user tries to remove an element from empty stack it is called

a. Underflow

b. Empty collection

c. Overflow

d. Garbage Collection

  • a. Underflow

Q. Entries in a stack are “ordered”. What is the meaning of this statement?

a. A collection of stacks is sortable

b. Stack entries may be compared with the ‘<‘ operation

c. The entries are stored in a linked list

d. There is a Sequential entry that is one by one

  • d. There is a Sequential entry that is one by one

Q. Which of the following is not the application of stack?

a. A parentheses balancing program

b. Tracking of local variables at run time

c. Compiler Syntax Analyzer

d. Data Transfer between two asynchronous process

  • d. Data Transfer between two asynchronous process
Subscribe Now

Get All Updates & News