- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# A bag contains lemon flavoured candies only. Malini takes out one candy without looking into the bag. What is the probability that she takes out

,b>(i) an orange flavoured candy?

**(ii)** a lemon flavoured candy?

Given:

A bag contains lemon flavoured candies only. Malini takes out one candy without looking into the bag.

To do:

We have to find the probability that she takes out

(i) an orange flavoured candy

(ii) a lemon flavoured candy

Solution:

(i) Given that the bag contains lemon flavoured candies only.

This implies,

The number of orange candies in the bag $=0$

Total number of favourable outcomes $=0$.

We know that,

Probability of an event $=\frac{Number\ of\ favourable\ outcomes}{Total\ number\ of\ possible\ outcomes}$

Therefore,

Probability that she takes out an orange flavoured candy $=\frac{0}{Total\ number\ of\ possible\ outcomes}$

$=0$

The probability that she takes out an orange flavoured candy is $0$.

(ii) Given that the bag contains lemon flavoured candies only.

This implies,

Every time a candy is taken out it is definitely a lemon candy.

We know that,

Probability of an event $=\frac{Number\ of\ favourable\ outcomes}{Total\ number\ of\ possible\ outcomes}$

Therefore,

Probability that she takes out a lemon flavoured candy $=1$

The probability that she takes out a lemon flavoured candy is $1$.

- Related Questions & Answers
- Bag of Tokens in C++
- Golang Program to create a string array that takes inputs from users.
- Picking the odd one out in JavaScript
- Program to find maximum price we can get by holding items into a bag in Python
- What is to be done when MongoDB takes too much time to find the record?
- Write an algorithm that takes an array and moves all of the zeros to the end JavaScript
- What is the out implicit object in JSP?
- Golang program to create an integer array that takes inputs from users.
- Program to find minimum limit of balls in a bag in Python
- How can I create a MySQL view that takes the values from a table based on some condition(s)?
- What to do if someone else takes away the credit of your work at the office?
- TypeError: __init__() takes exactly 1 argument (5 given)
- What to pack in your bag before you are moving to hospital for delivery?
- JavaScript function that takes a multidimensional and a single array, and finds matches of the single array in the multi-d array
- Counting substrings of a string that contains only one distinct letter in JavaScript
- Program to Find Out the Probability of Having n or Fewer Points in Python