MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
All the functions available in this library take double as an argument and return double as the result. |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| E. | |
| Answer» B. No | |
| 2. |
The C library function double fmod(double x, double y) returns the remainder of x divided by y. |
| A. | log10(double x, double y) |
| B. | fabs(double x, double y) |
| C. | fmod(double x, double y) |
| D. | floor(double x, double y) |
| Answer» D. floor(double x, double y) | |
| 3. |
Which of the following is true about pow? |
| A. | rounds down the given number |
| B. | rounds up the given number |
| C. | returns the power of given number |
| D. | returns the absolute value of given number |
| Answer» D. returns the absolute value of given number | |
| 4. |
abs(number) returns the absolute value of given number. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| Answer» B. FALSE | |
| 5. |
Which of the following returns the square root of given number? |
| A. | ceil |
| B. | sqrt |
| C. | floor |
| D. | abs |
| Answer» C. floor | |
| 6. |
Which of the following is correct mathematical operations in C Programming? |
| A. | sqrt |
| B. | pow |
| C. | ceil |
| D. | All of the above |
| Answer» E. | |
| 7. |
C Programming allows us to perform mathematical operations through the functions defined in ______________ header file. |
| A. | iostream.h |
| B. | string.h |
| C. | math.h |
| D. | conio.h |
| Answer» D. conio.h | |