Questions: Symbolic Execution

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

A program branches on the condition (x > 5). Under symbolic execution with x as a symbolic variable, what happens at this branch point?

AThe symbolic executor picks a random value for x and follows one path
BExecution forks into two paths: one with the constraint x > 5 added to the path condition, and one with x <= 5 added. Both paths are explored independently
CThe branch is skipped and both paths are merged
DThe symbolic executor evaluates x > 5 to 'unknown' and halts
Question 2 Short Answer

The path explosion problem in symbolic execution — the number of paths growing exponentially with the number of branches — is analogous to which problem in model checking?

Think about your answer, then reveal below.
Question 3 Short Answer

Concolic (concrete + symbolic) execution runs the program with both concrete and symbolic inputs simultaneously. What advantage does this provide over pure symbolic execution?

Think about your answer, then reveal below.