1/6
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
How is truth in C?
A bit-wise 0 is false, anything else is labeled true
What about boolean expressions in C?
True and true results are exactly 1, while false and false results are exactly 0
What kind of logic does C follow generally?
Short Circuit Evaluation: The evaluation of a boolean sentence stops after finding its final confirmed truth value
What is control flow?
The path an execution takes through a program, the C model is linear flow defaulted
What is something about control flow statements that can happen?
These statements can essentially change the flow of execution, and it is how our programs can make decisions
What happens when we translate the condition from C to Assembly?
The structure of the program ends up becoming lost, which usually happens when we try to do this
What can a computer generally do?
A computer can make simple comparisons and jump to a program location, otherwise it is just a software construction if complicated