Placement AptitudeHardProduct-company OA pattern

Five workshops — Java, Python, SQL, Cloud and DevOps — are held one per day from Monday to Friday. • SQL is held on some day before Cloud. • Java and Python are not on consecutive days. • DevOps is on Wednesday or Friday. • Cloud is held on the day immediately after Python. • Java is not on Monday, and Cloud is not on Wednesday. Which workshop is held on Thursday?

  1. A. Cloud
  2. B. Java
  3. C. Python
  4. D. SQL

Correct answer: C. Python

If DevOps were on Friday, Python–Cloud would need two consecutive days in Mon–Thu with Cloud not on Wednesday and SQL before Cloud: Mon–Tue leaves no earlier day for SQL, and Wed–Thu leaves Java only Monday or Tuesday (banned, or next to Python). So DevOps is on Wednesday. Python–Cloud must be consecutive and avoid Wednesday: Mon–Tue or Thu–Fri. Mon–Tue would put SQL after Cloud, so Python is Thursday and Cloud Friday. Java is not Monday and not next to Python (Wednesday is taken anyway), so Java is Tuesday and SQL Monday: SQL, Java, DevOps, Python, Cloud.

More Logical Reasoning for Placements questions

Exams that ask this topic