MCQ Bank
if m is a matrix object, then self-assignment can be avoided by using following code statement
- A)
- B)
- C)
- D)
Which of the following is correct format of template function?
- A)
- B)
- C)
- D)
In template class, compiler makes a copy of ________ and convert in to ________
- A)
- B)
- C)
- D)
For a matrix, the variables of Rows and Columns should always be a ________
- A)
- B)
- C)
- D)
After implementation of code is completed, we do its ________ to verify that it is behaving properly in all scenarios.
- A)
- B)
- C)
- D)
which three constructs do we need to solve any problem?
- A)
- B)
- C)
- D)
Declaration and definition of a template function should be in the ________ file
- A)
- B)
- C)
- D)
For template function, we must have at least ________ generic argument.
- A)
- B)
- C)
- D)
In C++, which of the following option has the correct meaning of the expression "a<=b"?
- A)
- B)
- C)
- D)
What will be the output of the following code? int x=15; int y=10; int z=5; cout<< x*x-4*y*z;
- A)
- B)
- C)
- D)
Which of the following expression is correct in C/C++ language?
- A)
- B)
- C)
- D)
Which of the following C++ statement is used to take input from the user?
- A)
- B)
- C)
- D)
Which of the following is an example of logical operator?
- A)
- B)
- C)
- D)
in C/C++, which of the following data type is used to store real numbers?
- A)
- B)
- C)
- D)
C/C++ has many libraries which contain variables and function names normally starting with ________
- A)
- B)
- C)
- D)
The coding of a program is translated into machine language by ________
- A)
- B)
- C)
- D)
Learning "How to program" is important, because it develops ________ and problem solving abilities.
- A)
- B)
- C)
- D)
in C/C++, the algebraic expression (b2-4ac)/2a can be written as:
- A)
- B)
- C)
- D)
In C/C++, which of the following data type is used to store real member?
- A)
- B)
- C)
- D)
To understand programming concepts, ________ programming language being used as a vehicle in cs201 "Introduction to programming" course.
- A)
- B)
- C)
- D)