answers 100% correct
Variables - correct answer ✔✔A memory location that has been given a name so that it can be easily
referred to and used in a program
Types - correct answer ✔✔Indicates which sort of data it can hold
Identifier - correct answer ✔✔A sequence of one or more characters that is used to name classes,
variables, functions, etc. and must be chosen by the programmer
Declare - correct answer ✔✔This must happen first
ex. int count;
Assignment Statement - correct answer ✔✔Giving a variable information
ex. count = 2;
Initialize - correct answer ✔✔Declares and assigns a variable
ex. int count = 2;
Operators - correct answer ✔✔Expressions contain a literal, variable, function call or several of these
things combines with ....
ex. >, <, [, ], ==, != , etc.
, If Statement - correct answer ✔✔Tells the computer one of the two alternative courses f action,
depending on whether the value of a given boolean-valued expression is true or false
if (<boolean expression>){
<statement 1>
}
If/Else Statement - correct answer ✔✔The "if" block may be followed by an "else" keyword, followed by
another code block
if (<boolean expression>){
<statement 1>
} else {
<statement 2>
}
While Loop - correct answer ✔✔Used to repeat a given statement over and over. Checks conditional and
ruins inner code if it is true, then repeats
while (<conditional>){
//code
}
Do-While Loop - correct answer ✔✔Tests the continuation at the end of the loop instead of at the
beginning
do{
//code
}while (<conditional>)