- 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 die is thrown once. Find the probability of getting

**(i)** a prime number;

**(ii)** a number lying between 2 and 6;

**(iii)** an odd number

Given:

A die is thrown once.

To do:

We have to find the probability of getting

(i) a prime number

(ii) a number lying between 2 and 6

(iii) an odd number

Solution:

When a die is thrown, the total possible outcomes are 1, 2, 3, 4, 5 and 6.

This implies,

The total number of possible outcomes $n=6$.

(i) Prime numbers between 1 and 6 (including 1 and 6) are 2, 3 and 5.

Total number of favourable outcomes $=3$.

We know that,

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

Therefore,

Probability of getting a prime number $=\frac{3}{6}$

$=\frac{1}{2}$

The probability of getting a prime number is $\frac{1}{2}$.

(ii) Numbers lying between 2 and 6 are 3, 4 and 5.

Total number of favourable outcomes $=3$.

We know that,

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

Therefore,

Probability of getting a number lying between 2 and 6 $=\frac{3}{6}$

$=\frac{1}{2}$

The probability of getting a number lying between 2 and 6 is $\frac{1}{2}$.

(iii) Odd numbers from 1 to 6 are 1, 3 and 5.

Total number of favourable outcomes $=3$.

We know that,

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

Therefore,

Probability of getting an odd number $=\frac{3}{6}$

$=\frac{1}{2}$

The probability of getting an odd number is $\frac{1}{2}$.

- Related Questions & Answers
- Is the reversed number a prime number in JavaScript
- Find all prime factors of a number - JavaScript
- Find largest prime factor of a number using C++.
- Find prime number K in an array such that (A[i] % K) is maximum in C++
- Find sum of odd factors of a number using C++.
- Express an odd number as sum of prime numbers in C++
- C Program for Find the largest prime factor of a number?
- Average of odd numbers till a given odd number?
- Java Program to Find the Number Occurring Odd Number of Times
- Find sum of a number and its maximum prime factor in C++
- C Program for Find largest prime factor of a number?
- Python Program for Find largest prime factor of a number
- Java Program to find largest prime factor of a number
- How to find prime factors of a number in R?
- C Program for Find sum of odd factors of a number?
- C++ program for Find sum of odd factors of a number