A PDA chooses the next move based on ______

2025

A PDA chooses the next move based on ______

  1. A.

    Current state

  2. B.

    Next input symbol

  3. C.

    Both (a) and (b)

  4. D.

    None of these

Attempted by 75 students.

Show answer & explanation

Correct answer: D

Explanation

A Pushdown Automaton (PDA) determines its next move using a transition function.

This function takes three inputs: the current state, the next input symbol, and the top stack symbol.

Therefore, both the current state and the input symbol are essential factors in deciding the next move.

Explore the full course: Bpsc