- 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

# Activity : Ask all the students in your class to write a 3-digit number. Choose any student from the room at random. What is the probability that the number written by her/him is divisible by 3 ? Remember that a number is divisible by 3 , if the sum of its digits is divisible by 3 .

To do:

We have to find the probability that the number written by her/him is divisible by 3.

Solution:

The total number of students in the class $=30$

The probability of selecting a student $= \frac{30}{30}$

$= 1$

Three digit numbers are $100,101,.......999$

Total number of three digit numbers $= 999 - 100 +1 $

$= 900$

Multiples of 3 in three digit numbers $= 102,105 ….., 999$

Therefore,

Number of multiples of 3 in three digit numbers $= \frac{900}{3}$

$= 300$

The probability that the number written by her/him is divisible by $3 = \frac{300}{900}$

$= \frac{1}{3}$

- Related Questions & Answers
- Write a program in Python to generate an even (length) series of random four-digit pin. Get the length from user and ask until it’s valid
- Is the digit divisible by the previous digit of the number in JavaScript
- What are the best English movies of all time that we can see at any time?
- What is the reason to choose jasmine over jest?
- Summing up all the digits of a number until the sum is one digit in JavaScript
- Write a Python code to select any one random row from a given DataFrame
- 3-digit Osiris number in C?
- Print all 3 digit repeating numbers in a very large number in C++
- Probability of a random pair being the maximum weighted pair in C++
- MySQL UPDATE the corresponding column with random number between 1-3?
- Write a program in Python to print the ‘A’ grade students’ names from a DataFrame
- 3-digit Osiris number C Program?
- What is the difference between All and Any in C# Linq?
- How to write functions in Python that accept any number of arguments
- What is the base class for all exceptions in C#?
- Convert a number of length N such that it contains any one digit at least 'K' times in C++

Advertisements