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

Math Functions in Python

Beschreibung

Coding Python Quiz am Math Functions in Python, erstellt von PathaPadha Support am 27/10/2020.
PathaPadha Support
Quiz von PathaPadha Support, aktualisiert more than 1 year ago
PathaPadha Support
Erstellt von PathaPadha Support vor mehr als 4 Jahre
183
0
1 2 3 4 5 (0)

Zusammenfassung der Ressource

Frage 1

Frage
Which module allows us to use math functions in Python ?
Antworten
  • math
  • maths
  • mathematics
  • Math

Frage 2

Frage
What is the function of ceil( ) ?
Antworten
  • 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

Frage 3

Frage
What is the function of floor( ) ?
Antworten
  • 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

Frage 4

Frage
import math x, y = 6, 4 print(math.fmod(x, y)) What is the output ?
Antworten
  • 2
  • 1.5
  • 1
  • 0

Frage 5

Frage
exp(x) returns the exponent value of x.
Antworten
  • True
  • False

Frage 6

Frage
Which function is used to find x to the power y value ?
Antworten
  • exp(x, y)
  • pow(x, y)
  • power(x, y)
  • exponent(x, y)

Frage 7

Frage
Which mathematical constant is used to get the value 3.142857143
Antworten
  • math.pi
  • math.pie
  • math.e
  • math.p

Frage 8

Frage
math.exp is used to get the value of e.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

0 Kommentare

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

ähnlicher Inhalt

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