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 includes more then one Boolean expression
Conditional control structure branches program flow depending on a condition also called a decision structure
Decision structure see conditional control structure
Linear Congruential Method uses a formula to generate a sequence of pseudo random numbers
Logical And && operator used to form compound Boolean expressions
Logical Not the ! operator used to reverse the value of a Boolean structure
Logical Or used to form compound Boolean expressions
Nested placed within the same type of statement
Pseudo random like random
Relational operator can be used to form a Boolean expression
Short circuit evaluation process for determining the result of a Boolean expression where the left operand is evaluated first
Truth table shows the possible outcomes of two w=expressions joined by a logical operator
Chapter 4 Java
== equal
< less tan
<= less than or equal to
> greater than
>= greater than or equal to
!= nor equal
&& logical and operator
||logical or operator
! logical not operator
break moves program control to next statement
case contains statements to be executed when the cases condition matches the result of the switch command
if decision structure that executes a set of statements when a condition is true
if-else executes one set of statements
if-else if used to decide among three or more actions
Math java.lang class with methods for generation 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
- 10-12 intro to computer programming Note on Chp. 4 Vocabulary, created by Montrice Gore on 08/02/2016.
- Created by
- Montrice Gore · Feb 2016
- Updated
- Feb 19, 2016
- Views
- 2
- History
-
- Created by Terri FLetcher · Feb 8, 2016
- Copied by Montrice Gore · Feb 8, 2016
- Rating