CMath

CMath

12th Grade

10 Qs

quiz-placeholder

Similar activities

ICT TANJORE

ICT TANJORE

12th Grade

11 Qs

INFORMATIKA

INFORMATIKA

12th Grade

15 Qs

CSP Unit 13 Practice Test

CSP Unit 13 Practice Test

9th - 12th Grade

15 Qs

Fashion Merchandising 1.01

Fashion Merchandising 1.01

9th - 12th Grade

10 Qs

Thunder

Thunder

KG - University

10 Qs

Pandas - CSV file

Pandas - CSV file

12th Grade

10 Qs

ICT Unit Test Topic : DBMS - Access

ICT Unit Test Topic : DBMS - Access

8th - 12th Grade

15 Qs

CMath

CMath

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Amy Austin

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Python cmath module primarily deal with?

Machine learning algorithms

Complex numbers

Web development

File handling

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method in the cmath module returns the arc cosine value of x?

cmath.acos(x)

cmath.atan(x)

cmath.cos(x)

cmath.cosh(x)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is returned by cmath methods almost always?

A boolean value

A string

An integer

A complex number

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which cmath method checks whether two values are close or not?

cmath.equals()

cmath.isclose()

cmath.isnear()

cmath.close()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does cmath.pi return?

PI (3.1415...)

Floating-point NaN (Not a Number) value

A floating-point positive infinity value

Euler's number (2.7182...)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a method in the cmath module?

cmath.exp(x)

cmath.divide(x, y)

cmath.log(x[, base])

cmath.sqrt(x)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the cmath method 'cmath.isinf(x)' check?

If x is a positive or negative infinity

If x is a finite number

If x is NaN (not a number)

If x is a complex number

Create a free account and access millions of resources

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?