A.  Full parenthesized infix expression 
B.  Prefix expression 
C.  Partially parenthesized infix expression 
D.  More than one of these 
Option: D Explanation : Click on Discuss to view users comments. bhawna said: (1:11pm on Monday 29th July 2013)
why d option ? why not a?

The five items:A,B,C,D, and E are pushed in a stack, one after the other starting from A.The stack is popped four times and each element is inserted in a queue.Then two elements are deleted from the queue and pushed back on the stack.Now one item is popped from the stack.
The popped item is
A.  E 
B.  B 
C.  C 
D.  D 
Option: D Explanation : In queue elements are deleted from front (FIFO) and in stacks elements are popped from top (LIFO)
Click on Discuss to view users comments. silpa said: (1:32am on Friday 3rd July 2015)
the first popped element from stack is 'e' then 'd','c','b' respectively.According to FIFO,first inserted element(e)is deleted first then 'd' is also deleted. then how become 'd' is answer??

If memory for the runtime stack is only 150 cells(words), how big can N be in Factorial(N) before encounterring stack overflow?
A.  24 
B.  12 
C.  26 
D.  50 
Option: C Explanation :
Given that, the size of a run time stack is of 150 cells (words). The arguments to be evaluate the factorial are placed on the stack. A function call is made to calculate the factorial. Subroutine is executed for each time the function call is made. Each funcall creates a stack frames of co words (Cells), 2 words for n, 2 words for program counter (PC) and 2 words for some other information.
The value of n should be such that, the size of stack should not exceed 150 cells. If we consider the value of n to be 26, it executes 25 procedure calls each of it with 6word stack frame. In this case totalnumber of words of stack space would be 150 (6 words × 25 procedure calls = 150) cells.
Therefore, value of n will be 26 is n! before encountering a stack overflow for the stack of size 150 cells (words)
Click on Discuss to view users comments. rama said: (12:07am on Thursday 14th February 2013)
please explain how 66 and also if factorial is using recursion or simple.
veni said: (10:24pm on Tuesday 19th March 2013)
Please Explain how 66 answer
heli said: (3:17am on Wednesday 20th March 2013)
pls help me to understand....how its take value for factorial...by recursion???
ruchi said: (3:16am on Thursday 28th March 2013)
how came 66 ans

Using
Pop(S1, Item)
Push(S1,Item)
Read(Item)
Print(Item)
the variables S1 represents (stack) and Item are given the input file:
A,B,C,D,E,F <EOF>
Which stacks are possible:
A. 
5 A 
B. 
5 
C. 
5 
D. 
5 
Option: C Explanation : Click on Discuss to view users comments. nisha said: (4:41pm on Thursday 31st January 2013)
plz sm1 help me to understand
sumita sen said: (8:48pm on Sunday 3rd February 2013)
sorry, but couldn't get the logic........
veni said: (10:32pm on Tuesday 19th March 2013)
Please explain the logic behind it
heli said: (3:15am on Wednesday 20th March 2013)
pls help me to understand

Using Pop (S1,Item) ,Push(S1, Item), Getlist(Item), Pop(S2,Item), and the variables S1,S2(stacks with Top1 and Top2) and Item and given the input file: A,B,C,D,E,F Which stack are possible?
A.  All possible stacks with A,B,C,D,E and F 
B.  No possible stacks with A,B,C,D,E and F 
C.  Exact and only those stacks which can be produced with S1 alone 
D.  Twice as many stacks as can be produced with S1 alone 
Option: A Explanation : Click on Discuss to view users comments. 
Syllabus covered in this section is
This Section covers Data Structures Questions Answers using C language .
Who can benefit 
Various Search Terms used for this section are