Please enable JavaScript to use CodeHS

Nitro Glossary

Flashcards

Course:

Module:

Lesson:

Search:

If Statement General

An if statement lets you ask a question to the program and only run code if the answer is true.

If Statement

Control Structure General

A control structure lets us change the flow of the code.

Control Structure loops if statements

Conditional Statement General

A statement that evaluates to true or false.

Relational Operators Java

== , !=. <. > , <=, >= These allow for the comparison or primitive type values. The result of these expressions can be stored as a Boolean value.

If Else Statement General

Control structure that lets us run either one section of code or another depending on a test.

If Else Statement

else statement Python

Executes code only if all conditions are false

Condition General

A condition is code that you put inside an if statement or while-loop.

Condition

else if Statement General

A statement that executes if the previous statements are false and this statement is true

Logical Operators Java

Can be used to connect boolean expressions to make more complex expression. NOT ! AND && OR ||

Short Circuit Evaluation Java

When the result of a logical expression using && or || can be determined by evaluating only the first Boolean operand, the second is not evaluated.

Nested if Statements Java

The process of placing if statements within if statements.

Truth Tables Java

A truth table is a table used in logic for comparing Boolean expressions.

Aliases Java

Two object references are considered aliases when they both reference the same object.

Reference equality Java

Equality operator (==) compares the references (addresses in memory) of 2 objects

Logical equality Java

Compares the data of the objects instead of the value of the references. Uses the .equals() method.