Grade 7 Exam  >  Grade 7 Test  >  C Programming for Beginners  >  Test: C Math Functions - Grade 7 MCQ

C Math Functions - Free MCQ Practice Test with solutions, Grade 7 Programming


MCQ Practice Test & Solutions: Test: C Math Functions (10 Questions)

You can prepare effectively for Grade 7 C Programming for Beginners with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: C Math Functions". These 10 questions have been designed by the experts with the latest curriculum of Grade 7 2026, to help you master the concept.

Test Highlights:

  • - Format: Multiple Choice Questions (MCQ)
  • - Duration: 10 minutes
  • - Number of Questions: 10

Sign up on EduRev for free to attempt this test and track your preparation progress.

Test: C Math Functions - Question 1

What will be the output of the following C code?

#include <stdio.h>
    #include <math.h>
    int main()
    {
        int i = 90;
        printf("%f\n", sin(i));
        return 0;
    }

Test: C Math Functions - Question 2

What will be the output of the following C code?

#include <stdio.h>
    #include <math.h>
    int main()
    {
        unsigned int i = -1;
        printf("%f\n", fabs(i));
        return 0;
    }

Test: C Math Functions - Question 3

function fabs defined math.h header file takes the argument of type integer.

Test: C Math Functions - Question 4

log(x) function defined in math.h header file is __________

Test: C Math Functions - Question 5

What will be the output of the following C code?

#include <stdio.h>
    #include <math.h>
    int main()
    {
        int i = 10;
        printf("%f\n", log10(i));
        return 0;
    }

Test: C Math Functions - Question 6

What type of inputs are accepted by mathematical functions?

Test: C Math Functions - Question 7

In linux, apart from including math header file, the program is successfully executed by which of the following?

Test: C Math Functions - Question 8

Which of the following is not a valid mathematical function?

Test: C Math Functions - Question 9

Which among the following mathematical function do not have a “double” return-type?

Test: C Math Functions - Question 10

What will sin(x) returns?

10 videos|14 docs|15 tests
Information about Test: C Math Functions Page
In this test you can find the Exam questions for Test: C Math Functions solved & explained in the simplest way possible. Besides giving Questions and answers for Test: C Math Functions, EduRev gives you an ample number of Online tests for practice
10 videos|14 docs|15 tests
Download as PDF