Ch07_Questions

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

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

View Full Document Right Arrow Icon
C# Programming: From Problem Analysis to Program Design , 2nd edition ISBN 1423901460 Chapter 7 1. d. integer 2. d. int [ ] temp = new temp [7]; 3. b. for (x = 0; x < 4; ++x) num [x] = 100; 4. b. specifies the size of the array as five 5. a. index of the largest of the first num elements of array anArray 6. b. counts the number of elements of array anArray less than its initial element 7. d. g 8. a. all have the same type. 9. e. none of the above 10. b. x[4] += 42; 11. d. 6 12. d. 0 2 4 6 8 13. d. anArray [2] *= 2; 14. d. replace the 800 amount with 810. 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. c. replace the 600 with 200. 16. b. display 1300. 17. c. a copy of the value in the element. 18. b. the address of the array. 19. d. ToLower( ) 20. a. IndexOf() 21. e. Capacity( ) 22. d. ArrayList 23. a. Console.Write(result(anArray, 3)); 24. a. only be used for read-only access 25 e. all are correct 26. a.
Background image of page 2
Image of page 3
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 / 6

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

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

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