Notizen
Chp. 4 Vocabulary
Inhalt der Notizen (1)
Seite 1
Chapter 4 Vocabulary
Define the following terms and expressions from your textbook.
Boolean expression expression that evaluates to true or false
Compound Boolean expression expression that contains more than one Boolean expression
Conditional control structure statement that branches program flow depending on condition(decision structure)
Decision structure conditional control structure
Linear Congruential Method method that uses a formula to generate a sequence of pseudo random numbers
Logical And the && operator uses to form a compound Boolean expression
Logical Not ! operator used to reverse the value of a Boolean expression
Logical Or the || operators used to form a compound Boolean expression
Nested a statement whiten the same type of statement
Pseudorandom not truly random but like random.
Relational operator operators(==,<=,<=,>,>=,!=)
Short circuit evaluation process for determining the result of a Boolean expression where the left operand is evaluated first. If the result of the entire expression can be determined by the left operand, no other operands are evaluated.
Truth table table that shows the possible outcomes of two expressions joined by a logical operator.
Chapter 4 Java
== equality relational operator
< less than
<= less than or equal to
> greater than
>= greater than or equal to
!= not equal
&& And
|| Or
! Not
break a statement that moves program control to the next statement after the current structure.
case clause i the switch statement that contains statements to be executed when the case condition makes the result of the switch expression.
if decision
if-else executes a function when a signal is true or another signal is true.
if-else if same as if with three variables
Math method for generating random numbers and performing math functions
switch uses the result of an expression to determine which set of statements to execute.
Informationen
- Beschreibung
- 10-12 Intro to computer Programing Notiz am Chp. 4 Vocabulary, erstellt von djenkins5165 am 08/02/2016.
- Erstellt von
- djenkins5165
- Aufrufe
- 1
- Verlauf
-
- Erstellt von Terri FLetcher · 8 Feb 2016
- Kopiert von djenkins5165 · 8 Feb 2016
- Bewertung