Contents
Part I. True or False? Circle the correct T|F choice
- A static member is not attached to an object but is class-wide.. . . .. [ T
?
F
?
]
- A const member function can not change its arguments.. . . .. [ T
?
F
?
]
- You can not have the same function name in different classes.. . . .. [ T
?
F
?
]
- You can have the same function name with different argument types in the same classes.. . . .. [ T
?
F
?
]
- Data names and function names in one class must be distinct.. . . .. [ T
?
F
?
]
- Private members can be used in any other part of the program.. . . .. [ T
?
F
?
]
- Friend's of a class have access to the private members of a class.. . . .. [ T
?
F
?
]
- Inheritance lets us create new classes that are like existing classes but with added functions.. . . .. [ T
?
F
?
]
- Inheritance does not lets us over-ride functions in the base class.. . . .. [ T
?
F
?
]
- Inheritance lets us create new classes but you can't add new data members.. . . .. [ T
?
F
?
]
- Constructors are not inherited.. . . .. [ T
?
F
?
]
- Data names and function names in one class must be distinct.. . . .. [ T
?
F
?
]
Abbreviations
- Algorithm::=A precise description of a series of steps to attain a goal,
[ Algorithm ]
(Wikipedia).
- class::="A description of a set of similar objects that have similar data plus
the functions needed to manipulate the data".
- Data_Structure::=A small data base.
- Function::programming=A selfcontained and named piece of program that knows how to do something.
- Gnu::="Gnu's Not Unix", a long running open source project that supplies a
very popular and free C++ compiler.
- KDE::="Kommon Desktop Environment".
- object::="A little bit of knowledge -- some data and some know how", and
instance of a class".
- OOP::="Object-Oriented Programming",
Current paradigm for programming.
- Semantics::=Rules determining the meaning of correct statements in a language.
- SP::="Structured Programming",
a previous paradigm for programming.
- STL::="The standard C++ library of classes and functions" -- also called the
"Standard Template Library" because many of the classes and functions will work
with any kind of data.
- Syntax::=The rules determining the correctness and structure of statements in a language, grammar.
- Q::software="A program I wrote to make software easier to develop",
- TBA::="To Be Announced", something I should do.
- TBD::="To Be Done", something you have to do.
- UML::="Unified Modeling Language".
- void::C++Keyword="Indicates a function that has no return".
End