Which expressions get stuck?

Consider a language with numerals, booleans, ++, << and if-then-else under standard small-step rules. The operators ++ and << compute only on two numerals and reduce their operands left to right, and S-IfT and S-IfF fire only when the guard is the boolean true or false. Which of the following expressions are stuck or reduce to a stuck expression? Select all that apply.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Operational Semantics Questions: