Notes
1_Chp. 4 Vocabulary
Content of the notes (1)
Page 1
Chapter 4 Vocabulary
Define the following terms and expressions from your textbook.
Boolean expression An expression that evaluates 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
Decision structure Same as a Conditional control Structure
Linear Congruential Method A method that uses a formula to generate a sequence of psuedorandom numbers
Logical And The && operator is used to form a compound Boolean expression
Logical Not The ! operator is used to reverse the value of a Boolean expression
Logical Or The || expression is used to form a compound Boolean expression
Nested A statement placed within a statement of the same type
Pseudorandom Not truly random, but like random
Relational operator Operators that can be used form a Boolean expression
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 Shows the possible outcomes of two expressions joined by a logical operator
Chapter 4 Java
== The equality relational operator
< The less than operator
<= The less than or equal to operator
> The greater than operator
>= The greater than or equal to operator
!= The not equal operator
&& Logical And operator
|| Logical Or operator
! Logical Not operator
break A statement that moves program control to the next statement after the current structure
case A clause in which the switch statement that contains statements to be executed when the case condition matches the result of the switch expression
if Decision structure that executes a set of statements when a condition is true
if-else Decision structure that executes a set of statements when a condition is true and another set of statements when the condition is false
if-else if 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 Decision structure that uses the result of an expression to determine which set of statements to execute
Information
- Description
- Note on 1_Chp. 4 Vocabulary, created by dwrinkle5671 on 15/03/2016.
- Created by
- dwrinkle5671 · Mar 2016
- Updated
- Mar 16, 2016
- Views
- 1
- History
-
- Created by Terri FLetcher · Mar 15, 2016
- Copied by dwrinkle5671 · Mar 15, 2016
- Rating