Part 2: Topic 3 - Finite State Machines (FSMs) and C Programming for Microcontrollers Flashcards
1
Q
Determinisitic and Non-Deterministic FSMs?
A
–Deterministic: Considers all possible inputs at all states.
–Non-deterministic: Machine can move to any combination of states and hence the exact state cannot be determined.
2
Q
When are states equivalent?
A
•States are equivalent if they have the same (outgoing) event transition, actions (function part of transition, not interruptible) and activities (function part of state, interruptible).
3
Q
Perform the following bitwise operators:
A << 2
A >> 2
A
4
Q
What dooes the add = &var mean?
A
that ‘add’ is equal to the memory address of ‘var’