A number lock requires a 3 digit code. Based on these hints, can you c...
Given:
Statement A: 6 8 2 - one number is correct and well placed
Statement B: 6 1 4 - one number is correct but wrongly placed.
Statement c: 2 0 6 - two numbers are correct but wrongly placed.
Statement D: 7 3 8 - All are wrong.
Statement : E: 7 8 0 - one number is correct and wrong placed.
Conclusion: by the statements A, B , C and D we can say that number 2 is correct with its place in unit place.
Another number is 4 with its place in tens place.
By statement D and E we can say 0 is the correct number which should be placed in hundreds place.
Hence correct code is
0 4 2
This question is part of UPSC exam. View all Class 7 courses
A number lock requires a 3 digit code. Based on these hints, can you c...
To crack the code for the number lock, we can analyze the given hints and narrow down the possibilities. Let's break down the hints and analyze each one:
Hint 1: 682 – one number is correct and in the correct position
This means that one of the digits in the code is 6, and it is in the correct position. The other two digits are not 6.
Hint 2: 645 – one number is correct but in the wrong position
This tells us that one of the digits in the code is 4, but it is not in the correct position. So, we know that the code does not contain 4 in the second position.
Hint 3: 206 – two numbers are correct but in the wrong positions
From this hint, we can infer that two of the digits in the code are 2 and 0. However, their positions are not specified. So, we have three possible combinations: 2 _ 0, 0 _ 2, or _ 2 0.
Hint 4: 738 – nothing is correct
This hint tells us that none of the digits in the code are 7, 3, or 8.
Hint 5: 780 – one number is correct but in the wrong position
From this hint, we can deduce that one of the digits in the code is 0, but it is not in the correct position. Therefore, the code does not contain 0 in the third position.
Based on these hints, we can narrow down the possibilities for the code:
- The code does not contain 4 in the second position.
- The code does not contain 7, 3, or 8.
- The code does not contain 0 in the third position.
Now, let's combine these restrictions and analyze the possibilities:
1. _ 6 2: The code can have 6 in the first position, but it doesn't satisfy the other hints.
2. _ 8 2: The code can have 2 in the third position, but it doesn't satisfy the other hints.
3. 2 _ 0: This combination satisfies Hint 3, but it conflicts with Hint 1 (since 2 is not in the correct position).
4. 0 _ 2: This combination satisfies Hint 3, but it conflicts with Hint 5 (since 0 is not in the correct position).
Therefore, the only remaining possibility is:
5. 2 0 6: This combination satisfies Hint 3 (two numbers are correct but in the wrong positions) and does not conflict with any of the other hints.
Thus, the code for the number lock is 206.
A number lock requires a 3 digit code. Based on these hints, can you c...
602
To make sure you are not studying endlessly, EduRev has designed Class 7 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 7.