Placement Papers: CDAC Paper 2006 Part 4

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Programming Concepts

  1. The ability to reuse objects already defined, perhaps for a different purpose, with modification appropriate to the new purpose, is referred to as Information hiding Inheritance Redefinition Overloading

  2. The term given to the process of hiding all the details of an object that do not contribute to its essential characteristics is called _____________ data-hiding packaging encapsulation abstraction

  3. Object-oriented technology's ______ feature means that a small change in user requirements should not require large changes to be made to the System. Abstraction Modularity Encapsulation Modelling

  4. An object has _____ State Behaviour Identity All of these options

  5. Which of the following is true: Class is an object of an object Class is meta class Class cannot have zero instances None of these options

  6. If a derived class object is explicitly destroyed by applying the delete operator to a base-class pointer to the object, the _____ function is automatically called on the object Derived-class destructor Base-class destructor Base-class constructor Derived-class constructor

  7. In object orientated programming a class of objects can _____________ properties from another class of objects utilize borrow inherit adapt

  8. Contracts are not meant to be used in cases of _______ Composition ‘has-a’ relationship ‘is-a’ relationship Both Composition and ‘has-a’ relationship

  9. Inheritance through interface is called ________ Implementation inheritance Definition inheritance Delegation inheritance Interface inheritance model

  10. When a class uses dynamic memory, what member functions should be provided by the class? An overloaded assignment operator The copy constructor A destructor All of these options

  11. ______ means that both the data and the methods which may access it are defined together in the same unit Data hiding Encapsulation Data Binding None of these options

  12. The term given to the process of hiding all the details of an object that do not contribute to its essential characteristics is called _____________ data-hiding packaging encapsulation grouping

  13. Car contains a steering wheel is example of ________ Composition Association Composition and Association None of these options

  14. Can two classes contain member functions with the same name? No Yes, but only if the two classes have the same name Yes, but only if the main program does not declare both kinds Yes, this is always allowed

  15. A contract is implemented through Class Interface Abstract Class Interface and Abstract Class English Language Ability Directions: The given pair of words contains a specific relationship to each other. Select the best pair of choices which expresses the same relationship as the given

  16. IGNOMINY: DISLOYALTY: Fame: Heroism death: Victory derelict: Fool martyr: Man

  17. EXPLOSION: DEBRIS: Flood: Water famine: Food fire: Ashes disease: Germ

  18. Bland: Piquant: Inane: Relevant charlatan: Genuine slavish: Servile terse: Serious

  19. NEGLIGENT: REQUIREMENT: Remiss: Duty cogent: Argument easy: Hard careful: Position Directions: Choose the best word, which is most opposite in the meaning to the given word

  20. FETTER:

delay

stretch

comply

thrive

Sign In