AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Hardcubes

~120s

A painted cube cut up

A cube is painted on all faces and then cut into 27 smaller cubes of equal size. How many small cubes have exactly two faces painted?

Show the answer and the worked solution

Correct answer: C.

12

Worked solution

  1. 27 cubes form a 3 × 3 × 3 block.
  2. Cubes with exactly two painted faces sit along the edges, excluding the corners.
  3. A cube has 12 edges, and each contributes 3 − 2 = 1 such small cube.
  4. Total = 12.

Answer: 12.

The idea

For an n × n × n painted cube: 8 corners have three faces painted, 12(n − 2) edge cubes have two, 6(n − 2)² face cubes have one, and (n − 2)³ have none.

Shortcut. In a 3 × 3 × 3 cut each of the cube's 12 edges has exactly one middle cube, and those are the two-face cubes: 12.

Common trap. "8" — counting the corner cubes, which have three painted faces, not two.

A painted cube cut up — Aptitude Question

A painted cube cut up: A cube is painted on all faces and then cut into 27 smaller cubes of equal size. Answer and worked solution on CodeKairo.

Question

A cube is painted on all faces and then cut into 27 smaller cubes of equal size. How many small cubes have exactly two faces painted?

Options

  1. 6
  2. 8
  3. 12
  4. 18
Show the answer and the worked solution

Correct answer: C. 12

Worked solution

  1. 27 cubes form a 3 × 3 × 3 block.
  2. Cubes with exactly two painted faces sit along the edges, excluding the corners.
  3. A cube has 12 edges, and each contributes 3 − 2 = 1 such small cube.
  4. Total = 12.

Answer: 12.

The idea

For an n × n × n painted cube: 8 corners have three faces painted, 12(n − 2) edge cubes have two, 6(n − 2)² face cubes have one, and (n − 2)³ have none.

Shortcut. In a 3 × 3 × 3 cut each of the cube's 12 edges has exactly one middle cube, and those are the two-face cubes: 12.

Common trap. "8" — counting the corner cubes, which have three painted faces, not two.

All Mathematical Reasoning questions · placement mock tests