C++ Mcqs for Beginners

C++ Introduction MCQs

C++ Introduction MCQs

  1. who is the developer of c++?
  2. (a) Charles Babbage
    (b) Dennis Ritchie
    (c) Bjarne Stroustrup's
    (d) None

    (c) Bjarne Stroustrup's

  3. In which Lab was Developed C++?
  4. (a) Bell Lab
    (b) ANSI
    (c) SDL
    (d) IBM

    (a) Bell Lab

  5. In which Year was Developed C++?
  6. (a) 1972
    (b) 1979
    (c) 1983
    (d) 2995

    (b) 1979

  7. What was the Name of C++ Earlier?
  8. (a) C with Classes
    (b) CPP
    (c) C++
    (d) None

    (a) C with Classes

  9. C++ is a _____________ Language?
  10. (a) Object Oriented Programming
    (b) Semi-Object Oriented Programming
    (c) Procedural Oriented Programming
    (d) None

    (b) Semi-Object Oriented Programming

  11. what is the Full Form of OOPS?
  12. (a) Object Oriented Programming
    (b) Object Oriented Programming Language
    (c) Object Oriented Programming System
    (d) Office Oriented Programming Security

    (c) Object Oriented Programming System

  13. Object Oriented Programming Emplys ____________ Programming approach.
  14. (a) Top-Down
    (b) Bottom-up
    (c) Procedural
    (d) All of Above

    (b) Bottom-up

  15. In CPP, cin and cout are the pre-defined Stream?
  16. (a) Operator
    (b) Function
    (c) Object
    (d) DataType

    (c) Object

  17. What is the Size of int DataType in CPP?
  18. (a) 2 Byte
    (b) 4 Byte
    (c) 1 Byte
    (d) Depends on Compiler

    (d) Depends on Compiler

  19. which type of language of c++?
  20. (a) Statically Typed Lanaguage
    (b) Dynamically Typed Laguage
    (c) Both
    (d) Procedural

    (a) Statically Typed Lanaguage

  21. what is c++ used for
  22. (a) game programming
    (b) software engineering
    (c) developing browsers
    (d) All of above

    (d) All of above

  23. Where is C++ used in real world?
  24. (a) Web Browsers
    (b) Operating Systems
    (c) GUI Applications
    (d) All of above

    (d) All of above

  25. what is the use of c++ programming language in real life _________.
  26. (a) operating systems,embedded software, autonomous cars, and
    (b) Games
    (c) medical technology
    (d) All

    (d) All

  27. where is c++ used in industry?
  28. (a) Banking
    (b) Trading Enterprise Applications
    (c) Both a and b
    (d) None of these

    (c) Both a and b

  29. In CPP, cin and cout are the predefined stream _______.
  30. (a) Operator
    (b) Functions
    (c) Objects
    (d) Data types

    (c) Objects

  31. C++ is _______.
  32. (a) procedural programming language
    (b) functional programming language
    (c) object oriented programming language
    (d) both procedural and object oriented programming language

    (c) object oriented programming language

  33. What is dangling pointer in c?
  34. (a) A pointer pointing to NULL
    (b) Pointer pointing to memory location which has been freed
    (c) Pointer which is pointing to new location
    (d) None of these

    (b) Pointer pointing to memory location which has been freed

  35. Which of the following is the correct syntax of including a user defined header files in C++?
  36. (a) #include "userdefined"
    (b) #include [userdefined]
    (c) #include <userdefined>
    (d) #include <userdefined.h>

    (a) #include "userdefined"

  37. By default, members of the class are ____________ in nature.
  38. (a) static
    (b) public
    (c) private
    (d) protected

    (b) public

  39. How many object can be created of a Class in C++?
  40. (a) 1
    (b) 5
    (c) 256
    (d) there is no limit

    (d) there is no limit

  41. In CPP, it is mandatory and must to initialize const variables.
  42. (a) True
    (b) False

    (a) True

  43. can member functions of one class be friend functions of another class?
  44. (a) Yes
    (b) No

    Yes,we can write member function of one class as friend of another class.

c++ mcqs for beginners
Keywords

"c++ multiple choice questions and answers pdf","solved mcqs of c++ with answers","c++ mcqs for beginners","c++ mcq online test","c++ mcqs","c++ mcqs for beginner","C++ Introduction MCQs"

Post a Comment

To be published, comments must be reviewed by the administrator.

Previous Post Next Post