Ch03_Questions

Ch03_Questions - C# Programming: From Problem Analysis to...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1. c. exampleOfAValue 2. b. integral 3. c. string 4. e. all of the above 5. c. int 6. d. double does not require suffixing a numeric literal with a value such as ‘m’ or ‘f’. 7. d. string bookName; 8. a. classes 9. b. 47 10. c. bool upperLimit; 11. a. places a value in memory that cannot be changed 12. d. result += 15; 13. c. 8 14. c. 28 C# Programming: From Problem Analysis to Program Design , 2nd edition ISBN 1423901460 Chapter 3 Doyle: C#, 2nd edition ISBN 1423901460 Page 1-1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
15. d. all of the above 16. a. ans = value1 + value2 * value3 – (value4 + 20 / 5 % 2) * 7; 8 6 4 7 3 1 2 5 b. ans += value1-- * 10; 3 2 1 c. ans = (((value1 + 7) – 6 * value2) / 2) 5 1 3 2 4 d. ans = value1 + value2 / value3 * value4--; 5 4 1 2 3 17. a. valid b. invalid; # is an invalid character c. invalid; has embedded spaces d. valid e. valid 18. a. int noOfCorrectResponses; b. decimal amountOwed; Doyle: C#, 2nd edition ISBN 1423901460 Page 1-2
Background image of page 2
or double amountOwed; c. string homeTown; d. int examScore; e. char finalGrade; 19. a.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/24/2011 for the course CIS 170 taught by Professor Michaelfreeman during the Spring '10 term at DeVry Chicago.

Page1 / 7

Ch03_Questions - C# Programming: From Problem Analysis to...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online