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.
A random variable $X$ has standard deviation $\sigma_X = 4$. If $Y = 2X + 24$, what is the standard deviation $\sigma_Y$?
Đáp án: $8$
Adding a constant does not change spread, while multiplying by $2$ scales the standard deviation by $|2|$: $\sigma_Y = 2 \times 4 = 8$.
A random variable $X$ has standard deviation $\sigma_X = 4$. If $Y = 4X + 13$, what is the standard deviation $\sigma_Y$?
Đáp án: $16$
Adding a constant does not change spread, while multiplying by $4$ scales the standard deviation by $|4|$: $\sigma_Y = 4 \times 4 = 16$.
A random variable $X$ has standard deviation $\sigma_X = 6$. If $Y = 4X + 18$, what is the standard deviation $\sigma_Y$?
Đáp án: $24$
Adding a constant does not change spread, while multiplying by $4$ scales the standard deviation by $|4|$: $\sigma_Y = 4 \times 6 = 24$.
A random variable $X$ has standard deviation $\sigma_X = 6$. If $Y = 2X + 23$, what is the standard deviation $\sigma_Y$?
Đáp án: $12$
Adding a constant does not change spread, while multiplying by $2$ scales the standard deviation by $|2|$: $\sigma_Y = 2 \times 6 = 12$.
A random variable $X$ has standard deviation $\sigma_X = 4$. If $Y = 6X + 9$, what is the standard deviation $\sigma_Y$?
Đáp án: $24$
Adding a constant does not change spread, while multiplying by $6$ scales the standard deviation by $|6|$: $\sigma_Y = 6 \times 4 = 24$.
[Part B · Medium] Five university courses (C1–C5) have prerequisite arrows X -> Y (meaning X must be taken before Y; ignore the 1m badge). A student takes $1$ course per term. Which of the following is a valid Topological Ordering of all $5$ courses?
Năm học phần đại học (C1–C5) có các mũi tên tiên quyết X -> Y (nghĩa là phải học X trước Y). Thứ tự đăng ký nào dưới đây là một Sắp xếp Tô-pô (Topological Sort) hợp lệ của cả $5$ học phần?
Đáp án: C2, C1, C3, C4, C5
Answer / Đáp án: C2, C1, C3, C4, C5
Step-by-step (EN): Check all prerequisites:
C3 requires both C1 and C2 $\implies$ {C1, C2} must appear before C3 (eliminates options 2 and 4).C4 requires both C2 and C3 (C3 -> C4!) $\implies$ C3 must appear before C4 (eliminates option 3).Only C2, C1, C3, C4, C5 satisfies every arrow!
Giải chi tiết (VI): Kiểm tra các mũi tên tiên quyết:
C3 cần cả C1 và C2 đứng trước (loại phương án 2 và 4).C3 -> C4 nên C3 bắt buộc phải học trước C4 (loại phương án 3).Vậy chỉ có C2, C1, C3, C4, C5 thỏa mãn mọi ràng buộc.
Computational Thinking / Tư duy Máy tính: Topological Sort on Directed Acyclic Graphs (Sắp xếp Tô-pô trên đồ thị không chu trình).
[Part B · Medium] In this directed graph with a negative edge weight (A -> B has weight $-4$, representing an energy regeneration downhill slope), standard non-revisiting Dijkstra's algorithm greedily finalizes the vertex with smallest tentative distance first. What happens when standard Dijkstra runs from S?
Trên đồ thị có hướng chứa cạnh trọng số âm (A -> B có trọng số $-4$, mô phỏng dốc tái tạo năng lượng), nếu chạy thuật toán Dijkstra chuẩn (đóng vĩnh viễn đỉnh có nhãn tạm nhỏ nhất ở mỗi bước và không xét lại đỉnh đã đóng) xuất phát từ S, điều gì sẽ xảy ra?
Đáp án: Dijkstra finalizes B too early with distance $2$ and outputs suboptimal d(T) = 5 instead of optimal $4$
Answer / Đáp án: Dijkstra finalizes B too early with distance $2$ and outputs suboptimal d(T) = 5 instead of optimal $4$
Step-by-step (EN): From S, tentative distances are d(B) = 2 and d(A) = 5. Standard Dijkstra permanently closes B at $2$ and relaxes B -> T to $2 + 3 = 5$, then closes T at $5$ (or later relaxes A -> B to $5 - 4 = 1$, after B was already finalized!), missing the true shortest path S -> A -> B -> T of cost $5 - 4 + 3 = 4$ (which Bellman–Ford finds!).
Giải chi tiết (VI): Từ S, nhãn ban đầu là d(B) = 2, d(A) = 5. Dijkstra chuẩn chốt cứng B với giá trị $2$ rồi chốt T ở $2 + 3 = 5$, bỏ lỡ đường đi thực sự ngắn hơn là S -> A -> B -> T có chi phí $5 + (-4) + 3 = 4$ (cần dùng Bellman–Ford khi có cạnh âm).
Computational Thinking / Tư duy Máy tính: Algorithmic Preconditions: Dijkstra vs. Bellman–Ford (Điều kiện đúng đắn của thuật toán).
In network #6, a data packet travels from S to T along the weighted links shown (weights $4, 5, 2, 6$). What is the minimum total delay?
Đáp án: $6$
So sánh $S \to P \to T$ ($6$) và $S \to Q \to T$ ($11$), nhỏ nhất là $6$.
In search task #6, using binary search on a sorted list of $16$ names, what is the maximum number of comparisons needed to be sure whether a name is in the list?
Đáp án: $5$
Mỗi lần kiểm tra chia đôi danh sách, cần tối đa $\lfloor \log_2 16 \rfloor + 1 = 5$ lần.
On display #6, how many LED segments light up to display the digit 5 on a standard 7-segment display?
Đáp án: $5$
Chữ số 5 cần đúng $5$ thanh LED sáng.
In tube puzzle #4-1, you have $6$ balls in Tube 1 and an empty Tube 2. Moving $1$ ball at a time to the top of another tube, how many moves are needed to reverse the order of all $6$ balls using a 3rd auxiliary tube (moving each ball directly out and back)?
Đáp án: $12$
In tube puzzle #4-2, you have $5$ balls in Tube 1 and an empty Tube 2. Moving $1$ ball at a time to the top of another tube, how many moves are needed to reverse the order of all $5$ balls using a 3rd auxiliary tube (moving each ball directly out and back)?
Đáp án: $10$
A rectangular sheet of paper is folded in half $4$ times in succession, and then $1$ separate hole(s) are punched straight through all layers (away from the folds). When unfolded, how many holes are in the sheet?
Đáp án: $16$
Folding in half $4$ times creates $2^{4} = 16$ layers, so $1$ punch(es) produce $16 \times 1 = 16$ holes.
A rectangular sheet of paper is folded in half $4$ times in succession, and then $2$ separate hole(s) are punched straight through all layers (away from the folds). When unfolded, how many holes are in the sheet?
Đáp án: $32$
Folding in half $4$ times creates $2^{4} = 16$ layers, so $2$ punch(es) produce $16 \times 2 = 32$ holes.
A rectangular sheet of paper is folded in half $3$ times in succession, and then $3$ separate hole(s) are punched straight through all layers (away from the folds). When unfolded, how many holes are in the sheet?
Đáp án: $24$
Folding in half $3$ times creates $2^{3} = 8$ layers, so $3$ punch(es) produce $8 \times 3 = 24$ holes.