Notizen
Chp. 4 Vocabulary
Inhalt der Notizen (1)
Seite 1
Chapter 4 Vocabulary
Define the following terms and expressions from your textbook.
Boolean expression- An Expression that evaluates to true or false
Compound Boolean expression- An expression that includes more than one boolean expression
Conditional control structure-- A statement that branches program flow depending on a condition also called a decision structure
Decision structure-- See conditional control structure
Linear Congruential Method-- A method that uses a formula to generate a sequence of pseudorandom numbers
Logical And-- The && operator used to form a compound boolean expression
Logical Not- The ! operator use to reverse the value of a boolean expression
Logical Or-- The :: operator used to form a compound boolean expression
Nested-- A statement placed within the same type of statement
Pseudorandom-- Not truly placed within the same type of statement
Relational operator-- Operators that can be used to form a boolean expression
Short circuit evaluation-
Truth table-- A table that shows the possible outcomes of two expressions joined by a logical operator
Chapter 4 Java
== The equality relational operator
< The less the relational operator
<= The less than or equal relational operator
> The greater than relational operator
>= The greater than or equal relational operator
!= The not equal relational operator
&& The logical and operator
|| The logical OR operator
! The logical not operator
break-- A statement that moves program control to the next statement after the current structure
case-- A clause in the switch statement that contains statements to be executed when the case condition matches the result of the switch expression
if-- A decision structure that executes a set of statements when a condition is true
if-else-------- A decision structure that executes one set of statements when a condition is false
if-else if------- A decision structure used to decide among three or more actions
Math-- A java.lang class with methods for generating random numbers and performing math functions
switch---- A decision structure that uses the result of an expression to determine which set of statements to execute
Informationen
- Beschreibung
- Notiz am Chp. 4 Vocabulary, erstellt von gvassalle7505 am 08/02/2016.
- Erstellt von
- gvassalle7505 · Feb 2016
- Aktualisiert
- 9 Mär 2016
- Aufrufe
- 5
- Verlauf
-
- Erstellt von Terri FLetcher · 8 Feb 2016
- Kopiert von gvassalle7505 · 8 Feb 2016
- Bewertung