C And CPP

10 Questions | Attempts: 117
Share

SettingsSettingsSettings
C And CPP - Quiz

Online MCQ Quiz on C/C++ Programming - Set 1 No. Of Questions:- 10 Time:- 10 Minutes Full Mark:- 100 Pass Mark:- 70 This Quiz is for those user who wants to test their knowledge/skill in C/C++ Programming Language. For more MCQ Questions and Online Quizzes please visit https://mcqQuestions. Com


Questions and Answers
  • 1. 

    C++ was originally developed by

    • A.

      Nicolas Wirth

    • B.

      Donald Knuth

    • C.

      Bjarne Stroustrup

    • D.

      Ken Thompson

    Correct Answer
    C. Bjarne Stroustrup
  • 2. 

    The standard C++ comment

    • A.

      /

    • B.

      //

    • C.

      /* and */

    • D.

      None of these

    Correct Answer
    B. //
  • 3. 

    The preprocessor directive #include is required if

    • A.

      Console output is used

    • B.

      Console input is used

    • C.

      Both console input and output is used

    • D.

      None of these

    Correct Answer
    C. Both console input and output is used
  • 4. 

    The operator << is called

    • A.

      An insertion operator

    • B.

      Put to operator

    • C.

      Either a or b

    • D.

      None of these

    Correct Answer
    C. Either a or b
  • 5. 

    The operator >> is called

    • A.

      An extraction operator

    • B.

      A get from operator

    • C.

      Either a or b

    • D.

      Get to operator

    Correct Answer
    C. Either a or b
  • 6. 

    The C++ symbol <<

    • A.

      Perform the action of sending the value of expression listed as its right to the outputs strewn as the left.

    • B.

      Is used to indicate the action from right to left

    • C.

      Is adopted to resemble an arrow

    • D.

      All of above

    Correct Answer
    D. All of above
  • 7. 

    When a language has the capability to produce new data type, it is called

    • A.

      Extensible

    • B.

      Overloaded

    • C.

      Encapsulated

    • D.

      Reprehensible

    Correct Answer
    A. Extensible
  • 8. 

    C++ name was suggested by

    • A.

      Rrick Mascitti

    • B.

      Bjarne Stroustrup

    • C.

      Donald Knuth

    • D.

      Ken Thompson

    Correct Answer
    A. Rrick Mascitti
  • 9. 

    What is a reference?

    • A.

      An operator

    • B.

      A reference is an alias for an object

    • C.

      Used to rename an object

    • D.

      None of these

    Correct Answer
    B. A reference is an alias for an object
  • 10. 

    State the object oriented languages

    • A.

      C++

    • B.

      Java

    • C.

      Eiffel

    • D.

      All of the above

    Correct Answer
    D. All of the above

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 09, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 14, 2013
    Quiz Created by
    Kiranm
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.