Data Structure MCQ Questions and Answers - 1

Question: 1

A data structure in which linear sequence is maintained by pointers is known as

(A) Array

(B) Stack

(C) Linked list

(D) Pointer-based data structure

Ans: C

Linked list

Question: 2

Which of the following data structure works on the principle of First Come First Serve?

(A) Priority queue

(B) Heap

(C) Stack

(D) Queue

Ans: D

Queue

Question: 3

A  ____ is a linear collection of self-referential structures, called nodes, connected by pointer links.

(A) Queue

(B) Linked list

(C) Tree

(D) Stack

Ans: B

Linked list

Question: 4

A queue where all elements have equal priority is a

(A) ILFO data structure

(B) LILO data structure

(C) FIFO data structure

(D) LIFO data structure

Ans: C

FIFO data structure

Question: 5

A file that is only read by a program is known as ____

(A) Input file

(B) Temporary file

(C) Work file

(D) Input/output file

Ans: A

Input file

Related Questions