[Skip Navigation] [CSUSB] / [CNS] / [Comp Sci & Eng Dept] / [R J Botting] / [CSci202] / 07tf
[Text Version] [Syllabus] [Schedule] [Glossary] [Resources] [Grading] [Contact] [Question] [Search ]
Notes: [01] [02] [03] [04] [05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]
Labs: [01] [02] [03] [04] [05] [06] [07] [08] [09] [10]
Mon Apr 27 07:27:19 PDT 2009

Contents


    Part I. True or False? Circle the correct T|F choice

  1. A static member is not attached to an object but is class-wide.. . . .. [ T ? F ? ]
  2. A const member function can not change its arguments.. . . .. [ T ? F ? ]
  3. You can not have the same function name in different classes.. . . .. [ T ? F ? ]
  4. You can have the same function name with different argument types in the same classes.. . . .. [ T ? F ? ]
  5. Data names and function names in one class must be distinct.. . . .. [ T ? F ? ]
  6. Private members can be used in any other part of the program.. . . .. [ T ? F ? ]
  7. Friend's of a class have access to the private members of a class.. . . .. [ T ? F ? ]
  8. Inheritance lets us create new classes that are like existing classes but with added functions.. . . .. [ T ? F ? ]
  9. Inheritance does not lets us over-ride functions in the base class.. . . .. [ T ? F ? ]
  10. Inheritance lets us create new classes but you can't add new data members.. . . .. [ T ? F ? ]
  11. Constructors are not inherited.. . . .. [ T ? F ? ]
  12. Data names and function names in one class must be distinct.. . . .. [ T ? F ? ]

    Abbreviations

  13. Algorithm::=A precise description of a series of steps to attain a goal, [ Algorithm ] (Wikipedia).
  14. class::="A description of a set of similar objects that have similar data plus the functions needed to manipulate the data".
  15. Data_Structure::=A small data base.
  16. Function::programming=A selfcontained and named piece of program that knows how to do something.
  17. Gnu::="Gnu's Not Unix", a long running open source project that supplies a very popular and free C++ compiler.
  18. KDE::="Kommon Desktop Environment".
  19. object::="A little bit of knowledge -- some data and some know how", and instance of a class".
  20. OOP::="Object-Oriented Programming", Current paradigm for programming.
  21. Semantics::=Rules determining the meaning of correct statements in a language.
  22. SP::="Structured Programming", a previous paradigm for programming.
  23. 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.
  24. Syntax::=The rules determining the correctness and structure of statements in a language, grammar.
  25. Q::software="A program I wrote to make software easier to develop",
  26. TBA::="To Be Announced", something I should do.
  27. TBD::="To Be Done", something you have to do.
  28. UML::="Unified Modeling Language".
  29. void::C++Keyword="Indicates a function that has no return".

End