Thursday, February 12, 2009

1. C - Variables are temporary memory locations.
2. D – income94, inc_94, incomeTax are all valid variable names
3. C – A procedure level variable is known only to the procedure in which it is declared
4. A – A literal constant is a memory location whose value can change while the program is running.
5. D – A variables can change.
6. C - Objects is the default value
7. B - price = 2.89D
8. C - isConverted = TryParse.Decimal (inputRate, rate)
9. A - Add and then convert.
10. D - commission = Convert.ToSingle(sales) * 0.5S
11. A - Const Rate As double - .09
12. C - Convert to string
13. A - ' to comment
14. A - block level variables are used the most
15. C - Implicit off
16. A - Foucs()
17. C - You need "" around strings.
18. B - It needs ()
19. A - Logical error
20. C - D stands for decimal

No comments:

Post a Comment