ITS 250 - Project 2 Deck
<=
This operator checks if the value of the left operand is less than or equal to the value of the right operand. If yes, then the condition is true.
!=
This operator is used to determine whether or not the values of two operands are equal. If not, then the condition becomes true.
variable
This term refers to a computer memory location which is used to store a specific value in a computer program.
string
This term refers to a sequence of characters.
True
True or False: Before assigning value to a variable, the variable must be created/declared using the "int" command.
False
True or False: Computer programs are rarely used for mathematical calculations.
True
True or False: Using a reserved keyword when naming a variable will result in a syntax error.
data type
A ___ ___ is processed by a computer program and can be numeric, alphanumeric, decimal, etc.
operator
An _____ is a symbol that tells the compiler or interpreter to perform a specific mathematical, relational, or logical operation and produce the final result.
declared
In Java programming language, a variable must be _____ before it is used in a program.
char
When using C or Java, this command is used to specify a character data type.
int
When using C or Java, this command is used to specify integer data.
d) #
Which of the following characters would typically not be allowed in a variable name? a) P b) 6 c) z d) #
b) run
Which of the following is not a reserved keyword in Java? a) goto b) run c) import d) boolean
a) <>
Which of the following is not a valid relational operator? a) <> b) == c) != d) >=
b) =
Which of the following is not an arithmetic operator? a) + b) = c) % d) /