Question 1
Deepa says: 'My code starts with 1'
Kiran says: 'Deepa is lying about their code'
Divya says: 'The correct code has exactly two 1s'
Rohan says: 'My code ends with 0'
Each person has a 4-digit code where 1=truth-teller, 0=liar. The code represents the sequence of T/L for P0, P1, P2, P3 respectively. What is the correct code?
The code represents the truth pattern: 1=truth-teller, 0=liar.
Testing each possible code:
- Code 0110 makes all statements consistent:
* Deepa's statement is false → matches bit 0
* Kiran's statement is true → matches bit 1
* Divya's statement is true → matches bit 1
* Rohan's statement is true → matches bit 0
No other code satisfies all constraints.
Therefore, the correct code is 0110.
Testing each possible code:
- Code 0110 makes all statements consistent:
* Deepa's statement is false → matches bit 0
* Kiran's statement is true → matches bit 1
* Divya's statement is true → matches bit 1
* Rohan's statement is true → matches bit 0
No other code satisfies all constraints.
Therefore, the correct code is 0110.