¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Chapter 4 Vocabulary

cjonas1489 Inglés 1 página

Contenido del apunte (1)

Página 1

Chapter 4 Vocabulary

Define the following terms and expressions from your textbook.

Boolean expression- a logical statement that is either TRUE or FALSE

Compound Boolean expression- expression with more than one Boolean

Conditional control structure- a statement that branches program flow depending on a condition

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

Logical Not- The ! operator used 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 random, but like random

Relational operator- operators that can be used to form a Boolean expression

Short circuit evaluation- a 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- a table that shows the possible outcomes of two expressions joined by a logical operator

Chapter 4 Java

==- Equality relational operator

<- Less than relational operator

<=- less than or equal relational operator

>- greater than relational operator

>=- greater than or equal relational operator

!=-not equal relational 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 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 true and another set of statements when the 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

Información

Descripción
Apunte sobre Chapter 4 Vocabulary, creado por cjonas1489 el 03/03/2016.
Creado por
cjonas1489 · mar 2016
Actualizado
5 mar 2016
Visitas
2
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?