Top 50+ Solved Linear Data Structures -Stacks and Queues MCQ Questions Answer

From 1 to 15 of 46

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

Q. The postfix form of the expression (A+ B)*(C*D- E)*F / G is?

a. AB+ CD*E – FG /**

b. AB + CD* E – F **G /

c. AB + CD* E – *F *G /

d. AB + CDE * – * F *G /

  • c. AB + CD* E – *F *G /

Q. The postfix form of A*B+C/D is?

a. *AB/CD+

b. AB*CD/+

c. A*BC+/D

d. ABCD+/*

  • b. AB*CD/+

Q. The prefix form of A-B/ (C * D ^ E) is?

a. -/*^ACBDE

b. -ABCD*^DE

c. -A/B*C^DE

d. -A/BC*^DE

  • c. -A/B*C^DE
Subscribe Now

Get All Updates & News