PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Software Engineering Fundamentals/Bitkernel

Solve cups logic puzzle with one true statement

Last updated: Mar 29, 2026

Quick Overview

This question evaluates logical reasoning and propositional-logic skills, assessing the ability to analyze mutually dependent statements and derive consistent conclusions within a constraint-satisfaction context.

  • medium
  • Bitkernel
  • Software Engineering Fundamentals
  • Software Engineer

Solve cups logic puzzle with one true statement

Company: Bitkernel

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Take-home Project

There are 4 cups on a table. Each cup has a statement written on it: - Cup 1 says: All cups contain fruit candy. - Cup 2 says: This cup contains apples. - Cup 3 says: This cup does not contain chocolate. - Cup 4 says: Some cups do not contain fruit candy. Exactly **one** of these four statements is true. Which of the following must be true? Options: - A. All cups contain fruit candy. - B. No cup contains fruit candy (all cups lack fruit candy). - C. No cup contains apples. - D. The third cup contains chocolate.

Quick Answer: This question evaluates logical reasoning and propositional-logic skills, assessing the ability to analyze mutually dependent statements and derive consistent conclusions within a constraint-satisfaction context.

Related Interview Questions

  • Evaluate C for-loop execution count - Bitkernel (medium)
  • Trace first pass of heap sort - Bitkernel (medium)
  • Find minimum two’s-complement value with three ones - Bitkernel (medium)
  • Analyze TCP three-way handshake states - Bitkernel (medium)
  • Identify incorrect statement about sockets - Bitkernel (medium)
Bitkernel logo
Bitkernel
Oct 24, 2025, 12:00 AM
Software Engineer
Take-home Project
Software Engineering Fundamentals
0
0

There are 4 cups on a table. Each cup has a statement written on it:

  • Cup 1 says: All cups contain fruit candy.
  • Cup 2 says: This cup contains apples.
  • Cup 3 says: This cup does not contain chocolate.
  • Cup 4 says: Some cups do not contain fruit candy.

Exactly one of these four statements is true.

Which of the following must be true?

Options:

  • A. All cups contain fruit candy.
  • B. No cup contains fruit candy (all cups lack fruit candy).
  • C. No cup contains apples.
  • D. The third cup contains chocolate.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Software Engineering Fundamentals•More Bitkernel•More Software Engineer•Bitkernel Software Engineer•Bitkernel Software Engineering Fundamentals•Software Engineer Software Engineering Fundamentals
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.