Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Math Functions in Python

Descrição

Coding Python Quiz sobre Math Functions in Python, criado por PathaPadha Support em 27-10-2020.
PathaPadha Support
Quiz por PathaPadha Support, atualizado more than 1 year ago
PathaPadha Support
Criado por PathaPadha Support mais de 4 anos atrás
184
0
1 2 3 4 5 (0)

Resumo de Recurso

Questão 1

Questão
Which module allows us to use math functions in Python ?
Responda
  • math
  • maths
  • mathematics
  • Math

Questão 2

Questão
What is the function of ceil( ) ?
Responda
  • returns next integer value after the floating number
  • returns previous integer value before the floating number
  • returns any integer nearest to the floating number
  • returns the same floating number

Questão 3

Questão
What is the function of floor( ) ?
Responda
  • returns the next integer of the floating number
  • returns the previous integer of the floating number
  • returns the floating point number + 1
  • no such function is there

Questão 4

Questão
import math x, y = 6, 4 print(math.fmod(x, y)) What is the output ?
Responda
  • 2
  • 1.5
  • 1
  • 0

Questão 5

Questão
exp(x) returns the exponent value of x.
Responda
  • True
  • False

Questão 6

Questão
Which function is used to find x to the power y value ?
Responda
  • exp(x, y)
  • pow(x, y)
  • power(x, y)
  • exponent(x, y)

Questão 7

Questão
Which mathematical constant is used to get the value 3.142857143
Responda
  • math.pi
  • math.pie
  • math.e
  • math.p

Questão 8

Questão
math.exp is used to get the value of e.
Responda
  • True
  • False

0 comentários

There are no comments, be the first and leave one below:

Semelhante

Think Python
tsilvo2001
Basic Python - Print Formatting
Rebecca Noel
What is Python?
Daniel Ingram
Python
54671
Know your Python!
educ8ict
Basic Python - Strings
Rebecca Noel
Study on IoT systems design
Tomasz Cieplak
OpenSource Programming
Faheem Ahmed
Basic Python - Lists
Rebecca Noel
Python
Kirstie Wu