Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Test  >  GATE Computer Science Engineering(CSE) 2027 Mock Test Series  >  Test: Arrays, Stack, Queues & Linked List- 2 - Computer Science Engineering (CSE) MCQ

GATE Computer Science Engineering(CSE) 2027 Test: Arrays, Stack, Queues


MCQ Practice Test & Solutions: Test: Arrays, Stack, Queues & Linked List- 2 (15 Questions)

You can prepare effectively for Computer Science Engineering (CSE) GATE Computer Science Engineering(CSE) 2027 Mock Test Series with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: Arrays, Stack, Queues & Linked List- 2". These 15 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.

Test Highlights:

  • - Format: Multiple Choice Questions (MCQ)
  • - Duration: 45 minutes
  • - Number of Questions: 15

Sign up on EduRev for free to attempt this test and track your preparation progress.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 1

The information about an array that is used in a program wiil be stored in

Detailed Solution: Question 1

A dope vector is a data structure used to hold information about a data objects eg. an array, especially layout of array’s memory. It contain information such as rank of an array, type of elements of array etc.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 2

Which of the following expressions accesses the (i, j)th entry of a (m x n) matrix stored in column major form?

Detailed Solution: Question 2

(i, j) entries in column major order of size (m x n). 
Assume starting address is 1 so, m x (j - 1) + i

Test: Arrays, Stack, Queues & Linked List- 2 - Question 3

Sparse matrices have

Detailed Solution: Question 3

Sparse matrices are those matrices in which most of the elements are zero.
In contrast, if most of the elements are non-zero then the matrix is considered DENSE.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 4

The postfix equivalent of the prefix * + ab - cd is

Detailed Solution: Question 4

The tree whose preorder traversal yields * + AB - CD, is given in figure. Write the postorder traversal of the tree. That is the postfix form.

Postorder traversal = AB + CD-*

Test: Arrays, Stack, Queues & Linked List- 2 - Question 5

Stacks cannot be used to

Detailed Solution: Question 5

Stacks are used to evaluate postfix expressions, to store data in case of recursion and to convert infix forms to postfix forms.
However, resource allocation can’t be done using stack. Scheduling algorithms are used for allocation of CPU time

Test: Arrays, Stack, Queues & Linked List- 2 - Question 6

The postfix expression for the infix expression: A + B* (C + D) / F + D * E is:

Detailed Solution: Question 6

Test: Arrays, Stack, Queues & Linked List- 2 - Question 7

In a circularly linked list organization, insertion of a record involves the modification of

Detailed Solution: Question 7

For insertion/deletion of a record in circularly linked list involves 2 pointer.
But for reverse the linked list, it involves 3 pointer.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 8

Stack is useful for implementing

Detailed Solution: Question 8

Stack is used for implementing recursion and depth first search.
For breadth first search, queue is used.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 9

Which of the following is useful in implementing quick sort?

Detailed Solution: Question 9

Immediately after visiting a node, append it to the queue. After visiting all its children, the node currently in the head of the queue is deleted. This process is recursively carried out on the current head of the queue, till the queue becomes empty.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 10

The process of accessing data stored in tape is similar to manipulating data on a

Detailed Solution: Question 10

The process of accessing data stored on tape is similar to manipulating data on a set.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 11

Linked lists are not suitable for implementing

Detailed Solution: Question 11

In case of using link list, one cannot randomly access the data or only serial data access is there. But, in case of binary search one needs to jump randomly either to first half or other half, which is not possible with linked list.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 12

The following sequence of operations is performed on a stack,
PUSH(10), PUSH (20), POP, PUSH (10), PUSH (20), POP, POP, POP, PUSH(20), POP 
The sequence of values popped out is 

Detailed Solution: Question 12

Test: Arrays, Stack, Queues & Linked List- 2 - Question 13

Which of the following operations is performed more efficiently by double linked list than by linear linked list?

Detailed Solution: Question 13

Doubly linked lists have a few advantages over linear linked lists when it comes to certain operations. Specifically, the following operation is performed more efficiently by a doubly linked list than by a linear linked list

Deleting a node given a pointer to the node.

In a linear linked list, deleting a node requires traversing the list to find the node to be deleted and its predecessor. Once these nodes have been found, the predecessor's next pointer is updated to skip over the node to be deleted. This operation takes O(n) time in the worst case, where n is the number of nodes in the list.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 14

The smallest element of an array’s index is called its

Detailed Solution: Question 14

Smallest element of an array’s index is called its LOWER BOUND and largest array index is called its UPPER bound.

Test: Arrays, Stack, Queues & Linked List- 2 - Question 15

The post fix form A + (B* C) is

Detailed Solution: Question 15

56 docs|215 tests
Information about Test: Arrays, Stack, Queues & Linked List- 2 Page
In this test you can find the Exam questions for Test: Arrays, Stack, Queues & Linked List- 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Arrays, Stack, Queues & Linked List- 2, EduRev gives you an ample number of Online tests for practice
Download as PDF