A home improvement store is giving a discount of 20 on all


Question 1. C# keywords include _____ and _____.
case, for
catch, trying
int, nullset
try, dynamic

Question 2. Set a variable to a value with the symbol _____, and test equality with _____.
=, =
==, ==
==, =
=, ==

Question 3. Since data stored in _____ is lost when the computer's power is turned off, that type of memory is considered to be _____.
RAM, volatile
auxiliary storage, volatile
RAM, nonvolatile
auxiliary storage, nonvolatile

Question 4. Which escape sequence is used to display a backslash within a string literal on the output console?
Special characters cannot be added to string literals.
\n
\\
Return character

Question 5. The keyword "void" means that a method _____.
does not return a value
is invalid
releases memory after it is called
clears all variables it is passed

Question 6. A computer uses ____ numerals to represent and manipulate data.
two
eight
10
16

Question 7. Given that a is 5, b is 6, and c is 8, which of the following is false?
c >= 8
a >= 0
a <= (b * 2)
(1 + a) != b

Question 8. A home improvement store is giving a discount of 20% on all purchases of more than $250. Which of the following is the appropriate structure to use to program the statement?
Loop
Method
Decision
Sequence

Question 9. Your program keeps asking for Student IDs until he/she enters "AAAAA." In this context, the "AAAAA" is used as a(n) _____.
accumulator
counter
integer data type
sentinel value

Question 10. The _____ structure is a _____ loop, meaning that its conditional expression is tested after the statements inside its body execute.
do-while, posttest
do-while, pretest
while, posttest
while, pretest

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: A home improvement store is giving a discount of 20 on all
Reference No:- TGS01089901

Expected delivery within 24 Hours