Object Oriented Programming - Basics of C++

6:  

Which of the following operators cannot be overloaded ?

A.

>>

B.

?:

C.

.

D.

Both (b) and (c)

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Subash said: (3:55pm on Wednesday 13th November 2013)
Answer for this question is D (Both (b) and (c))
raju said: (4:53pm on Tuesday 10th December 2013)
option B ternary operator cannot be overloaded.

Write your comments here:



7:  

Overloading is otherwise called as

A.

virtual polymorphism

B.

transient polymorphism

C.

pseudo polymorphism

D.

ad-hoc polymorphism

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Kamran Barlas said: (8:21pm on Tuesday 16th May 2017)
why overloading is called as ad-hoc polymorphismReason

Write your comments here:



8:  

C++ encourages structuring.a software as a collection of components that are

A.

highly cohesive and loosely coupled

B.

not highly cohesive but loosely coupled

C.

highly cohesive and tightly coupled

D.

not highly cohesive but tightly coupled

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



9:  

cout stands for

A.

class output

B.

character output

C.

console output

D.

call output

 
 

Option: C

Explanation :

Both (b) and (c) are correct

Click on Discuss to view users comments.

ayesha said: (1:24am on Wednesday 21st February 2018)
cout stands for either character or console output. not common output. is this write?
Amna said: (10:36pm on Friday 2nd March 2018)
character output is the correct Answer.

Write your comments here:



10:  

The fields in a structure of a C program are by default

A.

protected

B.

public

C.

private

D.

none of the above

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:




Syllabus covered in this section is-

  • O-O Programming Concepts , Class object instantiation
  • Inheritance, polymorphism and overloading
  • C++ Prograinming - Elements of C++, Tokens,
  • Identifters Variables and constants, data, types
  • Operators, Control, statements
  • Functions
  • Parameter passing
  • Class and objects
  •  Constructors and destructors
  •  Overloading,  Inheritance,
  • Templates, Exception handling

This Section covers OOPS Questions Answers .These questions can be used for the preparation of various competitive and academic exams like

  • UGC NET Computer Science
  • Pre PhD Entrance Exam
  • DOEACC Exams
  • Kendriya Vidyalaya Sangathan Entrance Test
  • Undergraduate Computer Science  Course
  • GATE Computer Science
  • Post Graduate Computer Science Exam
  •  PhD Entrance Exam
  • Computer Engineering

Who can benefit

  • Object Oriented Programming Questions Answers can be used by any student who is preparing for PhD entrance exam, pre PhD entrance exam, entrance exam  or any other such exam.
  • Any student who is preparing for DOEACC exams can also use OOPS questions answers for preparation of his exams.
  • OOPS mcq can be useful for the students who are pursuing any undergraduate or post graduate degree in computer science like BE, ME , Btech, Mtech, .BSc, MSc, BCA, MCA, BS, MS  or any other such degree
  • OOPS mcq with answers and explanation can also be useful for the students who are preparing for any competitive exam or recruitment exams like GATE Computer Science, UGC NET Computer Science, Kendriya Vidyalaya Sangathan PGT exam, PSU, IES or any other such exam.
  • OOPS multiple choice questions answers  can also be used by any candidate who wants to gain credits in OOPS in BS Computer science or MS Computer science,
  • You can download OOPS mcq pdf from this site.
  • You can get access to OOPS multiple choice questions answers EBook.

Various Search Terms Used For This Section Are

  • OOPS Quiz Questions With Answers

  • OOPS Exam Questions Answers

  • OOPS Mcq Questions Answers

  • OOPS Mcq Pdf Download

  • C++ Questions Answers

  • C++ Programming Questions Answers