cryptofreak.org cryptofreak home projects
contact about
Contact:


projects
News Agenda
Antera Antera
News Commentator
News fcreate
gkrellmGIMPS gkrellmGIMPS
Linux Porting Linux Porting
mod-chal mod-chal
Quake III Quake III
News Zope
Contact: webmaster

From: Don jessup (djessup72, yahoo dot com)
Date: 2002.04.01 - 23.40 MST


  I thought we were going to ask them questions 
  then give them a written test and leave the room and talk about
  them while they were taking the test?    This would give us
  a chance to ask more questions, if we had any.

  To answer your question.  I think it should be written.

  Here are the answers.
  UML
  1.  Please explain the difference between Aggregation and
Composition?
         Composition the part object may belong to only one whole; 
         further, the parts are usually expected to live and die with
         the whole.   Aggregation the part object is not expected to
         live and die with the whole.  

 2.  Please give example of generalization?
        Typical example of generatlization involves the personal and
corporate custormers of a business. They have differences but they also
have similarities.  The similarities can be place in a general Customer
class( the supertype) with personal customer and corporate customer as
subtypes.

 
  OD Question
3.  What is the singleton pattern used for?
    Ensures a class only has one instance, and provides a global
    point of access to it.   

  C++ Questions  
 4. What is mutable member?

  One that can be modified by the class even when the object of the
class or the member function doing the modification is const.  
  
 5. What is an explicit constructor?
    A conversion constructor declared with the explicit keyword. The
compiler does not use an explicit constructor to implement an implied
conversion of types. Its purpose is reserved explicitly for
construction.   

 6. What two intrinsic types are in C++ but not in C.           
    The ANSI committee added the bool intrinsic type and its true and
false value keywords and the wchar_t data type to support character
sets wider than eight bits.

 7. What are the differences between a C++ struct and C++ class?
The only differences are that a struct defaults to public member access
and public base class inheritance, and a class defaults to the private
access specifier and private base class inheritance.

  After looking up the answer to question 1.  I think it is way
   to difficult to give for a short test.   I say we get rid of it.
   Question 2 is also difficult but I'm looking for something that
   is describing inheritance.  I think that question is suitable. 

  I also think we should get rid of one or two of the C++  questions to
shorten the test. 

    Here is the new set of questions.
    
   C++ questions:
  1.What two intrinsic types are in C++ but not in C.           
  2.What are the differences between a C++ struct and C++ class? 

   UML question:
  3. Please give example of generalization?
  
   OD Question
  4. What is the singleton pattern used for?

  I think these 4 questions combine with Jay's c question(s) and
  maybe one or two of his unix questions is more than enough. 













--- Jay Miller <jnmiller, colorado dot edu> wrote:
> - Words by Don Jessup <djessup72, yahoo dot com> [020401 21:06]:
> >   UML Questions 
> >   OD Question
> 
> Someday I too hope to know the answers to these!
> 
> >   C++ Questions  
> > 4.  What is an explicit constructor?
> 
> This is a good question - I looked it up and must admit that I hadn't
> even heard of such a thing. (But I don't put C++ on my resume,
> either..)
> 
> > 5.  What two intrinsic types are in C++ but not in C.           
> 
> My guess: bool and.. uh.. class?
> 
> > 6.  What are the differences between a C++ struct and C++ class?
> 
> Members of the former default to public access while classes default
> to
> private?
> 
> If that's right, I learned it from reading that Dr. Dobs thing.. I
> can't
> comment at all on the first two sets of questions, but the C++ ones
> sound good.
> 
> Do we want to do these orally, or with a written test?  Maybe we
> could
> write them up and have them write answers on the white board? 
> (Orally
> is fine too, though..?)
> 
> -- 
> Jay Miller
> PGP: 0xedc9bb8d | 41a6428c 46abd36b 6b259b68 8a28ca4c edc9bb8c
> --
> This is the antera mailing list.  To unsubscribe, email
> majordomo, cryptofreak dot org with message body `unsubscribe antera'.
> Or, for more information, visit http://www.cryptofreak.org/.


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/
--
This is the antera mailing list.  To unsubscribe, email
majordomo, cryptofreak dot org with message body `unsubscribe antera'.
Or, for more information, visit http://www.cryptofreak.org/.