set-4
150. Why does the diamond problem arise due to multiple inheritance?
151. We can overcome the diamond problem by:
152. Which members can’t be accessed in the derived class in multiple inheritance?
153. To implement hierarchical inheritance, at least how many classes must be there?
154. Hierarchical inheritance can be a subset of:
155. Hybrid Inheritance is the:
156. In hybrid inheritance, which is true?
157. Which of the following is correct?
158. Which of the following is true about pure virtual functions?
159. Static Binding is also called as:
160. Static Binding Happens:
161. To implement late binding, which concept is used?
162. For achieving file handling, we need:
163. Default open modes in a file are:
164. Which class is derived from the class ios?
165. Which class declares input functions such as get(), getline(), and read()?
166. Which class inherits the functions get(), getline(), read(), seekg(), and tellg()?
167. How many types of output stream classes are there in C++?
168. Which of the following are built-in functions to handle file errors?
169. Which of the following returns a non-zero (true) value when an input or output operation has failed?
170. Which of the following returns a non-zero (true) value when no error has occurred?
171. Which of the following returns a non-zero (true) value if an invalid operation is attempted or an unrecoverable error has occurred?
172. Which of the following returns a non-zero (true) value when the end-of-file is encountered while reading?
173. Which of the following is true?
174. Which of the following is true about manipulators?
175. Which of the following are Integer Manipulators?
176. Which of the following are float manipulators?
177. Which of the following is not a manipulator?
178. Which of the following header files is used for manipulators?
179. ______ functions allow supplying input or displaying output in the user's desired format.
180. ______ functions are the most basic form of input and output, and they do not allow supplying input or displaying output in the user's desired format.
181. Printf() and scanf() are examples of ______.
182. Getch(), getche(), getchar(), gets(), puts(), putchar(), etc. are examples of ______.
183. ______ contain format specifiers in their syntax.
184. ______ do not contain format specifiers in their syntax.
185. Consider an example and determine which Input/Output function this example belongs to:
186. The iomanip.h and iostream.h header files are used to perform the ______ operations in C++.
187. In C++, ______ is one of the ways to perform the formatted I/O operations.
188. Width(int), fill(char), precision(int) provides the details of the functions of the ios class used to perform ______ in C++.
189. The functions width(int), fill(char), precision(int) are called using the built-in object ______ in formatted I/O in OOP.
190. A template can be represented in how many ways?
191. The ways in which the template can be represented are:
192. Which of the following is true?
193. Which of the following is correct?
194. We can restrict a function to throw certain exceptions by:
195. What is the return type of an uncaught exception?
196. STL stands for:
197. The Standard Template Library is:
198. Which of the following provides a different interface for sequential containers?
199. The number of components that STL has:
200. What are containers?
Last updated