1 / 4

Chapter 4 Test Review

Chapter 4 Test Review. First day 24 Multiple Choice Questions (1 point each) 12 True/False (1 point each) Second day 7 Short answer (points vary, 36 points total) 72 points total. Test Topics - 1. Relationship between class and object Classes calling other classes

Download Presentation

Chapter 4 Test Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 4 Test Review First day • 24 Multiple Choice Questions (1 point each) • 12 True/False (1 point each) Second day • 7 Short answer (points vary, 36 points total) 72 points total

  2. Test Topics - 1 • Relationship between class and object • Classes calling other classes • What defines an object’s behavior? • Defining classes, instantiation, instance data • Do you always need a class constructor? • Do you need a “main” method in a class? • Class methods • Calling • Writing • Encapsulation • variable scope • Within a method or class • Global, private, public data & methods

  3. Test Topics - 2 • Methods • Returning parameters from a method • Do you always need a return statement? • How to overload • signatures • decomposition • Do you need anything in the body of a method? • Formal and actual parameters (arguments) • What is allowed to be passed as an argument? • Widening in the argument of a method call • Trace program flow with method calls • Interpreting code (what does it do)

  4. Test Topics - 3 • Review these classes • String • Coin (pp. 194-195) • Die (pp. 213-214) • Short answer • Writing constructors, methods • Writing headers

More Related