1 / 7

CSC 200 Final Exam Review

CSC 200 Final Exam Review. 12/11/2006. Chapter 5 Arrays. Declaring and Referencing How an array is stored in memory Initializing Array Parameters to Functions Using – Looping, searching, sorting Multidimensional Arrays. Ch. 9 Pointers. Pointer variables

nemo
Download Presentation

CSC 200 Final Exam 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. CSC 200 Final Exam Review 12/11/2006

  2. Chapter 5 Arrays • Declaring and Referencing • How an array is stored in memory • Initializing • Array Parameters to Functions • Using – Looping, searching, sorting • Multidimensional Arrays

  3. Ch. 9 Pointers • Pointer variables • Declaring, dereferencing, address-of operator • Check Self-Test Exercises p. 431 • Use of pointers in functions • Basic Memory Management • New, delete operators • Use of null, dangling pointers

  4. Ch. 9 Dynamic Arrays • Analog between pointers and array variables • Creating dynamic arrays • Destroying dynamic arrays • Returning an array from a function • Pointer arithmetic • Ie, iterating over an array with pointers • Multidimensional dyn. Arrays • Allocating/deallocating

  5. Ch. 6 Structures • Defining structure type • Declaring variables of structure type • Member variable access. • Structures in functions • Hierarchical structures

  6. Ch. 6 Classes • Motivation for classes • ADT/OOP/Encapsulation/etc. • Basic syntax defining class type • Defining member functions • Access modifiers • Dot and Scope Resolution Operator • Objects vs. Classes • Accessor and Mutator functions

  7. Ch 7 Constructors/Destructors • What is a constructor? • 2 rules for defining. • Overloading constructors • Definitions • Reason for destructor • Rules for destructor definition. • When is it called?

More Related