Conditional statements are programming constructs that allow different actions to be taken based on whether a certain condition is true or false. They control the flow of execution in a program.
Input Values: These are the data values provided to a program during its execution. They can be used as conditions in conditional statements.
Multiple Possible Outcomes: This refers to situations where there are more than two possible results based on different conditions in a conditional statement.
Boolean Expressions: These are expressions that evaluate to either true or false and are commonly used as conditions in conditional statements.
AP Computer Science Principles
AP Computer Science A - Unit 3 Overview: Boolean Expressions and if Statements
Study guides for the entire semester
200k practice questions
Glossary of 50k key terms - memorize important vocab
About Fiveable
Blog
Careers
Code of Conduct
Terms of Use
Privacy Policy
CCPA Privacy Policy
Cram Mode
AP Score Calculators
Study Guides
Practice Quizzes
Glossary
Cram Events
Merch Shop
Crisis Text Line
Help Center
About Fiveable
Blog
Careers
Code of Conduct
Terms of Use
Privacy Policy
CCPA Privacy Policy
Cram Mode
AP Score Calculators
Study Guides
Practice Quizzes
Glossary
Cram Events
Merch Shop
Crisis Text Line
Help Center
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.