IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

Object Oriented Programming Using C++ - Section 1

  • Home
  • Computer Science & Engineering
  • Computer Science Questions and Answers
  • Object Oriented Programming Using C++ - Section 1
1. 

Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____

A. reusability
B. polymorphism
C. redundancy
D. recursion

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

2. 

The _____ mode tells C++ to open a file for input

A. add::ios
B. in::file
C. ios::app
D. ios::in
E. ios::out

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

3. 

A base class may also be called a

A. child class
B. subclass
C. derived class
D. parent class

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

4. 

Which of the following assigns the number 5 to the area variable?

A. area 1 = 5
B. area = 5
C. area == 5
D. area --> 5
E. area < > 5

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

5. 

C++ allows you to define the same functions more than once in the same program _____

A. if the definitions are identical
B. if the definitions are included in two separate #include files
C. if the definitions are located in a single #include file that is included more than once
D. C++ does not allow you to define the same functions more than once in the same program

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

6. 

A widget is to the blueprint for a widget as an object is to

A. a member function
B. a class
C. an operator
D. a data item

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

7. 

To use either an input or output file, the program must include the _____ header file

A. filestream.h
B. fstream.h
C. instream.h
D. inoutstream.h
E. iostream.h

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

8. 

Of the three ways to pass arguments to functions, only passing by _____ and passing by _____ allow the function to modify the argument in the calling program

A. reference, pointer
B. array, location
C. array, pointer
D. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2025 IndiaBIX. All Rights Reserved.

Report