CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A three-digit code for certain locks uses the digits 0,1,2,3,4,5,6,7,8,9 according to the following constraints. The first digit cannot be 0 or 1, the second digit must be 0 or 1, and the second and third digits cannot both be 0 in the same code. How many different codes are possible?

A
144
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
152
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
160
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
168
No worries! We‘ve got your back. Try BYJU‘S free classes today!
E
176
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 152
The first digit can be fill in 8 ways. For 2nd digit it can be one of (0,1)
Now, assume second digit as 1 the 3rd digit can take 10 values.
Number of codes =8×1×9=72
total 80+72=152
Hence, the answer is 152.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Counting Principle
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon