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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Perform the following bitwise operators:

A << 2

A >> 2

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What dooes the add = &var mean?

A

that ‘add’ is equal to the memory address of ‘var’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly