Tuesday, November 5, 2019

4 Definitions

Condition: something you test that results in “true” or “false”. For example you’re handing out flyers to recruit new members for the coding club. When you see a student, decide



Conditional coding: a block of code that will run only if something is true.this can be expressed as an”if-then” statement.it can also include an “else block” which runs if all conditions in the statement are false


Boolean: a value that can only be true or false. For the conditional statement to run, we have to tell the computer what the possible outcomes are.


Logical operator: A symbol or word, such as “and” “or”, and “not”, that connects two or more Boolean to make conditional decisions more specific.

No comments:

Post a Comment