CUETMOCK
  • Pricing
  • Mentors
Log inStart freeStart free mocks→

First test, then trust

Try a free CUET mock test.

Join 5,00,000+ students who rehearsed exam day on the exact NTA screen before sitting CUET. On the web and on Android.

Start free mocks →Get the Android app
CUETMOCK

India's #1 CUET Mock Test Platform. Original NCERT-based questions on the exact NTA exam screen — trusted by 5,00,000+ students since CUET 2022.

Get it onGoogle PlayScan to download the CUETMOCK app

Mock tests

  • CUET mock test series
  • Browse all papers
  • Commerce mocks
  • Humanities (Arts) mocks
  • Science mocks
  • Languages & GAT mocks
  • Free practice questions
  • Pricing

Resources

  • CUET exam guide
  • CUET syllabus
  • Universities accepting CUET
  • Expert blogs
  • News & notifications
  • Webinars & counselling
  • CUET score calculator
  • How we estimate your rank
  • FAQs

Company

  • About us
  • Our leadership & team
  • Our toppers
  • Mentors
  • For schools
  • Contact us
  • Terms
  • Privacy
  • Refund policy

Talk to us

+91 7696 6630 56info@cuetmock.comWhatsApp us

Our other platforms

  • JEE Mock — For IIT-JEE aspirants
  • NEET Mock — For NEET aspirants

Newsletter

Exam updates, study material and offers — no spam.

© 2026 NYC Ventures Pvt. Ltd.

701-702, Royal Business Park, Zirakpur, Punjab - 140603

  • Terms of use
  • Privacy policy
  • Refund policy
  • Contact us

iCUETMOCK is an independent preparation platform, not affiliated with the National Testing Agency (NTA). Always check exam details on the official NTA website.

  • Home
  • Mock tests
  • CUET guide
  • Pricing
  • Log in
Home/Practice questions/Maths. Section B1
Maths. Section B1Probability

If a computer code is correctly programmed, it gives 90% acceptable r…

If a computer code is correctly programmed, it gives 90% acceptable results. But if it is not correctly programmed, it gives only 40% acceptable results. From previous experience, it is observed that only 80% of codes are correctly programmed. If after a certain programming, the code gives 2 acceptable results, then the approximate probability that the code is correctly programmed is

Answer & explanation+

Correct answer: option 1

The correct answer is Option (1) → \(\displaystyle\frac{81}{85}\)

Let C be the event that the code is correctly programmed and E the event that it gives 2 acceptable results.

    \(P(C) = 0.8,\quad P(C') = 0.2\)

The two results are taken as independent runs of the code, so the probability of two acceptable results is the square of the probability of one:

    \(P(E \mid C) = (0.9)^2 = 0.81\)
    \(P(E \mid C') = (0.4)^2 = 0.16\)

By Bayes’ theorem:

    \(\displaystyle P(C \mid E) = \frac{P(C)P(E \mid C)}{P(C)P(E \mid C) + P(C')P(E \mid C')}\)

    \(\displaystyle = \frac{0.8 \times 0.81}{0.8 \times 0.81 + 0.2 \times 0.16}\)

    \(\displaystyle = \frac{0.648}{0.648 + 0.032} = \frac{0.648}{0.68} = \frac{81}{85}\)

Why the other options are incorrect

  • Option (2) \(\displaystyle\frac{9}{10}\) — Incorrect. This is the answer for one acceptable result: \(\frac{0.8 \times 0.9}{0.8 \times 0.9 + 0.2 \times 0.4} = \frac{0.72}{0.8} = \frac{9}{10}\). The code gives 2 acceptable results, so each likelihood must be squared.

  • Option (3) \(\displaystyle\frac{17}{20}\) — Incorrect. \(\frac{17}{20} = 0.85\), but the probability is \(\frac{81}{85} \approx 0.953\).

  • Option (4) \(\displaystyle\frac{13}{20}\) — Incorrect. \(\frac{13}{20} = 0.65\), far below \(\frac{81}{85} \approx 0.953\).

NCERT (2026-27 edition):
Bayes' Theorem

NCERT extract

Advertisement

Practise more on Probability

Chapter-wise mocks on the real NTA exam screen, with solutions and your rank. Your first mocks are free.

Start free mocks →

Advertisement

Next questions

  1. The molecules shown in the picture are found in the blood. The immune response that they mediate is called:Biology · Human Health and Disease
  2. Which of the following is the full form of EBCDIC?General Aptitude Test · General Knowledge
  3. Select the correct statements from the following with regard to cost curves:(A) Short run marginal cost, average variable cost and short ru…Economics · Micro Economics: Production and Costs
  4. p-Hydroxyazobenzene is also known asChemistry · Organic: Amines
  5. If A is a square matrix of order 3 with |A| = 2 , then |adj(adj A)| is equal toApplied Maths. Section A · Determinants
  6. Two stable ions of the first transition series have the largest number of unpaired electrons and have the highest magnetic moment are:Chemistry · Inorganic: D and F Block Elements
  7. Which famous Chinese writer visited India in fifth century A.D.?General Aptitude Test · General Knowledge
  8. Five teachers P, K, A, R and M are sitting in a row facing towards south (Not necessarily in the same order). K is sitting second to the ri…General Aptitude Test · Verbal Reasoning
  9. Let f(x)=max x+|x|, x-[x], where [x] denotes the greatest integer less than or equal to x, then ∫limits_-2^2 f(x) d x is equal toMaths. Section B1 · Definite Integration
  10. Calculate operating surplus from the following:(₹ in Cr)aRent & Interest50bBonus80cProfit After Tax30dTax rate40%Choose the correct option.Economics · Macro Economics: National Income Accounting