Exam 3: C++ Programming Concepts
Exam 1: C++ Class and Function Fundamentals21 Questions
Exam 2: C++ Function and Array25 Questions
Exam 3: C++ Programming Concepts25 Questions
Exam 4: C++ Programming and Concepts: Inheritance, Data Types, Objects, and Output Prediction23 Questions
Select questions type
In object oriented programming the focus is on ….......
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
A
In procedural programming the focus in on …...........
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
C
Which of the following is true about inline functions and macros.
Free
(Multiple Choice)
4.8/5
(31)
Correct Answer:
D
Which of the following is true about constructors.
1) They cannot be virtual.
2) They cannot be private.
3) They are automatically called by new operator
(Multiple Choice)
4.9/5
(36)
What will be the values of x, m and n after execution of the following statements? Int x, m, n;m=10; n=15;x= ++m + n++;
(Multiple Choice)
4.7/5
(31)
C++ programmers concentrate on creating , which contain data members and the member functions that manipulate those data members and provide services to clients.
(Multiple Choice)
4.9/5
(42)
In C++, const qualifier can be applied to?Member functions of a class?Function arguments?To a class data member which is declared as static?Reference variables
(Multiple Choice)
4.8/5
(41)
Which of the following feature of procedure oriented program is false?
(Multiple Choice)
4.8/5
(35)
Which of the following functions are performed by a constructor?
(Multiple Choice)
4.9/5
(37)
Which of the following control expressions are valid for an if statement?
(Multiple Choice)
4.7/5
(47)
Which of the following is the correct class of the object cout?
(Multiple Choice)
4.8/5
(41)
Which of the following operators are overloaded by default by the compiler?
1) Comparison Operator ( == )
2) Assignment Operator ( = )
(Multiple Choice)
4.9/5
(42)
Which of the following ways are legal to access a class data member using this pointer?
(Multiple Choice)
5.0/5
(37)
Which of the following feature of object oriented program is false?
(Multiple Choice)
4.8/5
(31)
Which operator is having right to left associativity in the following?
(Multiple Choice)
5.0/5
(33)
What will be the output of following program?#include <iostream> using namespace std;class Test{public:Test() { cout <<"Hello from Test() "; }} a;int main(){cout <<"Main Started "; return 0;}
(Multiple Choice)
4.8/5
(31)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)