Home / CSE / Object Oriented Programming Using C++ :: Section 1

CSE :: Object Oriented Programming Using C++

  1. When the compiler cannot differentiate between two overloaded constructors, they are called

  2. A.
    overloaded
    B.
    destructed
    C.
    ambiguous
    D.
    dubious

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Some Streams work with input, and some with output

  4. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. If you design a class that needs special initialization tasks, you will want to design a(n) _____

  6. A.
    housekeeping routine
    B.
    initializer
    C.
    constructor
    D.
    compiler

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which type of statement does not occur in computer programs?

  8. A.
    sequence
    B.
    loop
    C.
    denial
    D.
    selection

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The newline character is always included between

  10. A.
    pair of parentheses
    B.
    pair of curly braces
    C.
    control string
    D.
    &
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. To be called object-oriented, a programming language must allow

  12. A.
    functions that return only a single value
    B.
    #include files
    C.
    inheritance
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. A function that returns no values to the program that calls it is _____

  14. A.
    not allowed in C++
    B.
    type void
    C.
    type empty
    D.
    type barren

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The keyword used to define a structure is _____

  16. A.
    stru
    B.
    stt
    C.
    struct
    D.
    structure

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. If container classes are carefully constructed, then these tools are available to work with structures that are not ______

  18. A.
    valid without container classes
    B.
    programmer-defined
    C.
    type-specific
    D.
    public

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Header files often have the file extension _____

  20. A.
    .H
    B.
    .HE
    C.
    .HEA
    D.
    .HEAD

    View Answer

    Workspace

    Discuss Discuss in Forum