Tangram
Ghép 7 mảnh xoay & lật
Luyện tập / Chủ đề Logic · Tư duy
Bài tập suy luận logic, nhận diện quy luật, bài toán cân đo, câu đố chiến thuật và tư duy thuật toán.
Đăng nhập để lưu tiến độ và tích lũy điểm trên bảng xếp hạng.
An aquarium has a rectangular base that measures $100\text{ cm}$ by $40\text{ cm}$ and has a height of $50\text{ cm}$. The aquarium is filled with water to a depth of $37\text{ cm}$. A rock with volume $1000\text{ cm}^3$ is then placed in the aquarium and completely submerged. By how many centimeters does the water level rise?
Đáp án: $0.25$
Using the volume formula $lwh = V$, the volume of water in the aquarium is $100 \times 40 \times 37 = 148{,}000\text{ cm}^3$. When the rock is put in, the water and the rock will occupy a box-shaped region with volume $148{,}000 + 1000 = 149{,}000\text{ cm}^3$. The volume of the water and the rock is $100 \times 40 \times h$, where $h$ is the new height of the water. The new volume $= 4000h = 149{,}000\text{ cm}^3$, so the new height is \[ h = \dfrac{149000}{4000} = 37.25\text{ cm}. \] After adding the rock, the water rises $37.25 - 37 = 0.25\text{ cm}$. OR Because the shape of the rock is irrelevant, we may assume that the rock is shaped like a rectangular box with base measuring $100\text{ cm} \times 40\text{ cm}$ and height $h\text{ cm}$. Using the volume formula, $100 \times 40 \times h = 1000$, so $h = \dfrac{1000}{100 \times 40} = 0.25\text{ cm}$. When the rock is put into the aquarium, the water level will rise by $0.25\text{ cm}$.
A box contains gold coins. If the coins are equally divided among six people, four coins are left over. If the coins are equally divided among five people, three coins are left over. If the box holds the smallest number of coins that meets these two conditions, how many coins are left when equally divided among seven people?
Đáp án: $0$
The counting numbers that leave a remainder of $4$ when divided by $6$ are $4, 10, 16, 22, 28, 34, \dots$. The counting numbers that leave a remainder of $3$ when divided by $5$ are $3, 8, 13, 18, 23, 28, 33, \dots$. So $28$ is the smallest possible number of coins that meets both conditions. Because $4 \times 7 = 28$, there are no coins left when they are divided among seven people. OR If there were two more coins in the box, the number of coins would be divisible by both $6$ and $5$. The smallest number that is divisible by $6$ and $5$ is $30$, so the smallest possible number of coins in the box is $28$.
Mười người đồng đội đứng thành một hàng dọc nhìn về phía trước (người thứ $10$ đứng cuối hàng nhìn thấy mũ của cả $9$ người phía trước; người thứ $9$ thấy $8$ mũ phía trước; ...; người thứ $1$ đứng đầu hàng không thấy mũ ai, và không ai thấy mũ trên đầu mình). Quản trò đội ngẫu nhiên lên đầu mỗi người một chiếc mũ màu Đỏ hoặc màu Đen (không cho biết tổng số mũ mỗi màu). Lần lượt từ người thứ $10$ (cuối hàng) lên tới người thứ $1$, mỗi người chỉ được hô to đúng một từ Đỏ hoặc Đen (mọi người đều nghe rõ các tiếng hô trước đó). Nếu cả nhóm được bàn trước một chiến thuật thống nhất, họ có thể đảm bảo chắc chắn $100\%$ cứu đúng màu mũ cho tối đa bao nhiêu người?
Đáp án: $9$
Lối mòn dễ mắc: Nếu người thứ $10$ chỉ đọc màu mũ của người thứ $9$, thì cứu được người $9$, nhưng người $8$ không nói hộ người $7$ được nếu bản thân người $8$ phải tự cứu mình — cách ghép cặp này chỉ cứu chắc chắn được $5$ người!
Đổi câu hỏi (Chìa khóa): Dùng bit kiểm tra chẵn lẻ (Parity bit): một tiếng hô duy nhất của người cuối hàng có thể gói gọn thông tin tổng thể của cả $9$ chiếc mũ phía trước!
Lời giải gọn đẹp:
Đỏ, nếu là số chẵn thì hô Đen (chấp nhận tỷ lệ may rủi $50\%$ cho riêng bản thân mình).Trong chiếc hộp có $5$ chiếc mũ gồm $3$ mũ Trắng và $2$ mũ Đen. Ba nhà thông thái $A, B, C$ ngồi thành hàng dọc: $C$ ở cuối nhìn thấy mũ của $A$ và $B$; $B$ ở giữa chỉ nhìn thấy mũ của $A$; còn $A$ ngồi đầu bị bịt mắt hoàn toàn. Quản trò lấy $3$ chiếc mũ đội lên đầu $3$ người (cất giấu $2$ mũ thừa đi).
Ngay lập tức, dù đang bịt mắt không thấy gì, $A$ mỉm cười đọc đúng $100\%$ màu mũ trên đầu mình! Mũ của $A$ màu gì?
Đáp án: Màu TRẮNG.
Lối mòn dễ mắc: Tưởng câu trả lời «Tôi không biết» không chứa thông tin gì — thực tế trong logic học, việc một người thông minh không biết loại bỏ ngay các trạng thái đặc biệt!
Đổi câu hỏi (Chìa khóa): Dịch ngược từng câu «Không biết» thành dữ kiện loại trừ!
Lời giải gọn đẹp: 1. Chỉ có tối đa $2$ chiếc mũ Đen. Vì $C$ nhìn mũ của $(A, B)$ mà nói «Không biết», nên $(A, B)$ không thể cùng đội mũ Đen (bởi nếu cả $A$ và $B$ đều Đen thì hết sạch mũ Đen, $C$ đã biết ngay mình đội Trắng!). 2. $B$ nghe câu của $C$ nên biết chắc «$A$ và $B$ không thể cùng Đen». Sau đó $B$ nhìn thẳng vào mũ của $A$: giả sử mũ của $A$ màu Đen, thì $B$ đã lập tức suy ra mũ của chính mình bắt buộc là Trắng! 3. Thế nhưng $B$ lại nói «Tôi cũng không biết!» $\implies$ điều giả sử trên sai, tức mũ trên đầu $A$ chắc chắn $100\%$ là màu TRẮNG!
There are $24$ four-digit whole numbers that use each of the four digits $2$, $4$, $5$ and $7$ exactly once. Only one of these four-digit numbers is a multiple of another one. Which of the following is it?
Đáp án: $7425$
Six of the $24$ numbers are in the $2000$s, six in the $4000$s, six in the $5000$s and six in the $7000$s. Doubling and tripling numbers in the $2000$s produce possible solutions, but any multiple of those in the other sets is larger than $8000$. Units digits of the numbers are $2$, $4$, $5$ and $7$, so their doubles will end in $4$, $8$, $0$ and $4$, respectively. Choice (A) $5724$ ends in $4$ but $5724 / 2 = 2862$, not one of the $24$ numbers. Likewise, choice (C) $7254$ produces $7254 / 2 = 3627$, also not one of the numbers. When the units digits are tripled the resulting units digits are $6$, $2$, $5$ and $1$ and choices (B) $7245$, (D) $7425$ and (E) $7542$ are possibilities. Division by $3$ yields $2415$, $2475$ and $2514$ respectively. Only the second of these numbers is one of the $24$ given numbers. Choice (D) is correct.
Loki, Moe, Nick and Ott are good friends. Ott had no money, but the others did. Moe gave Ott one-fifth of his money, Loki gave Ott one-fourth of his money and Nick gave Ott one-third of his money. Each gave Ott the same amount of money. What fractional part of the group's money does Ott now have?
Đáp án: $\dfrac{1}{4}$
Only the fraction of each friend's money is important, so we can assume any convenient amount is given to Ott. Suppose that each friend gave Ott 1 dollar. Then Moe had 5 dollars originally and now has 4 dollars, Loki had 4 dollars originally and now has 3 dollars, and Nick had 3 dollars originally and now has 2 dollars. Ott received 1 dollar from each of the three friends, so Ott now has 3 dollars. Together the four friends have $4 + 3 + 2 + 3 = 12$ dollars. Therefore, Ott has \[ \dfrac{3}{12} = \dfrac{1}{4} \] of the group's money. This same reasoning applies to any amount of money.
[Part A · Easy] A Binary Search Tree routes each lookup key K starting from the root: if the test is true (Yes), go left; otherwise (No), go right. Which leaf bucket is reached when searching for K = 35?
Một Cây tìm kiếm nhị phân điều hướng khóa K bắt đầu từ nút gốc: nếu điều kiện đúng (Yes), rẽ sang nhánh trái; ngược lại (No), rẽ sang nhánh phải. Khi tìm khóa K = 35, thuật toán đi tới ô lá nào?
Đáp án: Bucket 29
Answer / Đáp án: Bucket 29
Step-by-step (EN): At root: Is $35 < 40$? Yes $\to$ go left to Key < 20?. Next: Is $35 < 20$? No $\to$ go right to Bucket 29.
Giải chi tiết (VI): Tại gốc: $35 < 40$ là Đúng (Yes) $\to$ rẽ trái tới Key < 20?. Tiếp theo: $35 < 20$ là Sai (No) $\to$ rẽ phải tới ô 29.
Computational Thinking / Tư duy Máy tính: Binary Search Trees — BST Lookup (Tra cứu trên cây tìm kiếm nhị phân).
[Part A · Easy] A stack-based calculator evaluates Postfix (Reverse Polish) expressions from left to right: numbers are pushed onto a stack, and each operator (+, -, *) pops the top two numbers $a$ (below) and $b$ (top), computes $a \text{ op } b$, and pushes the result back. For example, 5 2 - gives $5 - 2 = 3$. What is the value of 4 5 + 3 * 7 -?
Máy tính ngăn xếp tính biểu thức Hậu tố (Postfix) từ trái sang phải: gặp số thì đẩy vào ngăn xếp; gặp phép toán (+, -, *) thì lấy $2$ số trên đỉnh là $a$ (dưới) và $b$ (trên), tính $a \text{ op } b$ rồi đẩy kết quả trở lại ngăn xếp. Giá trị của biểu thức 4 5 + 3 * 7 - là bao nhiêu? (Chỉ điền số)
Đáp án: $20$
Answer / Đáp án: 20
Step-by-step (EN): Trace stack: 4 $\to$ [4]; 5 $\to$ [4, 5]; + $\to$ [9]; 3 $\to$ [9, 3]; * $\to$ [27]; 7 $\to$ [27, 7]; - $\to$ $27 - 7 = 20$.
Giải chi tiết (VI): Theo dõi ngăn xếp: đẩy 4, 5 $\to$ gặp + tính $4+5=9$ $\to$ đẩy 3 $\to$ gặp * tính $9 \times 3 = 27$ $\to$ đẩy 7 $\to$ gặp - tính $27 - 7 = 20$.
Computational Thinking / Tư duy Máy tính: Stack Evaluation of Postfix / RPN Expressions (Tính biểu thức hậu tố bằng ngăn xếp).
[Part A · Easy] In this circuit, XOR outputs 1 when its two inputs are different (0,1 or 1,0) and 0 when they are equal; BUF passes its input unchanged (C -> C); AND outputs 1 only when both inputs are 1. For which input triple (A, B, C) does OUT = 1?
Trong mạch dưới đây, cổng XOR cho ra 1 khi hai đầu vào khác nhau và ra 0 khi giống nhau; BUF giữ nguyên giá trị C; AND chỉ ra 1 khi cả hai đầu vào đều là 1. Bộ đầu vào (A, B, C) nào dưới đây làm cho OUT = 1?
Đáp án: (1, 0, 1)
Answer / Đáp án: (1, 0, 1)
Step-by-step (EN): Formula: OUT = (A XOR B) AND C. For OUT = 1, we must have C = 1 AND A != B. Only (1, 0, 1) satisfies both ($1 \oplus 0 = 1$, and $1 \land 1 = 1$).
Giải chi tiết (VI): Biểu thức đầu ra là OUT = (A XOR B) AND C. Để OUT = 1, bắt buộc C = 1 và A != B. Trong $4$ phương án chỉ có (1, 0, 1) thỏa mãn.
Computational Thinking / Tư duy Máy tính: XOR & Boolean Circuit Synthesis (Cổng XOR và phân tích mạch tổ hợp).
Four parcels join a queue in this order: red, yellow, green, blue. The first parcel is removed. Which parcel is now first?
Đáp án: yellow
Sau khi lấy gói red ra, gói kế tiếp là yellow.
A printer repeats the two pictured stickers in the same order. The first sticker is a pencil. Which position has the same sticker as position 10?
Đáp án: $12$
Mẫu lặp có độ dài 2, nên vị trí 12 có cùng hình với vị trí 10.
A printer reads 6 white, 3 black, then 2 white pixels. How many white pixels does it print?
Đáp án: $8$
Hai đoạn trắng dài 6 và 2 ô, tổng cộng 8 ô.
A robot faces North. It turns right through a quarter-turn 6 times. Which direction does it face?
Đáp án: South
Cứ bốn lượt quay thì rô-bốt về hướng Bắc. Số lượt còn lại là 2.
A robot sorts boxes by increasing weight. Three boxes weigh 6, 3, 8 grams. What is the weight of the final box?
Đáp án: $8$
Hộp cuối cùng là hộp nặng nhất, nặng 8 g.
A beaver navigates a binary decision tree where 0 means Left and 1 means Right. If the 3-bit code 100 maps to leaf number $\text{(binary value)} + 1$, which leaf number does it reach?
Đáp án: $5$
Chuỗi nhị phân 100 có giá trị thập phân là $4$, cộng thêm $1$ được lá số $5$.