 Java All : Math Functions Exam Papers Problems Using Math.pow and indexOf #3964

( As In Exam - ICSE2015 )

What is the value stored in variable res given below:
double res = Math

What is the value stored in variable res given below:
double res = Math.pow(“345”.indexOf(‘5’), 3);

Identifying functions by description #3984

( As In Exam - ICSE2015 )

(i) Name the mathematical function which is used to find sine of an angle giv

(i) Name the mathematical function which is used to find sine of an angle given in radians
(ii) Name a string function which removes the blank spaces provided in the prefix and suffix of a string

writing return data types endsWith() log() #4048

( As In Exam - ICSE2018 )

Write the return data type of the following function.
(i) endsWith()

Write the return data type of the following function.
(i) endsWith()
(ii)log()

Math functions output #4055

( As In Exam - ICSE2018 )

Give the output of the following:
(i) Math.floor(-4.7)
(ii)Math.c

Give the output of the following:
(i) Math.floor(-4.7)
(ii)Math.ceil(3.4)+Math.pow(2,3)

ceil abs #4237

( As In Exam - ICSE2016 )

Give the output of the following Math functions:
(i) Math.ceil(4.2)

Give the output of the following Math functions:
(i) Math.ceil(4.2)
(ii) Math.abs(-4)

Writing expression #4242

( As In Exam - ICSE2016 )

Write down java expression for :
T = square root (A2 + B

Write down java expression for :
T = square root (A2 + B2 + C2)

Exam Paper Problems:6
×