CSCI 240 Final Exam Review Sheet
Arrays
- Know the different ways to declare one
- Know how to initialize the array at declaration time
- Know how to reference specific elements
- Know the different ways to pass them to functions
- Know how the selection sort works
Standard C++ strings
- Know how to create one
- Know how to manipulate one using the string functions
- Know what the different string functions do and return (if anything)
References
- Know how to declare one
- Know how to use one
- Know how they are used with functions
Structures
- Know how to define one
- Know how to create an instance of one
- Know how to reference fields within a structure using a reference argument
- Know how to initialize one when declaring an instance of a structure and
when an instance of a structure already exists
- Know what sizeof() is used for
- Know how to create an array of struct
- Know how to access individual structs in an array of struct as well
as data members for individual structs
File Processing
- Know how to open/close a file for input in both regular and binary mode
- Know how to read from a file for regular data types and structures
Classes
- Know the definition of class, object, method, and data member
- Know the naming convention for the constructor
- Know what is used to distinguish between methods when overloading methods
- Know the default access for methods/data members
- Know what access methods are and what they are used for
"Old Stuff"
- You are still responsible for knowing the ranges of data types, loops,
functions, etc...