Search Header Logo

C# Math

Authored by T. Arman

Computers

10th Grade

Used 5+ times

C# Math
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This method can be used to find the highest value of x and y.

Math.Min(x,y)

Math.Max(x,y)

Math.Sqrt(x)

Math.Abs(x)

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This method can be used to find the lowest value of of x and y.

Math.Min(x,y)

Math.Max(x,y)

Math.Sqrt(x)

Math.Abs(x)

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This method returns the square root of x.

Math.Min(x,y)

Math.Round(x)

Math.Sqrt(x)

Math.Abs(x)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This method returns the absolute (positive) value of x.

Math.Min(x)

Math.Round(x)

Math.Sqrt(x)

Math.Abs(x)

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This method rounds a number to the nearest whole number.

Math.Min(x)

Math.Round()

Math.Sqrt(x)

Math.Abs(x)

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Use the correct method to print the highest value of x and y.

int x = 5;
int y = 10;
Console.WriteLine(Math.____(x,y));

Min

Max

Round

Abs

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Use the correct method to print the lowest value of x and y.

int x = 5;
int y = 10;
Console.WriteLine(Math.____(x,y));

Min

Max

Round

Abs

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?