Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer all the prompts D Question 1 2 pts Match each mathematical function with its purpose. Math.PI Choose ] Returns the square root of x

image text in transcribedimage text in transcribed

answer all the prompts

D Question 1 2 pts Match each mathematical function with its purpose. Math.PI Choose ] Returns the square root of x for x >= 0 x is rounded down to its nearest integer. This integer is returned as a double value. x is rounded up to its nearest integer. This integer is returned as a double value. A contant representing the value of pi Math.sqrt(x) Math.ceil(x) [Choose] Math.floor(x) [Choose] D Question 4 5 pts Match each String method with what it returns. "Hello".length [Choose ] true "Potato".charAt(2) Good Day good goo "good Day".toUpperCase) hello world false "hello".concat"world") GOOD DAY "hello world"contains("world") [Choose] "today is a good day".substring(10,14) [Choose)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions