COSC 1315
Programming Fundamentals
Practice Text #zz
Revised: zz
By Richard G. Baldwin
File Pfsg00zz.htm
Practice Text Index
Welcome
The practice tests in this series were written specifically for the benefit
of my students in COSC 1315, Fundamentals of Programming. They
consists of questions, answers, and explanations. The questions are
based on the material covered in my series of online lecture notes for the
course. Each practice test is keyed to a specific lecture. This
practice test is keyed to lecture #zz titled zz.
Questions
ww-1. True or False. What output is produced by the program shown in
Listing yy-1?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-1.
Answer and Explanation
ww-2. True or False. What output is produced by the program shown in
Listing yy-2?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-2.
Answer and Explanation
ww-3. True or False. What output is produced by the program shown in
Listing yy-3?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-3.
Answer and Explanation
ww-4. True or False. What output is produced by the program shown in
Listing yy-4?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-4.
Answer and Explanation
ww-5. True or False. What output is produced by the program shown in
Listing yy-5?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-5.
Answer and Explanation
ww-6. True or False. What output is produced by the program shown in
Listing yy-6?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-6.
Answer and Explanation
ww-7. True or False. What output is produced by the program shown in
Listing yy-7?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-7.
Answer and Explanation
ww-8. True or False. What output is produced by the program shown in
Listing yy-8?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-8.
Answer and Explanation
ww-9. True or False. What output is produced by the program shown in
Listing yy-9?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-9.
Answer and Explanation
ww-10. True or False. What output is produced by the program shown in
Listing yy-10?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-10.
Answer and Explanation
ww-11. True or False. What output is produced by the program shown in
Listing yy-11?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-11.
Answer and Explanation
ww-12. True or False. What output is produced by the program shown in
Listing yy-12?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-12.
Answer and Explanation
ww-13. True or False. What output is produced by the program shown in
Listing yy-13?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-13.
Answer and Explanation
ww-14. True or False. What output is produced by the program shown in
Listing yy-14?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-14.
Answer and Explanation
ww-15. True or False. What output is produced by the program shown in
Listing yy-15?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-15.
Answer and Explanation
ww-16. True or False. What output is produced by the program shown in
Listing yy-16?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-16.
Answer and Explanation
ww-17. True or False. What output is produced by the program shown in
Listing yy-17?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-17.
Answer and Explanation
ww-18. True or False. What output is produced by the program shown in
Listing yy-18?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-18.
Answer and Explanation
ww-19. True or False. What output is produced by the program shown in
Listing yy-19?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-19.
Answer and Explanation
ww-20. True or False. What output is produced by the program shown in
Listing yy-20?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-20.
Answer and Explanation
ww-21. True or False. What output is produced by the program shown in
Listing yy-21?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-21.
Answer and Explanation
ww-22. True or False. What output is produced by the program shown in
Listing yy-22?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-22.
Answer and Explanation
ww-23. True or False. What output is produced by the program shown in
Listing yy-23?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-23.
Answer and Explanation
ww-24. True or False. What output is produced by the program shown in
Listing yy-24?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-24.
Answer and Explanation
ww-25. True or False. What output is produced by the program shown in
Listing yy-25?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-25.
Answer and Explanation
ww-26. True or False. What output is produced by the program shown in
Listing yy-26?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-26.
Answer and Explanation
ww-27. True or False. What output is produced by the program shown in
Listing yy-27?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-27.
Answer and Explanation
ww-28. True or False. What output is produced by the program shown in
Listing yy-28?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-28.
Answer and Explanation
ww-29. True or False. What output is produced by the program shown in
Listing yy-29?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-29.
Answer and Explanation
ww-30. True or False. What output is produced by the program shown in
Listing yy-30?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-30.
Answer and Explanation
ww-31. True or False. What output is produced by the program shown in
Listing yy-31?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-31.
Answer and Explanation
ww-32. True or False. What output is produced by the program shown in
Listing yy-32?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-32.
Answer and Explanation
ww-33. True or False. What output is produced by the program shown in
Listing yy-33?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-33.
Answer and Explanation
ww-34. True or False. What output is produced by the program shown in
Listing yy-34?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-34.
Answer and Explanation
ww-35. True or False. What output is produced by the program shown in
Listing yy-35?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-35.
Answer and Explanation
ww-36. True or False. What output is produced by the program shown in
Listing yy-36?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-36.
Answer and Explanation
ww-37. True or False. What output is produced by the program shown in
Listing yy-37?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-37.
Answer and Explanation
ww-38. True or False. What output is produced by the program shown in
Listing yy-38?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-38.
Answer and Explanation
ww-39. True or False. What output is produced by the program shown in
Listing yy-39?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-39.
Answer and Explanation
ww-40. True or False. What output is produced by the program shown in
Listing yy-40?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-40.
Answer and Explanation
ww-41. True or False. What output is produced by the program shown in
Listing yy-41?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-41.
Answer and Explanation
ww-42. True or False. What output is produced by the program shown in
Listing yy-42?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-42.
Answer and Explanation
ww-43. True or False. What output is produced by the program shown in
Listing yy-43?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-43.
Answer and Explanation
ww-44. True or False. What output is produced by the program shown in
Listing yy-44?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-44.
Answer and Explanation
ww-45. True or False. What output is produced by the program shown in
Listing yy-45?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-45.
Answer and Explanation
ww-46. True or False. What output is produced by the program shown in
Listing yy-46?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-46.
Answer and Explanation
ww-47. True or False. What output is produced by the program shown in
Listing yy-47?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-47.
Answer and Explanation
ww-48. True or False. What output is produced by the program shown in
Listing yy-48?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-48.
Answer and Explanation
ww-49. True or False. What output is produced by the program shown in
Listing yy-49?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-49.
Answer and Explanation
ww-50. True or False. What output is produced by the program shown in
Listing yy-50?
-
A. Compiler Error
-
B. Runtime Error
-
C. zz
-
D. None of the above.
Listing yy-50.
Answer and Explanation
Copyright 2007, Richard G. Baldwin. Reproduction in whole or
in part in any form or medium without express written permission from Richard
Baldwin is prohibited.
About the author
Richard Baldwin
is a college professor (at Austin Community College in Austin, TX) and private consultant whose primary focus is a
combination of Java and XML. In addition to the many platform-independent
benefits of Java applications, he believes that a combination of Java and
XML will become the primary driving force in the delivery of structured
information on the Web.
Richard has participated in numerous consulting projects involving
Java, XML, or a combination of the two. He frequently provides onsite
Java and/or XML training at the high-tech companies located in and around
Austin, Texas. He is the author of Baldwin's Java Programming Tutorials,
which has gained a worldwide following among experienced and aspiring Java
programmers. He has also published articles on Java Programming in Java
Pro magazine.
Richard holds an MSEE degree from Southern Methodist University and
has many years of experience in the application of computer technology
to real-world problems.
Baldwin@DickBaldwin.com
Answers and Explanations
Answer 50
zz
Back to Question 50
Explanation 50
Answer 49
zz
Back to Question 49
Explanation 49
Answer 48
zz
Back to Question 48
Explanation 48
Answer 47
zz
Back to Question 47
Explanation 47
Answer 46
zz
Back to Question 46
Explanation 46
Answer 45
zz
Back to Question 45
Explanation 45
Answer 44
zz
Back to Question 44
Explanation 44
Answer 43
zz
Back to Question 43
Explanation 43
Answer 42
zz
Back to Question 42
Explanation 42
Answer 41
zz
Back to Question 41
Explanation 41
Answer 40
zz
Back to Question 40
Explanation 40
Answer 39
zz
Back to Question 39
Explanation 39
Answer 38
zz
Back to Question 38
Explanation 38
Answer 37
zz
Back to Question 37
Explanation 37
Answer 36
zz
Back to Question 36
Explanation 36
Answer 35
zz
Back to Question 35
Explanation 35
Answer 34
zz
Back to Question 34
Explanation 34
Answer 33
zz
Back to Question 33
Explanation 33
Answer 32
zz
Back to Question 32
Explanation 32
Answer 31
zz
Back to Question 31
Explanation 31
Answer 30
zz
Back to Question 30
Explanation 30
Answer 29
zz
Back to Question 29
Explanation 29
Answer 28
zz
Back to Question 28
Explanation 28
Answer 27
zz
Back to Question 27
Explanation 27
Answer 26
zz
Back to Question 26
Explanation 26
Answer 25
zz
Back to Question 25
Explanation 25
Answer 24
zz
Back to Question 24
Explanation 24
Answer 23
zz
Back to Question 23
Explanation 23
Answer 22
zz
Back to Question 22
Explanation 22
Answer 21
zz
Back to Question 21
Explanation 21
Answer 20
zz
Back to Question 20
Explanation 20
Answer 19
zz
Back to Question 19
Explanation 19
Answer 18
zz
Back to Question 18
Explanation 18
Answer 17
zz
Back to Question 17
Explanation 17
Answer 16
zz
Back to Question 16
Explanation 16
Answer 15
zz
Back to Question 15
Explanation 15
Answer 14
zz
Back to Question 14
Explanation 14
Answer 13
zz
Back to Question 13
Explanation 13
Answer 12
zz
Back to Question 12
Explanation 12
Answer 11
zz
Back to Question 11
Explanation 11
Answer 10
zz
Back to Question 10
Explanation 10
Answer 9
zz
Back to Question 9
Explanation 9
Answer 8
zz
Back to Question 8
Explanation 8
Answer 7
zz
Back to Question 7
Explanation 7
Answer 6
zz
Back to Question 6
Explanation 6
Answer 5
zz
Back to Question 5
Explanation 5
Answer 4
zz
Back to Question 4
Explanation 4
Answer 3
zz
Back to Question 3
Explanation 3
Answer 2
zz
Back to Question 2
Explanation 2
Answer 1
zz
Back to Question 1
Explanation 1
Copyright 2007, Richard G. Baldwin. Reproduction in whole or
in part in any form or medium without express written permission from Richard
Baldwin is prohibited.
About the author
Richard Baldwin
is a college professor (at Austin Community College in Austin, TX) and private consultant whose primary focus is a
combination of Java and XML. In addition to the many platform-independent
benefits of Java applications, he believes that a combination of Java and
XML will become the primary driving force in the delivery of structured
information on the Web.
Richard has participated in numerous consulting projects involving
Java, XML, or a combination of the two. He frequently provides onsite
Java and/or XML training at the high-tech companies located in and around
Austin, Texas. He is the author of Baldwin's Java Programming Tutorials,
which has gained a worldwide following among experienced and aspiring Java
programmers. He has also published articles on Java Programming in Java
Pro magazine.
Richard holds an MSEE degree from Southern Methodist University and
has many years of experience in the application of computer technology
to real-world problems.
Baldwin@DickBaldwin.com
-end-