Unit 6. Mathematical Library Methods

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Rajat Shenoi
Used 107+ 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
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
15 questions
Input and output devices

Quiz
•
9th Grade
15 questions
Bebras Colage B

Quiz
•
7th - 12th Grade
20 questions
Reviewer Computer 10 - 4th Quarter

Quiz
•
10th Grade
20 questions
Materi Dasar Komputer

Quiz
•
10th - 12th Grade
16 questions
Visual basic for beginners

Quiz
•
9th Grade
24 questions
Javascript Basics

Quiz
•
7th Grade - University
15 questions
CSEC ICT June 2020 Paper 1 Part 1

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade