Unit 6. Mathematical Library Methods

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Rajat Shenoi
Used 106+ times
FREE Resource
20 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
Give the output of the following expression:
If x = – 9.99, calculate Math.abs(x);
2.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
Give the output of the following Math method:
Math.ceil(4.2)
3.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
Give the output of the following Math method:
Math.abs(– 4)
4.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
Give the output of the following expressions:
If x = 9.0, calculate Math.sqrt(x);
5.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
Give the output of the following program segment:
double x = 2, y = 2.5;
System.out.println(Math.min(Math.floor(x),y));
6.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
Give the output of the following:
Math.sqrt(Math.max(9,16))
7.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
What will be the output of the following code?
double a = – 6.35;
double b = 14.74;
double x = Math.round(Math.max(a,b));
System.out.println(x);
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
CSA Unit 3 Review

Quiz
•
10th - 12th Grade
20 questions
Computer Science: Chapter 2 Test Review

Quiz
•
9th - 12th Grade
16 questions
Loops

Quiz
•
5th - 12th Grade
15 questions
Variables Java

Quiz
•
10th - 12th Grade
20 questions
Computer Application Practice Quiz Class 10

Quiz
•
10th Grade
21 questions
SAINS KOMPUTER TINGKATAN 4 (BAB1)

Quiz
•
KG - University
25 questions
Library Classes

Quiz
•
10th Grade
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade