MCQ Buddy
Search here...
Home MCQ Feed Add Question Programming Portal English Portal Login
  1. Home
  2. Engineering
  3. Python Programming
  4. Question

M

Mr. Dubey • 53.48K Points
Coach

Q. What is the output of the following program : print 0.1 + 0.2 == 0.3

(A) True
(B) False
(C) Machine dependent
(D) Error
  • Correct Answer - Option(B)
  • Views: 194
  • Filed under category Python Programming
Share

Explanation by: Mr. Dubey
 Neither of 0.1, 0.2 and 0.3 can be represented accurately in binary. The
round off errors from 0.1 and 0.2 accumulate and hence there is a difference of 5.5511e-17
between (0.1 + 0.2) and 0.3.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs

Q. The directory file contains

Q. After the pruning of a priori algorithm, _______ will remain.

Q. In this technique, a simple fault manifests into multiple N faults.

Q. A processor performing fetch or decoding of different instruction during the execution of another instruction is called ______ .

Q. Given an array arr = {45,77,89,90,94,99,100} and key = 99; what are the mid values(corresponding array elements) in the first and second levels of rec

Q. That would be the best description of plans that focus on the broad future of the organization and incorporate both external environmental demands and

Q. Parameters that affect GA

Q. device, perhaps in the form of doll or toy.

Q. What is Model Selection in Machine Learning?

Q. Identify the best definition of planning.


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger