Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which function is used to get the absolute of a complex number?
Correct Answer is : VAR_1234
2. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 5.0);
cout<<"Absolute value is: "<
Correct Answer is : &
3. Which function is used to get the argument of a complex number?
Correct Answer is : both // comment or /* comment */
4. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 5.0);
cout<
Correct Answer is : Parameters with which functions are called
5. What is the use of polar function?
Correct Answer is : Parameters which are used in the definition of the function
6. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 5.0);
cout<<"Complex number with magnitude "<
Correct Answer is : cin.get(ch)
7. Which function is used to calculate the norm of a complex number?
Correct Answer is : cout.put(ch)
8. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 4.0);
cout<<"Norm is: "<
Correct Answer is : Set of characters that convey special meaning in a program
9. Which function is used to calculate the conjugate of a complex number?
Correct Answer is : \r
10. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 4.0);
auto cnj = conj(cn);
cout<<"Conjugate of "<
Correct Answer is : \t
11. What is the use of proj() function?
Correct Answer is : Bjarne Stroustrup
12. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 4.0);
cout<<"proj"<
Correct Answer is : <<
13. What is the use of log() function in a complex?
Correct Answer is : >>
14. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 4.0);
cout<
Correct Answer is : Extensible
15. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
complex cn(3.0, 4.0);
cout<
Correct Answer is : bool
16. Which header file is used to declare the complex number?
Correct Answer is : 1 bit
17. How to declare the complex number?
Correct Answer is : cin
18. How many real types are there in complex numbers?
Correct Answer is : cout
19. Which of the following is not a function of complex values?
Correct Answer is : The process of linking the actual code with a procedural call during compile-time
20. The constants are also called as
Correct Answer is : Output in C is 4 and in C++ is 1