Title: Module 03 Quiz Using Data
Course: Advance C# > Section: Module 03

Q: A(n) ____ is a named location in computer memory that can hold different values at different points in time.
- variable
- constant
- literal constant
- alias
A: variable

Q: A(n) ____ is the statement that names a variable and reserves storage for it.
- alias
- intrinsic declaration
- implicit declaration
- variable declaration
A: variable declaration

Q: In C#, you can display variable values by using the variable name within a ____ method call.
- PrintLine()
- WriteLine()
- println()
- printf()
A: WriteLine()

Q: ____ are strings of characters expressed within double quotation marks that indicate a format for output.
- Literal constants
- Standard numeric format strings
- Named constants
- Intrinsic types
A: Standard numeric format strings

Q: You can use a prefix or postfix ____ operator (--) that reduces a variable’s value by 1.
- increment
- sub and assign
- add and assign
- decrement
A: decrement

Q: You use the ____ data type to hold any single character.
- <span style="font-family:'Courier New'">char</span>
- <span style="font-family:'Courier New'">string</span>
- <span style="font-family:'Courier New'">bool</span>
- <span style="font-family:'Courier New'">int</span>
A: <span style="font-family:'Courier New'">char</span>

Q: In C#, you use the ____ data type to hold a series of characters.
- int
- string
- sbyte
- char
A: string

Q: You create a named constant similarly to the way you create a named variable, but by using the keyword ____.
- final
- static
- const
- fix
A: const

Q: You can use the ____ method to accept user input from the keyboard.
- Console.Next()
- Console.NextLine()
- Console.ReadLine()
- Console.Input()
A: Console.ReadLine()

Q: An instruction to the user to enter data is called a ____.
- line
- prompt
- cue
- hint
A: prompt