Question-14: Which of the following is true with regards to Floating point number?

  1. Int and Floating-point number are same in Python.
  2. Int are stored as character stream and Floating-point number are stored as bit
  3. Int and Float number are stored differently in computer memory.
  4. Float number can not be converted in string
  5. Int number cannot be converted in string

Answer: C

Exp:

Integers

  • There are two different type of numbers in computer world.
    • Integers i.e. 100, 1, 7 etc.
    • Floating-point numbers i.e. 9.9, 2.1, 2.1473743 etc.
  • Both these types of numbers are stored very differently inside computer memory.
  • They also very based what is maximum and minimum value a computer can handle.

Why Dont you prepare for Python Certifications and Interview Questions with 250+ Questions and Answer : Check Here

Real Exam Number of Questions: 70 Questions
Real Exam Pass Score: 70%
Time Allotted: 90 minutes to complete exam