

MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your C++ Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
What is the use of log() function in a complex? |
A. | To calculate the log of the imaginary part of a complex number |
B. | To calculate the log of rethe al part of a complex number |
C. | To calculate the log of a complex number |
D. | To calculate the log of the argument of a complex number |
Answer» D. To calculate the log of the argument of a complex number | |
2. |
What is the use of proj() function? |
A. | Used to calculate the argument of a complex number |
B. | Used to calculate the conjugate of a complex number |
C. | Used to calculate the negative of a complex number |
D. | Used to calculate the projection of a complex number |
Answer» E. | |
3. |
Which function is used to calculate the conjugate of a complex number? |
A. | conj() |
B. | reverse() |
C. | opp() |
D. | find_conj() |
Answer» B. reverse() | |
4. |
Which function is used to calculate the norm of a complex number? |
A. | abs() |
B. | norm() |
C. | mod() |
D. | square_sum() |
Answer» C. mod() | |