(A) True
(B) False
Tag: OOP Mcqs
In a de-queue, (chose the best option):
(A) Data can be quickly inserted or deleted at any arbitrary location
(B) Data can be inserted or deleted at any arbitrary location, but the process is relatively slow
(C) Data can not be quickly inserted or deleted at either end
(D) Data can be inserted or deleted at either end, but the process is relatively slow
Vectors contain contiguous elements stored as a?
(A) Variable
(B) Array
(C) Function
(D) Datatype
Which of the following is/are advantage[s] of generic programming?
(A) Reusability
(B) Writability
(C) Maintainability
(D) All of the above
Compiler performs __ type checking to diagnose type errors.
(A) Static
(B) Dynamic
(C) Bound
(D) Unbound
Template functions use __ than ordinary functions.
(A) Greater Memory
(B) Lesser Memory
(C) Equal Memory
(D) None of the above
The user must define the operation of the copy constructor.
(A) True
(B) False
Identify the correct way of declaring an object of user defined template class A for char type members?
(A) A< char > obj;
(B) A obj:
(C) A obj;
(D) Obj A;