ISC · Computer Science · Stacks
Practice question
3 marksOriginal Khojo Papers practice question written to the ISC Computer Science syllabus — not from a past board or specimen paper.
Name three applications of a stack.
ISC · Computer Science · Stacks
Original Khojo Papers practice question written to the ISC Computer Science syllabus — not from a past board or specimen paper.
Name three applications of a stack.
Only on this page: it is kept if you say you got it wrong, so you can compare later.
Watch a teacher solve this on the board, step by step, with voice. Then ask about any step.
No checked answer or marking scheme for this question yet.
Its answer has not been reviewed. The AI Examiner marks only questions that have an official marking scheme or an answer a teacher has reviewed.
From the same topic and chapter, at a similar level.
A stack of capacity 5 is empty. After push(1), push(2), push(3), pop(), push(4), pop(), pop(), what is left on the stack?
Stacks
Write the algorithm for the push operation on a stack implemented in an array of capacity n.
Stacks
What is a stack? Name the two operations on it and state what overflow and underflow mean.
Stacks
Write a recursive Java method to compute the factorial of a non-negative integer n.
Recursion
State and verify the absorption law X + X·Y = X using a truth table.
Boolean Algebra
Convert the Boolean expression F(A, B, C) = Σ(1, 3, 5) into its canonical sum of products form.
Boolean Algebra