Python Chapter 3

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

single alternative decision structure

a decision structure that provides only one alternative path of execution

dual alternative decision structure

a decision structure with two possible paths of execution; one path for true and one path for false

control structure

a logical design that controls the order in which a set of statements execute

block

a set of statements that belong together as a group

sequence structure

a set of statements that execute in the order that they appear

decision structure

a type of structure that executes a set of statements only under certain circumstances

flag

a variable that signals when some condition exists in the program

Boolean expression

an expression that evaluates true and false; named in honor of English mathematician George Boole

condition

an expression that will be evaluated as either true or false

relational operator

an operator that determines whether a specific relationship exists between two values

if-else

dual alternative decision structure

short-circuit evaluation

evaluating only part of an expression if the remainder will not change the result

logical operators

operators used to create complex Boolean expressions

conditionally executed

performed only when a certain condition is true

if statement

single alternative decision structure


Kaugnay na mga set ng pag-aaral

1. Palavras Básicas I (Basic Words)

View Set

Portales 1 Lección 6.1 Saber y Conocer

View Set