Unit 3: Conditionals
Return to BrotherPete's Pages
Topic Description:
Conditionals are features of programming language that allow for an if/then either/or style of progress through a program. Boolean (true/false) logic allows conditions to be tested before proceeding (or not) to the next element in an algorithm.
Questions to be addressed:
What is a conditional statement?
How are conditionals beneficial for programs?
Do all conditionals have an “else”?
What types of conditionals are there?
In what sorts of situations is a “while” loop helpful?