The character escape sequence to represent a backslash is:
  • \"
  • \n
  • \'
  • \\
Qualifying an integer declaration with "unsigned" essentially increases the maximum value of the variable by a factor of
  • two
  • \n
  • monthlyPay
  • \t
The character escape sequence to represent a single quote is:
  • \'
  • \n
  • \\
  • \"
Of the following variable names, which is the best one for keeping track of whether a patient has a fever or not?
  • mightBePrime
  • monthlyPay
  • hasFever
  • defined
Before a variable is used it must be
  • mightBePrime
  • 7thheaven because identifiers must not start with numbers (42c), must not have a disallowed space (hello there ) and must a disallowed symbol (!)
  • hasFever
  • defined
A location in memory used for storing data and given a name in a computer program is called a
  • variable because the data in the location can be changed
  • ________ is a legal identifier because underscores count as letters.
  • monthlyPay
  • 7thheaven because identifiers must not start with numbers (42c), must not have a disallowed space (hello there ) and must a disallowed symbol (!)
The character escape sequence to represent a double quote is:
  • \n
  • \'
  • \\
  • \"
What is not a legal identifier?
  • defined
  • 7thheaven because identifiers must not start with numbers (42c), must not have a disallowed space (hello there ) and must a disallowed symbol (!)
  • variable because the data in the location can be changed
  • ________ is a legal identifier because underscores count as letters.
The character escape sequence to force the cursor to advance forward to the next tab setting is:
  • \'
  • \"
  • \t
  • \n
Which is the best identifier for a variable to represent the amount of money your boss pays you each month?
  • monthlyPay
  • \t
  • hasFever
  • mightBePrime
0:0:1



Answered

Not Answered

Not Visited
Correct : 0
Incorrect : 0