Bộ bài tập tự sinh (10 câu · Suy luận logic, Thứ tự & Tập hợp)
Mã đề: 76928465 · Khớp 29 mẫu bài trong thư viện.
Question 1
Trung bình · +20 điểm
In a race among Leo, Sam, Noah, and Lucas (no ties):
- Sam finished right behind Leo.
- Lucas finished last.
- Noah finished ahead of Leo.
Who won $1$st place?
Xem đáp án và lời giải
Đáp án: Noah
Thứ tự từ $1$ đến $4$ là: Noah, Leo, Sam, Lucas. Vậy Noah về nhất.
The integers $1, 2, 3, \dots, 9$ are written on a board. In each step, you erase any two numbers $a$ and $b$ and write $a + b - 1$. After $8$ steps, only $1$ number remains. What is that final number?
Xem đáp án và lời giải
Đáp án: $37$
Mỗi bước tổng các số giảm đi $1$. Sau $8$ bước, số cuối cùng bằng $(1 + 2 + \cdots + 9) - (9 - 1) = 45 - 8 = 37$.
Question 3
Trung bình · +20 điểm
A box contains $10$ balls of each of $4$ different colors. What is the minimum number of balls you must pull out without looking to guarantee having at least $4$ balls of the same color?
Xem đáp án và lời giải
Đáp án: $13$
Trường hợp xấu nhất rút mỗi màu $3$ viên: $4 \times 3 = 12$ viên. Viên thứ $13$ chắc chắn tạo đủ $4$ viên cùng màu.
An apple weighs $180\text{ g}$. A pear is $56\text{ g}$ heavier than the apple, and a mango is $39\text{ g}$ lighter than the pear. How much does the mango weigh (in grams)?
Xem đáp án và lời giải
Đáp án: $197$
Quả lê nặng $180 + 56 = 236\text{ g}$, nên quả xoài nặng $236 - 39 = 197\text{ g}$.
Question 5
Trung bình · +20 điểm
A row of $5$ lamps encodes a number in binary, where ● means $1$ (ON) and ○ means $0$ (OFF), from left (highest place value) to right ($1$). What number does ● ○ ● ○ ○ represent?
Xem đáp án và lời giải
Đáp án: $20$
Dãy đèn tương ứng số nhị phân $10100_2 = 20$.
In a survey of students who play at least one sport: $13$ play Soccer, $13$ play Basketball, $13$ play Tennis; $6$ play Soccer & Basketball, $4$ play Basketball & Tennis, $4$ play Soccer & Tennis, and $2$ play all three. How many students are in the survey in total?
Xem đáp án và lời giải
Đáp án: $27$
Theo công thức bù trừ $3$ tập hợp: $13 + 13 + 13 - (6 + 4 + 4) + 2 = 27$.
In a game of Nim, there are three piles with $5$, $7$, and $7$ stones. On your turn, you may remove any positive number of stones from a single pile (the player taking the last stone wins). How many stones must you remove from the pile of $7$ to reach a winning Nim-sum ($0$) position?
Xem đáp án và lời giải
Đáp án: $5$
Tính tổng XOR hai đống đầu: $5 \oplus 7 = 2$. Cần giảm đống $7$ xuống còn $2$, tức là bốc đi $7 - 2 = 5$ viên.
In a $4 \times 4$ mini-Sudoku (using digits $1, 2, 3, 4$ once per row, column, and $2 \times 2$ box), row $1$ already has $2, 1$ and column $4$ already has $3$ outside row $1$. What digit MUST go in row $1$, column $4$?
Xem đáp án và lời giải
Đáp án: $4$
Hàng $1$ đã có $2, 1$ và cột $4$ đã có $3$, nên ô giao nhau chỉ có thể là chữ số còn lại là $4$.
Question 9
Trung bình · +20 điểm
Given binary inputs $A = 1, B = 0, C = 0, D = 1$, evaluate the four logic gates:
- $G_1 = A \text{ AND } B$
- $G_2 = C \text{ OR } D$
- $G_3 = A \text{ XOR } C$
- $G_4 = B \text{ XOR } D$
How many of these four gates output $1$?
Xem đáp án và lời giải
Đáp án: $3$
Tính từng cổng: $G_1 = 0, G_2 = 1, G_3 = 1, G_4 = 1$. Tổng số cổng có đầu ra $1$ là $3$.
Question 10
Trung bình · +20 điểm
One-way roads connect towns with travel times: $A\to B$ ($4$ min), $B\to C$ ($4$ min), $A\to C$ ($10$ min), $B\to D$ ($11$ min), and $C\to D$ ($3$ min). What is the shortest time (in minutes) to go from $A$ to $D$?
Xem đáp án và lời giải
Đáp án: $11$
So sánh $3$ lộ trình từ $A$ đến $D$:
- $A\to B\to C\to D$: $11$
- $A\to B\to D$: $15$
- $A\to C\to D$: $13$
Đường ngắn nhất mất $11$ phút.