Placement AptitudeVery hardTCS NQT Advanced · Accenture

Six trainers K, L, M, N, O and Q each run one session on a different day from Monday to Saturday, each in a different language: Java, Python, C, Go, Rust or SQL. • Q's session is exactly two days after M's. • N's session is on Monday or Saturday, and exactly one session falls between K's and N's. • O's session is before L's, and L's is before Q's. • The Python session is on Wednesday, and the Go session is on the day after the Java session. • M teaches SQL, and the Rust session is not on Saturday. • K does not teach C, and N teaches neither Java nor Rust. Which language does O teach?

  1. A. C
  2. B. Rust
  3. C. Java
  4. D. Go

Correct answer: B. Rust

The day order works out as N (Mon), O (Tue), K (Wed), M (Thu), L (Fri), Q (Sat). Python is Wednesday (K) and SQL is M; Java–Go on consecutive days must be Fri–Sat, leaving C and Rust for N and O, and N cannot teach Rust. So N teaches C and O teaches Rust.

More Logical Reasoning for Placements questions

Exams that ask this topic