Data Structure Questions and Answers-Stack Operations

 

 Help authour, Buy PDF Ebook   >>>Click Here<<<

Data Structure Questions and Answers-Stack Operations

Question 1
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 /
Puzzles Questions answers
Question 1 Explanation: 
Applying the postfix expression evaluation.

Question 2
The data structure required to check whether an expression contains balanced parenthesis is?
A
Stack
B
Queue
C
Array
D
Tree
Puzzles Questions answers
Question 3
What data structure would you mostly likely see in a non recursive implementation of a recursive algorithm?
A
Linked List
B
Stack
C
Queue
D
Tree
Journalism Questions answers
Question 4
The process of accessing data stored in a serial access memory is similar to manipulating data on a .....
A
Heap
B
Binary Tree
C
Array
D
Stack
Journalism Questions answers
Question 5
The postfix form of A*B+C/D is?
A
*AB/CD+
B
AB*CD/+
C
A*BC+/D
D
ABCD+/*
Library science Questions answers
Question 5 Explanation: 
Applying the postfix expression evaluation.

There are 5 questions to complete.

 

 Help authour, Buy PDF Ebook   >>>Click Here<<<