Notes
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 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
Information
- Description
- Note on Chp. 4 Vocabulary, created by gvassalle7505 on 08/02/2016.
- Created by
- gvassalle7505
- Views
- 5
- History
-
- Created by Terri FLetcher · Feb 8, 2016
- Copied by gvassalle7505 · Feb 8, 2016
- Rating