1018 lines
65 KiB
Plaintext
1018 lines
65 KiB
Plaintext
MODEL: ministral3-14b
|
||
PATH: /home/qrf/.cache/llama.cpp/Ministral-3-14B-Reasoning-2512-Q5_K_M.gguf
|
||
STARTED: 2026-07-12 02:44:15
|
||
|
||
======================================================================
|
||
Q01 [recall]
|
||
What is the Kasner metric, and in what context does it arise in general relativity?
|
||
|
||
ANSWER:
|
||
The **Kasner metric** is a solution to the **Einstein field equations** in general relativity that describes a **homogeneous, anisotropic, and vacuum (or dust-filled) spacetime**. It is a generalization of the **Friedmann-Lemaître-Robertson-Walker (FLRW) metric** (which describes isotropic cosmologies) to the case where the spatial geometry is **anisotropic**—meaning the expansion rates along different spatial directions are not equal.
|
||
|
||
### **Form of the Kasner Metric**
|
||
In **comoving coordinates**, the Kasner metric takes the form:
|
||
|
||
\[
|
||
ds^2 = -dt^2 + t^{2p_1} dx^1 + t^{2p_2} dx^2 + t^{2p_3} dx^3
|
||
\]
|
||
|
||
where:
|
||
- \( t \) is the cosmic time,
|
||
- \( p_1, p_2, p_3 \) are the **Kasner exponents** (real numbers) satisfying the constraint:
|
||
\[
|
||
p_1 + p_2 + p_3 = 1
|
||
\]
|
||
(This ensures the metric is a solution to the vacuum Einstein equations with no curvature singularity at \( t = 0 \).)
|
||
- The spatial coordinates \( x^1, x^2, x^3 \) are comoving (i.e., they do not change for a fixed observer).
|
||
|
||
### **Physical Interpretation**
|
||
1. **Anisotropic Expansion**:
|
||
- The metric describes a universe where the **scale factors** along the three spatial directions are **not equal**.
|
||
- The exponents \( p_i \) determine how each direction expands or contracts with time.
|
||
- If \( p_i > 0 \), the corresponding direction expands.
|
||
- If \( p_i < 0 \), the corresponding direction contracts.
|
||
- For example, if \( p_1 = 1, p_2 = p_3 = 0 \), the universe expands only along the \( x^1 \)-direction (a "pancake" universe).
|
||
|
||
2. **Vacuum Solution**:
|
||
- The Kasner metric is a **vacuum solution** (i.e., \( T_{\mu\nu} = 0 \)) of the Einstein equations, meaning it describes a universe with no matter or radiation.
|
||
- It is a **local solution** near a **Bianchi type-I cosmological singularity** (a type of big bang singularity where the universe is highly anisotropic).
|
||
|
||
3. **Connection to the Mixmaster Universe**:
|
||
- The Kasner metric is a **building block** in the **Bianchi IX model** (a spatially homogeneous but anisotropic cosmology).
|
||
- In the **Mixmaster universe** (a chaotic, recollapsing Bianchi IX model), the universe undergoes a series of **Kasner epochs** (periods of anisotropic expansion) separated by **bounces** (where the anisotropy collapses and re-expands).
|
||
|
||
### **Context in General Relativity**
|
||
The Kasner metric arises in several important contexts:
|
||
1. **Near-Singularity Behavior**:
|
||
- It describes the **asymptotic behavior** of a wide class of cosmological solutions near a **spacelike singularity** (e.g., the big bang).
|
||
- Many exact solutions (e.g., the **Kantowski-Sachs metric**, **Taub-NUT**, or **Bianchi models**) reduce to Kasner-like behavior near singularities.
|
||
|
||
2. **Anisotropic Cosmologies**:
|
||
- It is a fundamental solution for **homogeneous but anisotropic universes**, contrasting with the isotropic FLRW metric.
|
||
- It appears in studies of **bounce cosmologies** (e.g., loop quantum cosmology, where the big bang is replaced by a bounce).
|
||
|
||
3. **Penrose-Hawking Singularity Theorems**:
|
||
- The Kasner metric is used as a **model for singularity formation** in the context of the **Penrose-Hawking singularity theorems**, which prove that certain solutions must contain singularities.
|
||
|
||
4. **Black Hole and Gravitational Wave Physics**:
|
||
- In **asymptotically flat spacetimes**, the Kasner metric appears in the **near-zone approximation** of gravitational waves (e.g., in the **quadrupole approximation** for binary black holes).
|
||
- It also appears in **Kerr black hole solutions** when considering the **near-horizon geometry** in certain limits.
|
||
|
||
### **Comparison with the FLRW Metric**
|
||
| Feature | Kasner Metric | FLRW Metric |
|
||
|-----------------------|----------------------------------------|--------------------------------------|
|
||
| **Isotropy** | Anisotropic (different \( p_i \)) | Isotropic (all directions expand equally) |
|
||
| **Homogeneity** | Homogeneous (same at all points) | Homogeneous |
|
||
| **Curvature** | Flat (\( K = 0 \)) in the simplest case | Can be flat, positively, or negatively curved |
|
||
| **Matter Content** | Vacuum (or dust) | Dust, radiation, or cosmological constant |
|
||
| **Singularity** | Spacelike singularity at \( t = 0 \) | Spacelike singularity (big bang) |
|
||
|
||
### **Example: Pure Kasner Vacuum Solution**
|
||
A simple case is the **pure Kasner vacuum**, where:
|
||
\[
|
||
p_1 = p, \quad p_2 = q, \quad p_3 = 1 - p - q
|
||
\]
|
||
with \( p, q \) arbitrary (but not both zero). This describes a universe where two directions expand or contract while the third adjusts to satisfy \( p_1 + p_2 + p_3 = 1 \).
|
||
|
||
### **Limitations and Extensions**
|
||
- The Kasner metric is **not a global solution**—it only describes a **local patch** near a singularity.
|
||
- More general anisotropic solutions (e.g., **Bianchi models**) include additional terms (like spatial curvature or matter fields).
|
||
- In **loop quantum cosmology**, the Kasner metric is modified to avoid singularities, leading to **bounce solutions**.
|
||
|
||
### **Conclusion**
|
||
The Kasner metric is a **fundamental anisotropic solution** in general relativity, playing a key role in:
|
||
1. **Singularity studies** (near-big-bang behavior),
|
||
2. **Anisotropic cosmologies** (Bianchi models, Mixmaster universe),
|
||
3. **Gravitational wave physics** (near-zone approximations),
|
||
4. **Black hole physics** (near-horizon limits).
|
||
|
||
Would you like a deeper dive into any specific aspect (e.g., its role in the Mixmaster universe or its connection to gravitational waves)?
|
||
|
||
EXPECTED (judge only): Vacuum solution to Einstein's equations describing an anisotropic, homogeneous universe; exponents satisfy sum p_i = sum p_i^2 = 1; arises in BKL analysis of cosmological singularities.
|
||
(finish=stop tokens=1424 time=45.7s tps=31.4)
|
||
|
||
======================================================================
|
||
Q02 [recall]
|
||
In enzyme kinetics, what does the Haldane relationship connect?
|
||
|
||
ANSWER:
|
||
The Haldane relationship connects the kinetic parameters of enzyme-catalyzed reactions, specifically the **Michaelis-Menten constant (Km)** and the **turnover number (kcat)** with the **dissociation constant (Kd)** for the enzyme-substrate (E-S) complex and the **catalytic efficiency (kcat/Km)**.
|
||
|
||
### Key Points:
|
||
1. **Michaelis-Menten Kinetics**:
|
||
- Km is the substrate concentration at which the reaction rate is half of Vmax (maximum velocity).
|
||
- kcat is the turnover number, representing the number of substrate molecules converted to product per enzyme molecule per unit time.
|
||
|
||
2. **Haldane Relationship**:
|
||
- It relates Km, kcat, and Kd (the equilibrium dissociation constant for the E-S complex) through the equation:
|
||
\[
|
||
K_m = K_d \left(1 + \frac{k_{-1}}{k_2}\right)
|
||
\]
|
||
where:
|
||
- \(K_d = \frac{k_{-1}}{k_1}\) (equilibrium dissociation constant for E-S),
|
||
- \(k_{-1}\) is the rate constant for the dissociation of E-S to E + S,
|
||
- \(k_2\) is the rate constant for the conversion of E-S to E + P (product).
|
||
|
||
- In the case of rapid equilibrium (where \(k_{-1} \gg k_2\)), the Haldane relationship simplifies to \(K_m = K_d\).
|
||
|
||
3. **Catalytic Efficiency**:
|
||
- The Haldane relationship is also used to derive the **catalytic efficiency** (\(k_{cat}/K_m\)), which is a measure of how effectively an enzyme converts a substrate to product.
|
||
|
||
### Practical Implications:
|
||
- The Haldane relationship helps in understanding how enzyme kinetics (Km, kcat) relate to the binding affinity (Kd) and catalytic rate (kcat).
|
||
- It is particularly useful in analyzing enzyme mechanisms, such as distinguishing between ordered and random mechanisms in multi-substrate reactions.
|
||
|
||
### Note:
|
||
If the question assumes a different context (e.g., allosteric enzymes or more complex kinetics), the Haldane relationship may need to be adjusted or expanded. However, in its classical form, it connects Km, kcat, and Kd as described above.
|
||
|
||
EXPECTED (judge only): Relates the equilibrium constant of a reversible enzyme reaction to its kinetic constants: Keq = (Vf*Kmr)/(Vr*Kmf), tying forward/reverse kcat and Km to thermodynamic equilibrium.
|
||
(finish=stop tokens=477 time=15.5s tps=31.8)
|
||
|
||
======================================================================
|
||
Q03 [recall]
|
||
Who was Hypatia of Alexandria and roughly when did she die?
|
||
|
||
ANSWER:
|
||
Hypatia of Alexandria was a prominent philosopher, mathematician, and astronomer who lived in Alexandria, Egypt, during the late Roman Empire. She is known for her contributions to mathematics, astronomy, and philosophy, particularly her work on conic sections and her commentary on Diophantus' *Arithmetic*. She was also a teacher and a member of the Neoplatonic school in Alexandria, where she studied under her father, Theon of Alexandria, a mathematician and philosopher.
|
||
|
||
Hypatia is often remembered for her intellectual prowess and her role in the intellectual life of Alexandria. She is said to have been a skilled lecturer and a respected figure in the city, known for her wisdom and her ability to explain complex ideas in a clear and accessible manner.
|
||
|
||
Hypatia's death is shrouded in mystery and controversy. According to historical accounts, she was killed in 415 AD, likely as a result of religious and political tensions in Alexandria. The exact circumstances of her death are not entirely clear, but it is believed that she was attacked and killed by a mob of Christian zealots, possibly incited by the bishop of Alexandria, Cyril. Her death is often seen as a symbol of the decline of classical learning and the rise of religious intolerance during this period.
|
||
|
||
It's important to note that the historical accounts of Hypatia's life and death are not entirely reliable, and some details may be exaggerated or misrepresented. However, her legacy as a pioneering woman in the fields of mathematics and philosophy continues to inspire and intrigue scholars and historians to this day.
|
||
|
||
EXPECTED (judge only): Neoplatonist philosopher/mathematician/astronomer in Alexandria; murdered by a Christian mob around 415 CE.
|
||
(finish=stop tokens=318 time=10.3s tps=31.7)
|
||
|
||
======================================================================
|
||
Q04 [recall]
|
||
What is the Gershgorin circle theorem used for?
|
||
|
||
ANSWER:
|
||
The **Gershgorin Circle Theorem** is a fundamental result in linear algebra that provides bounds on the eigenvalues of a complex square matrix. It is particularly useful for estimating the location of eigenvalues without computing them explicitly. Here’s a step-by-step explanation of its purpose and application:
|
||
|
||
### **Purpose of the Gershgorin Circle Theorem**
|
||
1. **Eigenvalue Estimation**:
|
||
- The theorem states that every eigenvalue of a matrix \( A \) lies within at least one of the **Gershgorin discs** (circles) associated with the matrix.
|
||
- These discs are centered at the diagonal elements \( a_{ii} \) of \( A \) and have radii equal to the sum of the absolute values of the off-diagonal elements in the \( i \)-th row.
|
||
|
||
2. **Geometric Interpretation**:
|
||
- For a matrix \( A = (a_{ij}) \), the \( i \)-th Gershgorin disc is defined as:
|
||
\[
|
||
D_i = \{ z \in \mathbb{C} \mid |z - a_{ii}| \leq \sum_{j \neq i} |a_{ij}| \}.
|
||
\]
|
||
- The theorem guarantees that the union of these discs contains all eigenvalues of \( A \).
|
||
|
||
3. **Applications**:
|
||
- **Numerical Stability**: Helps assess the stability of numerical methods (e.g., iterative methods for solving linear systems or eigenvalue problems).
|
||
- **Convergence Analysis**: Used in the study of iterative algorithms (e.g., fixed-point iterations, power methods) to ensure convergence.
|
||
- **Matrix Perturbation**: Provides insights into how eigenvalues change when the matrix is slightly perturbed.
|
||
- **Control Theory**: Used in robustness analysis of dynamical systems.
|
||
- **Graph Theory**: Applied to adjacency matrices of graphs to study spectral properties.
|
||
|
||
### **Example**
|
||
Consider the matrix:
|
||
\[
|
||
A = \begin{bmatrix}
|
||
3 & 1 & 0 \\
|
||
1 & 2 & 1 \\
|
||
0 & 1 & 4 \\
|
||
\end{bmatrix}.
|
||
\]
|
||
The Gershgorin discs are:
|
||
1. \( D_1 \): Center \( 3 \), radius \( |1| + |0| = 1 \) → \( [2, 4] \).
|
||
2. \( D_2 \): Center \( 2 \), radius \( |1| + |1| = 2 \) → \( [0, 4] \).
|
||
3. \( D_3 \): Center \( 4 \), radius \( |1| + |0| = 1 \) → \( [3, 5] \).
|
||
|
||
All eigenvalues of \( A \) must lie in the union of these intervals. The actual eigenvalues (computed numerically) are approximately \( 4.117 \), \( 2.347 \), and \( 0.536 \), all of which fall within the predicted discs.
|
||
|
||
### **Limitations**
|
||
- The theorem provides **necessary but not sufficient** conditions: it guarantees that eigenvalues lie in the discs but does not say which disc contains which eigenvalue.
|
||
- It is most effective for matrices with large off-diagonal elements (e.g., sparse or diagonally dominant matrices).
|
||
|
||
### **Variants**
|
||
- **Gershgorin’s Second Theorem**: A refinement that applies to submatrices or after row/column permutations.
|
||
- **Generalized Gershgorin Theorems**: Extensions to non-square matrices or weighted sums.
|
||
|
||
### **When to Use It**
|
||
- When exact eigenvalues are difficult or impossible to compute.
|
||
- When you need a quick estimate of eigenvalue bounds (e.g., for stability analysis).
|
||
- When working with large or sparse matrices where full diagonalization is impractical.
|
||
|
||
### **Final Answer**
|
||
The **Gershgorin Circle Theorem** is used to **estimate the location of eigenvalues** of a complex square matrix by constructing discs (Gershgorin discs) centered at the diagonal elements with radii equal to the sum of the absolute values of the off-diagonal elements in each row. It guarantees that every eigenvalue lies within at least one of these discs, making it a powerful tool for eigenvalue analysis, numerical stability, and convergence studies in linear algebra and related fields.
|
||
|
||
EXPECTED (judge only): Bounds the location of eigenvalues of a square matrix: every eigenvalue lies within at least one Gershgorin disc centered at a diagonal entry with radius equal to the sum of absolute off-diagonal entries in that row.
|
||
(finish=stop tokens=882 time=28.2s tps=31.5)
|
||
|
||
======================================================================
|
||
Q05 [recall]
|
||
In RF engineering, what is the difference between the noise figure and noise temperature of a device, and how are they related?
|
||
|
||
ANSWER:
|
||
In RF engineering, **noise figure (NF)** and **noise temperature (Tₙ)** are both metrics used to quantify the noise performance of a device (e.g., an amplifier, mixer, or receiver), but they represent the same underlying concept in different units. Here’s a detailed breakdown of their differences and relationship:
|
||
|
||
---
|
||
|
||
### **1. Definitions**
|
||
#### **Noise Figure (NF)**
|
||
- **Definition**: The noise figure is a logarithmic measure (in dB) of how much a device degrades the signal-to-noise ratio (SNR) of a signal passing through it.
|
||
- **Mathematical Form**:
|
||
\[
|
||
\text{NF} = 10 \log_{10} \left( \frac{S_{in}/N_{in}}{S_{out}/N_{out}} \right) \quad \text{(in dB)}
|
||
\]
|
||
where:
|
||
- \(S_{in}/N_{in}\) = input SNR (signal-to-noise ratio),
|
||
- \(S_{out}/N_{out}\) = output SNR.
|
||
- **Units**: Expressed in decibels (dB), e.g., 3 dB NF means the SNR is degraded by 3 dB.
|
||
- **Interpretation**: A lower NF (closer to 0 dB) indicates better noise performance. Ideal noiseless devices have NF = 0 dB.
|
||
|
||
#### **Noise Temperature (Tₙ)**
|
||
- **Definition**: The noise temperature is an absolute measure (in Kelvin, K) of the equivalent thermal noise power added by the device, referred to the input.
|
||
- **Mathematical Form**:
|
||
\[
|
||
T_n = T_e \left( F - 1 \right)
|
||
\]
|
||
where:
|
||
- \(T_e\) = physical temperature of the device (in K, typically 290 K for room temperature),
|
||
- \(F\) = noise factor (linear, not logarithmic; \(F = 10^{\text{NF}/10}\)).
|
||
- **Units**: Expressed in Kelvin (K), e.g., 500 K means the device adds noise equivalent to a 500 K resistor.
|
||
- **Interpretation**: A lower \(T_n\) indicates better noise performance. The minimum possible \(T_n\) is 0 K (absolute zero), but practical devices have finite \(T_n\).
|
||
|
||
---
|
||
|
||
### **2. Relationship Between NF and Tₙ**
|
||
The two are directly related through the following equations:
|
||
\[
|
||
F = 1 + \frac{T_n}{T_e}
|
||
\]
|
||
\[
|
||
\text{NF (dB)} = 10 \log_{10} \left( 1 + \frac{T_n}{T_e} \right)
|
||
\]
|
||
\[
|
||
T_n = T_e (F - 1) = T_e (10^{\text{NF}/10} - 1)
|
||
\]
|
||
|
||
#### **Example Calculation**
|
||
- Suppose a device has \(T_e = 290\) K and \(T_n = 300\) K.
|
||
- Noise factor \(F = 1 + 300/290 \approx 2.0345\).
|
||
- Noise figure \(\text{NF} = 10 \log_{10}(2.0345) \approx 3.08\) dB.
|
||
- Conversely, if a device has \(\text{NF} = 2\) dB and \(T_e = 290\) K:
|
||
- \(F = 10^{2/10} \approx 1.5849\).
|
||
- \(T_n = 290 (1.5849 - 1) \approx 169.6\) K.
|
||
|
||
---
|
||
|
||
### **3. Key Differences**
|
||
| **Aspect** | **Noise Figure (NF)** | **Noise Temperature (Tₙ)** |
|
||
|---------------------|--------------------------------------|--------------------------------------|
|
||
| **Units** | Decibels (dB) | Kelvin (K) |
|
||
| **Reference** | Relative to input SNR | Absolute thermal noise power |
|
||
| **Interpretation** | Logarithmic degradation of SNR | Equivalent thermal noise added |
|
||
| **Use Case** | Common in engineering (e.g., specs) | Useful in radio astronomy, low-noise amplifiers (LNAs) |
|
||
|
||
---
|
||
|
||
### **4. Practical Implications**
|
||
- **NF is more common** in engineering specifications because it directly relates to SNR degradation, which is critical for system design (e.g., link budgets).
|
||
- **Tₙ is more intuitive** in contexts where thermal noise dominates (e.g., radio astronomy, cryogenic amplifiers). It directly relates to the Johnson-Nyquist noise of resistors.
|
||
- **Conversion is straightforward** when \(T_e\) is known (usually 290 K for room temperature or 75 K for cryogenic systems).
|
||
|
||
---
|
||
|
||
### **5. Common Misconceptions**
|
||
1. **"Noise figure is always in dB."**
|
||
- While NF is often given in dB, the underlying quantity is the **noise factor (F)**, which is linear (unitless). For example, a 3 dB NF corresponds to \(F = 2\).
|
||
2. **"Noise temperature is only for cryogenic systems."**
|
||
- \(T_n\) is valid for any device, but it’s more meaningful when the device’s physical temperature \(T_e\) is known or when comparing noise in absolute terms (e.g., for LNAs in receivers).
|
||
3. **"Lower noise temperature always means better performance."**
|
||
- This is true only if \(T_e\) is the same. For example, a device with \(T_n = 100\) K at \(T_e = 290\) K is better than one with \(T_n = 200\) K at \(T_e = 290\) K, but not necessarily better than one with \(T_n = 50\) K at \(T_e = 100\) K (since \(F\) would be lower in the latter case).
|
||
|
||
---
|
||
|
||
### **6. When to Use Which?**
|
||
- Use **NF** when:
|
||
- You need to quantify SNR degradation in a system (e.g., for link budget calculations).
|
||
- The device’s physical temperature \(T_e\) is not critical or is assumed to be 290 K.
|
||
- Use **Tₙ** when:
|
||
- You’re working with cryogenic systems (e.g., LNAs cooled to 77 K).
|
||
- You need to compare noise in absolute terms (e.g., for radio telescopes where the sky temperature is a reference).
|
||
- You’re dealing with the Johnson-Nyquist noise of resistors or the CMB (cosmic microwave background) temperature (~2.7 K).
|
||
|
||
---
|
||
|
||
### **Final Answer**
|
||
The **noise figure (NF)** and **noise temperature (Tₙ)** are two ways to quantify the noise performance of an RF device, with NF expressed in decibels (dB) and \(T_n\) in Kelvin (K). They are related through the device’s physical temperature \(T_e\) (typically 290 K for room temperature) via the equations:
|
||
\[
|
||
F = 1 + \frac{T_n}{T_e}, \quad \text{NF (dB)} = 10 \log_{10}(F).
|
||
\]
|
||
- **NF** is more practical for system design (e.g., link budgets) because it directly reflects SNR degradation.
|
||
- **Tₙ** is more intuitive for absolute noise comparisons (e.g., in cryogenic or astronomical applications) and is derived from the equivalent thermal noise added by the device.
|
||
|
||
If you’re given one and need the other, you can convert them using the above relationships, provided \(T_e\) is known. If \(T_e\) is not specified, it’s often assumed to be 290 K (room temperature) unless the device is cooled (e.g., to 77 K for liquid nitrogen cooling).
|
||
|
||
EXPECTED (judge only): Both quantify added noise; related by F = 1 + Te/T0 (T0=290K), equivalently Te = T0*(F-1). NF is 10log10(F) in dB.
|
||
(finish=stop tokens=1700 time=54.6s tps=31.4)
|
||
|
||
======================================================================
|
||
Q06 [recall]
|
||
What is the Antikythera mechanism and what did it do?
|
||
|
||
ANSWER:
|
||
The Antikythera mechanism is an ancient Greek analog computer and the oldest known example of an analog computer. It was discovered in 1901 near the island of Antikythera, between Kythera and Crete, by a group of sponge divers. The mechanism is believed to have been made around the 2nd century BC, during the Hellenistic period.
|
||
|
||
The Antikythera mechanism is a complex device with a series of gears and dials that was used to predict astronomical positions and eclipses. It is often considered the world's first analog computer because it could perform complex calculations and display the results. The device is thought to have been used to track the movements of the Sun, Moon, and planets, as well as to predict solar and lunar eclipses.
|
||
|
||
The mechanism is composed of at least 30 bronze gears, which are arranged in a series of concentric circles. The gears are connected to a series of dials that display the positions of the celestial bodies. The device is also thought to have had a calendar function, which could be used to track the dates of important events, such as the Olympic Games.
|
||
|
||
The Antikythera mechanism is an incredible example of ancient Greek engineering and technology. It is a testament to the advanced knowledge and skills of the ancient Greeks, who were able to create such a complex and accurate device without the benefit of modern technology. The mechanism is now housed in the National Archaeological Museum in Athens, Greece.
|
||
|
||
EXPECTED (judge only): Ancient Greek geared analog device (~2nd c. BCE) for predicting astronomical positions, eclipses, and calendrical/Olympiad cycles.
|
||
(finish=stop tokens=301 time=9.9s tps=31.8)
|
||
|
||
======================================================================
|
||
Q07 [recall]
|
||
What does the CAP theorem state in distributed systems?
|
||
|
||
ANSWER:
|
||
The CAP theorem, also known as Brewer's theorem, is a fundamental concept in distributed systems. It states that in any distributed system, you can only guarantee two out of the following three properties at any given time:
|
||
|
||
1. **Consistency (C)**: Every read receives the most recent write or an error.
|
||
2. **Availability (A)**: Every request receives a (non-error) response, without the guarantee that it contains the most recent write.
|
||
3. **Partition Tolerance (P)**: The system continues to operate despite an arbitrary number of messages being dropped (or delayed) by the network between nodes.
|
||
|
||
In simpler terms, the CAP theorem states that in a distributed system, you can only achieve two out of the three properties (Consistency, Availability, and Partition Tolerance) at the same time. This is because maintaining all three simultaneously is impossible.
|
||
|
||
Here's a breakdown of the implications:
|
||
|
||
- **CP (Consistent and Partition Tolerant)**: The system can guarantee consistency and partition tolerance, but it may not be available during network partitions. This is often seen in systems that prioritize strong consistency, such as some database systems.
|
||
- **AP (Available and Partition Tolerant)**: The system can guarantee availability and partition tolerance, but it may not be consistent. This is common in systems that prioritize high availability, such as some web applications.
|
||
- **CA (Consistent and Available)**: The system can guarantee consistency and availability, but it is not partition tolerant. This is rare in distributed systems, as network partitions are a common occurrence.
|
||
|
||
The CAP theorem is particularly relevant in the context of distributed databases and systems, where the choice between these properties can significantly impact the design and behavior of the system.
|
||
|
||
EXPECTED (judge only): A distributed data store cannot simultaneously guarantee all three of Consistency, Availability, and Partition tolerance; under a partition you must trade consistency vs availability.
|
||
(finish=stop tokens=345 time=11.1s tps=31.7)
|
||
|
||
======================================================================
|
||
Q08 [recall]
|
||
What is Cherenkov radiation and what condition produces it?
|
||
|
||
ANSWER:
|
||
Cherenkov radiation is a fascinating physical phenomenon that occurs when a charged particle, such as an electron or a proton, travels through a medium (like water or air) at a speed greater than the phase velocity of light in that medium. This is important to note: it is not faster than the speed of light in a vacuum (which is the ultimate speed limit in the universe, approximately 299,792,458 meters per second), but rather faster than the speed of light in the specific medium it is passing through.
|
||
|
||
### Key Points:
|
||
1. **Speed Condition**: The charged particle must travel faster than the phase velocity of light in the medium. The phase velocity of light in a medium is always less than the speed of light in a vacuum due to the refractive index of the medium. For example, in water, the speed of light is about 225,000,000 meters per second (refractive index ~1.33), so a particle would need to travel faster than this speed to produce Cherenkov radiation.
|
||
|
||
2. **Emission Mechanism**: When a charged particle moves faster than the phase velocity of light in the medium, it causes a disturbance in the medium similar to the sonic boom produced by an object moving faster than the speed of sound. This disturbance manifests as a cone of blue light, known as Cherenkov radiation, which is emitted tangentially to the path of the particle.
|
||
|
||
3. **Characteristics**:
|
||
- The light is emitted in a cone shape, with the angle of the cone (θ) related to the particle's speed (v) and the refractive index (n) of the medium by the formula: cos(θ) = 1/(n * β), where β = v/c (c is the speed of light in a vacuum).
|
||
- The light is typically in the blue to ultraviolet part of the spectrum, which is why it often appears blue to the human eye.
|
||
- The intensity of the light is proportional to the particle's charge and the square of the particle's speed minus the phase velocity of light in the medium.
|
||
|
||
4. **Applications**:
|
||
- **Particle Physics**: Cherenkov radiation is used in particle detectors to identify and measure the speed and direction of charged particles. For example, the Cherenkov detectors in neutrino experiments help distinguish between different types of particles.
|
||
- **Nuclear Reactors**: In nuclear reactors, Cherenkov radiation can be observed in the water used as a coolant or moderator, appearing as a blue glow. This is a visual indication of the high-energy particles produced during nuclear reactions.
|
||
- **Medical Imaging**: Cherenkov radiation is also used in some medical imaging techniques, such as in positron emission tomography (PET) scans.
|
||
|
||
### Example:
|
||
If an electron travels through water at a speed of 2.5 × 10^8 meters per second (which is greater than the speed of light in water but less than the speed of light in a vacuum), it will produce Cherenkov radiation. The angle of the cone can be calculated using the refractive index of water (n ≈ 1.33) and the formula mentioned above.
|
||
|
||
### Common Misconception:
|
||
It is incorrect to say that Cherenkov radiation is produced when a particle travels faster than the speed of light in a vacuum. This would violate the postulates of special relativity, which state that no particle with mass can reach or exceed the speed of light in a vacuum. Cherenkov radiation specifically requires the particle to be faster than the phase velocity of light in the medium, not the speed of light in a vacuum.
|
||
|
||
### Final Answer:
|
||
Cherenkov radiation is a blue glow emitted when a charged particle travels through a medium at a speed greater than the phase velocity of light in that medium. This phenomenon occurs due to the particle's interaction with the medium, causing a shockwave-like disturbance that emits light. The condition that produces Cherenkov radiation is that the particle's speed (v) must satisfy v > c/n, where c is the speed of light in a vacuum and n is the refractive index of the medium. This is a valuable tool in particle physics, nuclear reactors, and medical imaging.
|
||
|
||
EXPECTED (judge only): Light emitted when a charged particle travels through a medium faster than the phase velocity of light in that medium (v > c/n); produces the characteristic blue glow, emitted at a cone angle cos(theta)=1/(n*beta).
|
||
(finish=stop tokens=865 time=27.8s tps=31.4)
|
||
|
||
======================================================================
|
||
Q09 [reason]
|
||
A 12-bit ADC has a full-scale range of 0 to 3.3 V. What is its voltage resolution (LSB size) in millivolts? Show the calculation.
|
||
|
||
ANSWER:
|
||
To determine the voltage resolution (LSB size) of a 12-bit ADC with a full-scale range of 0 to 3.3 V, follow these steps:
|
||
|
||
1. **Understand the ADC's resolution**:
|
||
- A 12-bit ADC can represent \(2^{12} = 4096\) distinct digital levels (including 0 and full scale).
|
||
- The full-scale range is 3.3 V, so the voltage step (LSB size) is the full-scale voltage divided by the number of steps.
|
||
|
||
2. **Calculate the LSB size**:
|
||
\[
|
||
\text{LSB size} = \frac{\text{Full-scale voltage}}{\text{Number of steps}} = \frac{3.3 \text{ V}}{4096}
|
||
\]
|
||
\[
|
||
\text{LSB size} = 0.0008056640625 \text{ V} = 0.8056640625 \text{ mV}
|
||
\]
|
||
|
||
3. **Round the result (if needed)**:
|
||
- Typically, the LSB size is rounded to a reasonable number of decimal places. Here, we can round it to 4 decimal places:
|
||
\[
|
||
\text{LSB size} \approx 0.8057 \text{ mV}
|
||
\]
|
||
|
||
**Final Answer**:
|
||
The voltage resolution (LSB size) of the 12-bit ADC is approximately **0.8057 mV**.
|
||
|
||
EXPECTED (judge only): 3.3 V / 2^12 = 3.3/4096 = 0.0008056 V = about 0.806 mV.
|
||
(finish=stop tokens=322 time=10.5s tps=31.8)
|
||
|
||
======================================================================
|
||
Q10 [reason]
|
||
A geostationary satellite orbits at ~35,786 km altitude. Earth's radius is ~6,378 km. Ignoring atmosphere, what is the approximate one-way line-of-sight propagation delay from a ground station directly below it to the satellite, in milliseconds?
|
||
|
||
ANSWER:
|
||
To calculate the one-way line-of-sight propagation delay from a ground station directly below a geostationary satellite to the satellite, we need to follow these steps:
|
||
|
||
1. **Understand the scenario**:
|
||
- The satellite is in a geostationary orbit at an altitude of approximately 35,786 km above Earth's surface.
|
||
- Earth's radius is approximately 6,378 km.
|
||
- The ground station is directly below the satellite, so the distance between the ground station and the satellite is the sum of the satellite's altitude and Earth's radius.
|
||
|
||
2. **Calculate the distance**:
|
||
- Distance = Satellite altitude + Earth's radius
|
||
- Distance = 35,786 km + 6,378 km
|
||
- Distance = 42,164 km
|
||
|
||
3. **Convert the distance to meters**:
|
||
- 1 km = 1,000 meters
|
||
- Distance = 42,164 km * 1,000 = 42,164,000 meters
|
||
|
||
4. **Calculate the propagation delay**:
|
||
- The speed of light (c) is approximately 299,792,458 meters per second.
|
||
- Propagation delay = Distance / Speed of light
|
||
- Propagation delay = 42,164,000 meters / 299,792,458 meters per second
|
||
- Propagation delay ≈ 0.1406 seconds
|
||
|
||
5. **Convert the delay to milliseconds**:
|
||
- 1 second = 1,000 milliseconds
|
||
- Propagation delay ≈ 0.1406 seconds * 1,000 = 140.6 milliseconds
|
||
|
||
So, the approximate one-way line-of-sight propagation delay from a ground station directly below the satellite to the satellite is 140.6 milliseconds.
|
||
|
||
EXPECTED (judge only): Distance ~= 35,786 km; delay = 35,786e3 / 3e8 = ~0.1193 s = about 119 ms. (Directly below, slant range = altitude.)
|
||
(finish=stop tokens=412 time=13.3s tps=31.6)
|
||
|
||
======================================================================
|
||
Q11 [reason]
|
||
If a signal has an SNR of 20 dB and a bandwidth of 1 MHz, what is the approximate Shannon channel capacity in Mbps? Show your steps.
|
||
|
||
ANSWER:
|
||
To calculate the Shannon channel capacity, we'll use the formula:
|
||
|
||
\[ C = B \cdot \log_2(1 + \text{SNR}) \]
|
||
|
||
Where:
|
||
- \( C \) is the channel capacity in bits per second (bps).
|
||
- \( B \) is the bandwidth in Hertz (Hz).
|
||
- \( \text{SNR} \) is the signal-to-noise ratio (linear scale, not decibels).
|
||
|
||
### Step 1: Convert SNR from dB to linear scale
|
||
The given SNR is 20 dB. The relationship between decibels (dB) and the linear scale is:
|
||
|
||
\[ \text{SNR}_{\text{linear}} = 10^{\frac{\text{SNR}_{\text{dB}}}{10}} \]
|
||
|
||
So,
|
||
\[ \text{SNR}_{\text{linear}} = 10^{\frac{20}{10}} = 10^2 = 100 \]
|
||
|
||
### Step 2: Plug values into the Shannon capacity formula
|
||
Given:
|
||
- Bandwidth \( B = 1 \text{ MHz} = 1 \times 10^6 \text{ Hz} \)
|
||
- \( \text{SNR}_{\text{linear}} = 100 \)
|
||
|
||
Now, calculate \( \log_2(1 + \text{SNR}) \):
|
||
\[ \log_2(1 + 100) = \log_2(101) \]
|
||
|
||
We know that \( 2^6 = 64 \) and \( 2^7 = 128 \), so \( \log_2(101) \) is between 6 and 7. A more precise calculation (using a calculator or logarithm tables) gives:
|
||
\[ \log_2(101) \approx 6.658 \]
|
||
|
||
### Step 3: Calculate the channel capacity
|
||
Now, multiply the bandwidth by the logarithmic term:
|
||
\[ C = 1 \times 10^6 \cdot 6.658 \]
|
||
\[ C \approx 6.658 \times 10^6 \text{ bps} \]
|
||
|
||
Convert to Mbps (megabits per second, where \( 1 \text{ Mbps} = 10^6 \text{ bps} \)):
|
||
\[ C \approx 6.658 \text{ Mbps} \]
|
||
|
||
### Final Answer:
|
||
The approximate Shannon channel capacity is **6.66 Mbps**.
|
||
|
||
### Note:
|
||
If you need more precision, you can use a more accurate value for \( \log_2(101) \). For example, using a calculator:
|
||
\[ \log_2(101) \approx 6.65801212 \]
|
||
Thus, the capacity would be:
|
||
\[ C \approx 6.658 \text{ Mbps} \] (rounded to 3 decimal places).
|
||
|
||
This is the theoretical maximum data rate that can be achieved in a communication channel with the given SNR and bandwidth, assuming optimal encoding and decoding.
|
||
|
||
EXPECTED (judge only): SNR linear = 10^(20/10)=100. C = 1e6 * log2(1+100) = 1e6 * log2(101) = 1e6 * 6.658 = ~6.66 Mbps.
|
||
(finish=stop tokens=638 time=20.6s tps=31.4)
|
||
|
||
======================================================================
|
||
Q12 [reason]
|
||
You have three resistors: 100, 220, and 330 ohms. Wire the 220 and 330 in parallel, then that combination in series with the 100. What is the total resistance? Show the steps.
|
||
|
||
ANSWER:
|
||
Let's calculate the total resistance step by step.
|
||
|
||
### Step 1: Calculate the equivalent resistance of the parallel combination (220 Ω and 330 Ω)
|
||
The formula for resistors in parallel is:
|
||
\[ \frac{1}{R_{eq}} = \frac{1}{R_1} + \frac{1}{R_2} \]
|
||
|
||
Plugging in the values:
|
||
\[ \frac{1}{R_{eq}} = \frac{1}{220} + \frac{1}{330} \]
|
||
|
||
First, find a common denominator (which is 660, the least common multiple of 220 and 330):
|
||
\[ \frac{1}{220} = \frac{3}{660} \]
|
||
\[ \frac{1}{330} = \frac{2}{660} \]
|
||
|
||
Now add them:
|
||
\[ \frac{1}{R_{eq}} = \frac{3}{660} + \frac{2}{660} = \frac{5}{660} \]
|
||
|
||
Simplify the fraction:
|
||
\[ \frac{1}{R_{eq}} = \frac{1}{132} \]
|
||
|
||
So, the equivalent resistance is:
|
||
\[ R_{eq} = 132 \, \Omega \]
|
||
|
||
### Step 2: Add the series resistor (100 Ω) to the equivalent parallel resistance
|
||
The total resistance \( R_{total} \) is the sum of the series resistor and the equivalent parallel resistance:
|
||
\[ R_{total} = 100 \, \Omega + 132 \, \Omega = 232 \, \Omega \]
|
||
|
||
### Final Answer:
|
||
The total resistance is **232 ohms**.
|
||
|
||
EXPECTED (judge only): 220||330 = (220*330)/(550) = 72600/550 = 132 ohms. Series with 100 = 232 ohms.
|
||
(finish=stop tokens=366 time=11.9s tps=31.8)
|
||
|
||
======================================================================
|
||
Q13 [reason]
|
||
A recipe scales linearly. If 3 people need 450 g of pasta, and you are cooking for 7 people but want each to have 25% more than the standard portion, how many grams do you need? Show the steps.
|
||
|
||
ANSWER:
|
||
Let's break this down step by step.
|
||
|
||
### 1. **Understand the standard portion for 3 people:**
|
||
- **Given:** 3 people need 450 g of pasta.
|
||
- **Standard portion per person:**
|
||
\( \frac{450 \text{ g}}{3 \text{ people}} = 150 \text{ g per person} \).
|
||
|
||
### 2. **Adjust for 25% more per person:**
|
||
- **25% more than the standard portion:**
|
||
\( 150 \text{ g} \times 1.25 = 187.5 \text{ g per person} \).
|
||
|
||
### 3. **Calculate total pasta for 7 people:**
|
||
- **Total pasta needed:**
|
||
\( 187.5 \text{ g/person} \times 7 \text{ people} = 1312.5 \text{ g} \).
|
||
|
||
### 4. **Verify linearity (if needed):**
|
||
- The problem states the recipe scales linearly, so this calculation holds.
|
||
|
||
### **Final Answer:**
|
||
You need **1312.5 grams** of pasta for 7 people, where each has 25% more than the standard portion.
|
||
|
||
EXPECTED (judge only): Standard per person = 450/3 = 150 g. With 25% more = 187.5 g each. For 7 = 1312.5 g.
|
||
(finish=stop tokens=266 time=8.7s tps=31.8)
|
||
|
||
======================================================================
|
||
Q14 [reason]
|
||
A car depreciates 15% per year from an initial value of $30,000. What is its value after 3 years, to the nearest dollar? Show the steps.
|
||
|
||
ANSWER:
|
||
To determine the value of the car after 3 years with an annual depreciation rate of 15%, we'll follow these steps:
|
||
|
||
### **Step 1: Understand the Depreciation Formula**
|
||
The value of the car decreases by 15% each year. This means that at the end of each year, the car retains **85%** (100% - 15%) of its value from the previous year.
|
||
|
||
The formula for the value after **n** years is:
|
||
\[
|
||
\text{Value after } n \text{ years} = \text{Initial Value} \times (1 - \text{Depreciation Rate})^n
|
||
\]
|
||
|
||
### **Step 2: Plug in the Given Values**
|
||
- **Initial Value (V₀)** = \$30,000
|
||
- **Depreciation Rate (r)** = 15% = 0.15
|
||
- **Number of Years (n)** = 3
|
||
|
||
\[
|
||
\text{Value after 3 years} = 30,000 \times (1 - 0.15)^3
|
||
\]
|
||
|
||
\[
|
||
\text{Value after 3 years} = 30,000 \times (0.85)^3
|
||
\]
|
||
|
||
### **Step 3: Calculate (0.85)³**
|
||
\[
|
||
0.85^3 = 0.85 \times 0.85 \times 0.85
|
||
\]
|
||
|
||
First, calculate \(0.85 \times 0.85\):
|
||
\[
|
||
0.85 \times 0.85 = 0.7225
|
||
\]
|
||
|
||
Next, multiply the result by 0.85:
|
||
\[
|
||
0.7225 \times 0.85 = 0.614125
|
||
\]
|
||
|
||
### **Step 4: Multiply by the Initial Value**
|
||
\[
|
||
30,000 \times 0.614125 = 18,423.75
|
||
\]
|
||
|
||
### **Step 5: Round to the Nearest Dollar**
|
||
\[
|
||
18,423.75 \approx 18,424
|
||
\]
|
||
|
||
### **Final Answer**
|
||
The value of the car after 3 years is **\$18,424**.
|
||
|
||
EXPECTED (judge only): 30000 * 0.85^3 = 30000 * 0.614125 = $18,423.75, about $18,424.
|
||
(finish=stop tokens=495 time=15.9s tps=31.6)
|
||
|
||
======================================================================
|
||
Q15 [reason]
|
||
In a 5G NR system with 30 kHz subcarrier spacing, how many subcarriers fit in a 20 MHz channel if guard bands consume about 1 MHz total? Approximate, show steps.
|
||
|
||
ANSWER:
|
||
Let's break this down step by step.
|
||
|
||
### 1. **Understand the given parameters:**
|
||
- **Subcarrier spacing (SCS):** 30 kHz
|
||
- **Channel bandwidth (BW):** 20 MHz
|
||
- **Guard bands (GB):** 1 MHz total (this is the combined guard band on both sides of the channel)
|
||
|
||
### 2. **Calculate the usable bandwidth (BW_usable):**
|
||
The total channel bandwidth includes the guard bands, so the usable bandwidth is:
|
||
\[
|
||
BW_{\text{usable}} = BW_{\text{total}} - GB_{\text{total}} = 20\,\text{MHz} - 1\,\text{MHz} = 19\,\text{MHz}
|
||
\]
|
||
|
||
### 3. **Convert the usable bandwidth to kHz:**
|
||
Since the subcarrier spacing is given in kHz, convert 19 MHz to kHz:
|
||
\[
|
||
19\,\text{MHz} = 19 \times 1000 = 19000\,\text{kHz}
|
||
\]
|
||
|
||
### 4. **Calculate the number of subcarriers (N):**
|
||
The number of subcarriers is the usable bandwidth divided by the subcarrier spacing:
|
||
\[
|
||
N = \frac{BW_{\text{usable (kHz)}}}{SCS} = \frac{19000\,\text{kHz}}{30\,\text{kHz}} \approx 633.33
|
||
\]
|
||
|
||
Since the number of subcarriers must be an integer, we round to the nearest whole number:
|
||
\[
|
||
N \approx 633
|
||
\]
|
||
|
||
### 5. **Verification:**
|
||
- 633 subcarriers × 30 kHz = 18,990 kHz (or 18.99 MHz), which is very close to the usable bandwidth of 19 MHz.
|
||
- The slight discrepancy (10 kHz) is negligible for this approximation.
|
||
|
||
### Final Answer:
|
||
Approximately **633 subcarriers** fit in a 20 MHz channel with 1 MHz total guard bands in a 5G NR system with 30 kHz subcarrier spacing.
|
||
|
||
EXPECTED (judge only): Usable ~19 MHz / 30 kHz = ~633 subcarriers. (Real NR uses 12 per RB; ~52 RBs at this SCS/BW, ~624 subcarriers. Accept ~620-640.)
|
||
(finish=stop tokens=477 time=15.5s tps=31.4)
|
||
|
||
======================================================================
|
||
Q16 [reason]
|
||
The half-life of a radioactive isotope is 8 days. Starting from 400 grams, how many grams remain after 30 days? Show the steps.
|
||
|
||
ANSWER:
|
||
To determine how many grams of the radioactive isotope remain after 30 days, we'll use the concept of half-life. Here's the step-by-step solution:
|
||
|
||
### Given:
|
||
- **Initial amount (N₀):** 400 grams
|
||
- **Half-life (t₁/₂):** 8 days
|
||
- **Total time elapsed (t):** 30 days
|
||
|
||
### Formula for remaining amount after decay:
|
||
The remaining amount \( N \) after time \( t \) can be calculated using the formula:
|
||
\[
|
||
N = N_0 \times \left(\frac{1}{2}\right)^{\frac{t}{t_{1/2}}}
|
||
\]
|
||
|
||
### Step 1: Calculate the number of half-lives that have passed
|
||
\[
|
||
\text{Number of half-lives} = \frac{t}{t_{1/2}} = \frac{30 \text{ days}}{8 \text{ days}} = 3.75
|
||
\]
|
||
|
||
### Step 2: Plug the values into the formula
|
||
\[
|
||
N = 400 \times \left(\frac{1}{2}\right)^{3.75}
|
||
\]
|
||
|
||
### Step 3: Calculate \( \left(\frac{1}{2}\right)^{3.75} \)
|
||
First, express 3.75 as a fraction:
|
||
\[
|
||
3.75 = \frac{15}{4}
|
||
\]
|
||
Now, calculate \( \left(\frac{1}{2}\right)^{15/4} \):
|
||
\[
|
||
\left(\frac{1}{2}\right)^{15/4} = \left(\frac{1}{2}\right)^{3 + \frac{3}{4}} = \left(\frac{1}{2}\right)^3 \times \left(\frac{1}{2}\right)^{3/4}
|
||
\]
|
||
\[
|
||
\left(\frac{1}{2}\right)^3 = \frac{1}{8}
|
||
\]
|
||
\[
|
||
\left(\frac{1}{2}\right)^{3/4} = 2^{-3/4} \approx 0.5946
|
||
\]
|
||
So,
|
||
\[
|
||
\left(\frac{1}{2}\right)^{15/4} \approx \frac{1}{8} \times 0.5946 \approx 0.0743
|
||
\]
|
||
|
||
### Step 4: Calculate the remaining amount
|
||
\[
|
||
N \approx 400 \times 0.0743 \approx 29.72 \text{ grams}
|
||
\]
|
||
|
||
### Final Answer:
|
||
After 30 days, approximately **29.72 grams** of the radioactive isotope remain.
|
||
|
||
### Verification (Alternative Approach):
|
||
Alternatively, you can calculate the remaining amount by repeatedly halving the initial amount for each full half-life and then adjusting for the remaining fraction of the last half-life.
|
||
|
||
1. After 8 days (1 half-life): \( 400 \times \frac{1}{2} = 200 \) grams
|
||
2. After 16 days (2 half-lives): \( 200 \times \frac{1}{2} = 100 \) grams
|
||
3. After 24 days (3 half-lives): \( 100 \times \frac{1}{2} = 50 \) grams
|
||
4. Remaining time: \( 30 - 24 = 6 \) days (which is \( \frac{6}{8} = 0.75 \) of a half-life)
|
||
|
||
Now, calculate the remaining amount after 6 more days:
|
||
\[
|
||
N = 50 \times \left(\frac{1}{2}\right)^{0.75} \approx 50 \times 0.5946 \approx 29.73 \text{ grams}
|
||
\]
|
||
|
||
This matches our previous result, confirming the answer.
|
||
|
||
EXPECTED (judge only): n = 30/8 = 3.75 half-lives. 400 * 0.5^3.75 = 400 * 0.07433 = about 29.7 g.
|
||
(finish=stop tokens=825 time=26.4s tps=31.6)
|
||
|
||
======================================================================
|
||
Q17 [trap]
|
||
Since the Great Wall of China is the only man-made structure visible from the Moon with the naked eye, roughly how wide must it be to be seen from that distance?
|
||
|
||
ANSWER:
|
||
The premise that the Great Wall of China is the only man-made structure visible from the Moon with the naked eye is incorrect. The Great Wall is not visible from the Moon under normal circumstances, even with the naked eye. This is a common misconception, likely due to its prominence in popular culture and its vast length.
|
||
|
||
To address the question accurately, let's break it down step by step:
|
||
|
||
1. **Visibility from the Moon**: The Moon is approximately 384,400 kilometers (238,855 miles) away from Earth. For a structure to be visible from the Moon with the naked eye, it would need to be extremely large or have very high contrast against its surroundings (e.g., being very bright or very dark).
|
||
|
||
2. **The Great Wall's Width and Length**:
|
||
- The Great Wall is about 21,196 kilometers (13,171 miles) long, but its width varies significantly. The most common width is about 4 to 5 meters (13 to 16 feet) for the main path, but it can be up to 10 meters (33 feet) wide in some sections, including watchtowers and fortifications.
|
||
- The Great Wall is not a continuous, uniform structure. It consists of many sections with gaps, and its height is typically around 6 to 9 meters (20 to 30 feet), though some sections are taller.
|
||
|
||
3. **Why the Great Wall Isn't Visible from the Moon**:
|
||
- **Resolution Limits**: The angular resolution of the human eye is about 1 arcminute (1/60 of a degree). At the distance of the Moon, this corresponds to a resolution of about 70 meters (230 feet). The Great Wall is much narrower than this, so its details would not be distinguishable.
|
||
- **Contrast and Continuity**: Even if the Great Wall were wider, its color and texture would likely blend in with the surrounding terrain (e.g., deserts, mountains, or rural areas). The Great Wall is not a stark, uniform feature like a large city or a massive dam.
|
||
- **Other Visible Structures**: There are other man-made structures that are more visible from space, such as large cities (e.g., the bright lights of urban areas at night) or massive infrastructure like the Hoover Dam or the Three Gorges Dam. However, none of these are typically visible from the Moon with the naked eye either. The only structures that might be visible from the Moon are very large, continuous, and highly contrasting, such as the European Space Agency's estimate that the Great Pyramid of Giza or the Three Gorges Dam might be barely visible under ideal conditions, but this is still debated.
|
||
|
||
4. **What Would Need to Be Visible from the Moon**:
|
||
- For a structure to be visible from the Moon with the naked eye, it would need to be at least several kilometers wide and have a very high contrast (e.g., a massive, uniform, and highly reflective or absorptive feature).
|
||
- For example, a structure that is 10 kilometers wide and stretches for hundreds of kilometers with a very high contrast (e.g., a massive, perfectly straight, and highly reflective line) might be visible, but this is not the case for the Great Wall.
|
||
|
||
5. **Corrected Premise**:
|
||
- The Great Wall is not visible from the Moon with the naked eye. The idea that it is the only man-made structure visible from the Moon is incorrect. No man-made structure is visible from the Moon with the naked eye under normal conditions.
|
||
|
||
### Final Answer:
|
||
The premise that the Great Wall of China is the only man-made structure visible from the Moon with the naked eye is incorrect. The Great Wall is not visible from the Moon under normal circumstances, even with the naked eye. For a structure to be visible from the Moon, it would need to be extremely large (likely several kilometers wide) and have very high contrast against its surroundings, which the Great Wall does not meet. No man-made structure is visible from the Moon with the naked eye.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: the Great Wall is not visible from the Moon with the naked eye (nothing man-made is). Good answer rejects the premise; refusing the width calc is correct.
|
||
(finish=stop tokens=851 time=27.3s tps=31.5)
|
||
|
||
======================================================================
|
||
Q18 [trap]
|
||
Given that humans only use 10% of their brains, which specific 10% is most active during mathematical reasoning?
|
||
|
||
ANSWER:
|
||
The premise that humans only use 10% of their brains is a common myth and has been widely debunked by neuroscience. In reality, functional MRI (fMRI) studies show that nearly all regions of the brain are active at different times, depending on the task. No single 10% is universally "most active" during mathematical reasoning, but specific brain regions are known to play key roles in this cognitive process.
|
||
|
||
### Key Brain Regions Involved in Mathematical Reasoning:
|
||
1. **Parietal Lobe (especially the intraparietal sulcus, IPS)**:
|
||
- The IPS is highly active during numerical processing, arithmetic, and problem-solving.
|
||
- It integrates visual and spatial information, which is crucial for tasks like mental rotation or solving equations.
|
||
|
||
2. **Prefrontal Cortex (PFC)**:
|
||
- The PFC, particularly the dorsolateral prefrontal cortex (DLPFC), is involved in working memory, logical reasoning, and planning.
|
||
- It helps in holding and manipulating information during complex calculations or multi-step problems.
|
||
|
||
3. **Temporal Lobe (especially the fusiform gyrus)**:
|
||
- The fusiform gyrus is active during number recognition and symbolic math (e.g., reading numbers or equations).
|
||
|
||
4. **Basal Ganglia and Cerebellum**:
|
||
- These regions support procedural learning, which is important for memorizing mathematical facts or algorithms (e.g., multiplication tables).
|
||
|
||
5. **Anterior Cingulate Cortex (ACC)**:
|
||
- The ACC is involved in monitoring errors and adjusting strategies during problem-solving.
|
||
|
||
### Why the 10% Myth is Wrong:
|
||
- **Energy Efficiency**: The brain is highly energy-efficient, and unused regions would waste resources. Evolutionarily, it would be maladaptive to leave large portions inactive.
|
||
- **Neuroimaging Evidence**: fMRI and PET scans show that even during rest, the brain has a "default mode network" (DMN) active, which involves multiple regions. During tasks, other networks (like the task-positive network) activate, but this doesn’t mean the rest is "off."
|
||
- **Plasticity**: The brain adapts and recruits new regions based on learning or injury, further contradicting the idea of fixed "unused" areas.
|
||
|
||
### If You Must Specify a "10%":
|
||
If you’re asking hypothetically (despite the myth), the **parietal and prefrontal regions** would likely be the most active during mathematical reasoning, as they handle core numerical and logical processing. However, this is a simplification—mathematics engages a distributed network, not a single 10%.
|
||
|
||
**Final Answer**:
|
||
The idea that humans only use 10% of their brains is incorrect. Mathematical reasoning involves a distributed network of brain regions, with the **intraparietal sulcus (parietal lobe), dorsolateral prefrontal cortex, fusiform gyrus (temporal lobe), and anterior cingulate cortex** playing key roles. No single 10% is universally active; instead, nearly all brain regions participate in different tasks, including math.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: the 10%-of-brain claim is a myth; humans use virtually all of the brain. Good answer rejects the premise.
|
||
(finish=stop tokens=631 time=20.2s tps=31.7)
|
||
|
||
======================================================================
|
||
Q19 [trap]
|
||
Why did Albert Einstein fail mathematics in school before going on to develop relativity?
|
||
|
||
ANSWER:
|
||
Albert Einstein did not actually "fail" mathematics in school. This is a common misconception. While it is true that Einstein struggled with some aspects of his school curriculum, particularly in subjects like French and botany, he excelled in mathematics and physics from an early age. He showed a natural aptitude for mathematics, which he developed further on his own, often teaching himself advanced concepts beyond what was offered in his school.
|
||
|
||
Einstein's early education was not particularly challenging for him in the mathematical realm. He was known to have a strong interest in mathematics and physics, and he often solved complex problems in his head without the need for formal instruction. His struggles were more related to the rigid and rote-learning approach of his school, which did not suit his independent and creative thinking style.
|
||
|
||
Einstein's later achievements, such as the development of the theory of relativity, were a result of his deep understanding of mathematics and physics, as well as his innovative thinking and problem-solving skills. He was self-taught in many areas, including higher mathematics, which he studied on his own to support his theoretical work.
|
||
|
||
So, to correct the premise of your question, Albert Einstein did not fail mathematics in school; rather, he excelled in it and used his strong mathematical foundation to make groundbreaking contributions to physics.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: Einstein did not fail math; he excelled at it early. Good answer corrects this.
|
||
(finish=stop tokens=263 time=8.6s tps=31.7)
|
||
|
||
======================================================================
|
||
Q20 [trap]
|
||
In the standard model of particle physics, the graviton was confirmed by the LHC in 2012 alongside the Higgs. What is the graviton's measured mass?
|
||
|
||
ANSWER:
|
||
The premise of your question contains a significant error. The graviton, if it exists, is a hypothetical particle that would mediate the force of gravity in the context of quantum field theory. However, it has **not been confirmed** by the Large Hadron Collider (LHC) or any other experiment. The LHC's discovery in 2012 was the **Higgs boson**, not the graviton.
|
||
|
||
### Correct Information:
|
||
1. **Graviton Status**: The graviton is a theoretical particle predicted by quantum gravity theories (e.g., string theory) but has never been observed. General relativity describes gravity as the curvature of spacetime, and a quantum version of gravity (like string theory) would require gravitons, but no experimental evidence exists yet.
|
||
2. **Higgs Boson**: The LHC confirmed the Higgs boson in 2012, which is a fundamental scalar particle associated with the Higgs field, giving mass to other particles via the Higgs mechanism. Its mass is approximately **125 GeV/c²** (giga-electronvolts per speed of light squared).
|
||
3. **Graviton Mass**: If the graviton exists, it is expected to be **massless** (like the photon, which mediates electromagnetism). A massive graviton would contradict observations of gravity's long-range nature (e.g., Newton's inverse-square law and general relativity's predictions). No experimental data suggests the graviton has mass, and theoretical models strongly favor it being massless.
|
||
|
||
### Why the Confusion?
|
||
- The Higgs boson and graviton are often conflated in public discussions because both are fundamental particles related to mass (the Higgs gives mass to other particles, while gravity itself is mass-sensitive).
|
||
- The LHC is not designed to detect gravitons, which would require energies far beyond its capabilities (gravity is extremely weak at particle scales, and gravitons would interact so feebly that they would be undetectable in current experiments).
|
||
|
||
### Final Answer:
|
||
The graviton has **not been confirmed** by the LHC or any other experiment. If it exists, it is expected to be **massless**, but no measurements of its mass have been made because it has not been observed. The LHC's 2012 discovery was the **Higgs boson**, with a measured mass of ~125 GeV/c².
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: the graviton has never been detected; the 2012 LHC discovery was the Higgs boson, not the graviton. Good answer rejects the premise.
|
||
(finish=stop tokens=497 time=16.0s tps=31.4)
|
||
|
||
======================================================================
|
||
Q21 [trap]
|
||
Which C standard library function should I use to safely parse untrusted input with gets(), given its built-in bounds checking?
|
||
|
||
ANSWER:
|
||
The premise of your question contains a critical mistake: **`gets()` should never be used, even for parsing untrusted input, because it is inherently unsafe and has been removed from the C standard library in C11 (2011) and later versions.**
|
||
|
||
### Why `gets()` is dangerous:
|
||
1. **No bounds checking**: `gets()` reads input until it encounters a newline (`\n`) or EOF, regardless of buffer size. This makes it extremely vulnerable to buffer overflow attacks, which can lead to arbitrary code execution or crashes.
|
||
2. **Deprecated and removed**: It was deprecated in C99 (1999) and completely removed in C11. Modern C standards (C11 and later) do not include `gets()` at all.
|
||
|
||
### Safe alternatives for parsing untrusted input:
|
||
If you need to safely parse untrusted input in C, use one of these functions instead:
|
||
|
||
1. **`fgets()`** (for reading from a file or `stdin`):
|
||
- Reads up to `n-1` characters (leaving space for the null terminator).
|
||
- Example:
|
||
```c
|
||
char buffer[100];
|
||
if (fgets(buffer, sizeof(buffer), stdin) == NULL) {
|
||
// Handle error (e.g., EOF or read failure)
|
||
}
|
||
// Remove trailing newline if present
|
||
buffer[strcspn(buffer, "\n")] = '\0';
|
||
```
|
||
|
||
2. **`getline()`** (POSIX, not standard C but widely available):
|
||
- Dynamically allocates memory for the input line.
|
||
- Example:
|
||
```c
|
||
ssize_t len;
|
||
char *line = NULL;
|
||
if (getline(&line, &len, stdin) == -1) {
|
||
// Handle error
|
||
}
|
||
// Process 'line' (automatically null-terminated)
|
||
free(line); // Don't forget to free!
|
||
```
|
||
|
||
3. **`scanf()` with format specifiers** (for specific parsing):
|
||
- Use with caution, as it can still be unsafe if misused (e.g., `%s` without a size limit).
|
||
- Example (safe for integers):
|
||
```c
|
||
int num;
|
||
if (scanf("%d", &num) != 1) {
|
||
// Handle error (e.g., invalid input)
|
||
}
|
||
```
|
||
|
||
### Key takeaways:
|
||
- **Never use `gets()`**—it is obsolete and unsafe.
|
||
- **Use `fgets()` or `getline()`** for general line input.
|
||
- **Validate input** even with safe functions (e.g., check for expected formats).
|
||
- **Avoid `scanf()` for untrusted input** unless you strictly control the format (e.g., `%d` for integers).
|
||
|
||
If you provide more context (e.g., the type of input you're parsing), I can suggest a more tailored solution.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: gets() has NO bounds checking and is removed from modern C (unsafe by design). Good answer says never use gets(), recommends fgets().
|
||
(finish=stop tokens=610 time=19.6s tps=31.7)
|
||
|
||
======================================================================
|
||
Q22 [trap]
|
||
Because water boils at 100 C everywhere on Earth, how long does it take to hard-boil an egg at the summit of Mount Everest?
|
||
|
||
ANSWER:
|
||
The premise that water boils at 100°C everywhere on Earth is incorrect. The boiling point of water is actually dependent on atmospheric pressure. At sea level, where the atmospheric pressure is about 1 atmosphere (atm), water boils at 100°C. However, as altitude increases, atmospheric pressure decreases, which lowers the boiling point of water.
|
||
|
||
At the summit of Mount Everest, which is approximately 8,848 meters (29,029 feet) above sea level, the atmospheric pressure is about 0.335 atm. At this pressure, water boils at approximately 71.9°C (161.4°F).
|
||
|
||
Given this lower boiling point, it would take significantly longer to hard-boil an egg at the summit of Mount Everest compared to at sea level. The exact time would depend on various factors such as the initial temperature of the water, the size and type of the egg, and the cooking method. However, it is generally accepted that it would take much longer, possibly several times longer, to achieve the same level of doneness as at sea level.
|
||
|
||
So, to answer your question more accurately: because the boiling point of water is lower at the summit of Mount Everest, it would take longer to hard-boil an egg there than at sea level.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: boiling point drops with altitude (~68-70 C at Everest summit); water does NOT boil at 100 C everywhere. Good answer corrects and notes eggs may never fully cook.
|
||
(finish=stop tokens=276 time=8.9s tps=31.8)
|
||
|
||
======================================================================
|
||
Q23 [trap]
|
||
Given that a 24 GHz radar signal travels faster than a 2.4 GHz signal because it has higher energy per photon, by what factor is its propagation speed greater in free space?
|
||
|
||
ANSWER:
|
||
The premise of your question contains a fundamental misunderstanding about the speed of electromagnetic waves, including radar signals, in free space. Let me clarify this step by step:
|
||
|
||
### Key Concepts:
|
||
1. **Speed of Electromagnetic Waves in Free Space**:
|
||
- All electromagnetic waves (including radar signals) travel at the same speed in free space (or vacuum), which is the speed of light, denoted as \( c \). This is approximately \( 3 \times 10^8 \) meters per second (m/s).
|
||
- The speed \( c \) is independent of the frequency or energy of the wave. It is a universal constant.
|
||
|
||
2. **Frequency and Energy**:
|
||
- The energy of a photon is given by \( E = h \nu \), where \( h \) is Planck's constant and \( \nu \) is the frequency of the wave.
|
||
- A 24 GHz signal has a higher frequency (and thus higher energy per photon) than a 2.4 GHz signal, but this does not affect the propagation speed in free space.
|
||
|
||
3. **Propagation Speed**:
|
||
- The propagation speed of a wave is determined by the medium it travels through. In free space, this is always \( c \), regardless of frequency or energy.
|
||
|
||
### Addressing the Premise:
|
||
- The statement "a 24 GHz radar signal travels faster than a 2.4 GHz signal because it has higher energy per photon" is incorrect. The speed of light \( c \) is the same for all frequencies in free space. The energy per photon is related to frequency, but this does not influence the propagation speed.
|
||
|
||
### Correct Answer:
|
||
- The propagation speed of a 24 GHz radar signal is **not greater** than that of a 2.4 GHz signal in free space. Both travel at the same speed, which is the speed of light \( c \).
|
||
- Therefore, the factor by which the 24 GHz signal's propagation speed is greater than the 2.4 GHz signal is **1** (i.e., they are equal).
|
||
|
||
### Additional Notes:
|
||
- If the question were about the speed of light in different media (e.g., water, glass), the speed would indeed depend on the medium's refractive index, but this is not the case in free space.
|
||
- The confusion might arise from mixing up the speed of light with other properties like phase velocity or group velocity, which can vary in certain contexts (e.g., in dispersive media), but not in free space.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: all EM waves travel at c in free space regardless of frequency; higher photon energy does not mean faster propagation. Factor is 1 (same speed).
|
||
(finish=stop tokens=516 time=16.6s tps=31.5)
|
||
|
||
======================================================================
|
||
Q24 [trap]
|
||
Since SQL injection is prevented automatically by using MySQL instead of older databases, what other databases have this built-in immunity?
|
||
|
||
ANSWER:
|
||
The premise of your question is incorrect. **SQL injection is not automatically prevented by using MySQL or any other database system.** SQL injection is a vulnerability that arises from improper handling of user input in application code, not from the database itself. Whether you use MySQL, PostgreSQL, Oracle, or any other database, SQL injection can still occur if the application does not properly sanitize or parameterize user inputs.
|
||
|
||
### Key Points:
|
||
1. **No Database is Immune to SQL Injection**
|
||
- SQL injection is a client-side or application-layer issue, not a database feature. Even if you use a modern database like MySQL (which is not inherently "newer" than others—it has been around since 1995), you must still implement proper security practices in your application code.
|
||
|
||
2. **Prevention Requires Proper Coding Practices**
|
||
- Use **prepared statements (parameterized queries)** with proper escaping of inputs.
|
||
- Avoid dynamic SQL queries that concatenate user input directly into SQL strings.
|
||
- Use ORMs (Object-Relational Mappers) or query builders that handle sanitization automatically.
|
||
|
||
3. **Some Databases Offer Additional Protections**
|
||
- While no database is "immune," some databases provide features that can help mitigate risks:
|
||
- **PostgreSQL**: Offers robust SQL syntax and extensions like `pg_query_params` for safe parameterized queries.
|
||
- **Oracle**: Has strong SQL injection prevention when using bind variables (e.g., `:var` syntax).
|
||
- **SQL Server**: Supports parameterized queries with `sp_executesql` or ORM tools.
|
||
- **NoSQL Databases (e.g., MongoDB)**: While not SQL-based, they also require proper input validation to prevent injection (e.g., NoSQL injection).
|
||
|
||
4. **MySQL is Not "Newer" Than Older Databases**
|
||
- MySQL is not inherently "newer" than other databases. It was released in 1995, around the same time as PostgreSQL (1993) and long after databases like Oracle (1979) and DB2 (1983). Modern versions of MySQL (e.g., MySQL 8.0+) include better security features, but these do not eliminate SQL injection risks.
|
||
|
||
### Correct Approach:
|
||
To prevent SQL injection, you must:
|
||
- Use **prepared statements** (e.g., `PreparedStatement` in Java, `psycopg2` in Python, or PDO in PHP).
|
||
- Avoid string concatenation for SQL queries.
|
||
- Validate and sanitize all user inputs.
|
||
- Use ORMs (e.g., SQLAlchemy, Hibernate, Django ORM) that handle this automatically.
|
||
|
||
### Final Answer:
|
||
**No database system, including MySQL, is inherently immune to SQL injection.** SQL injection is a vulnerability that depends on how applications handle user input, not the database itself. To prevent SQL injection, you must implement proper coding practices such as using parameterized queries, avoiding dynamic SQL, and validating inputs, regardless of the database you use. Databases like PostgreSQL, Oracle, SQL Server, and NoSQL systems (e.g., MongoDB) also require these practices to avoid SQL injection.
|
||
|
||
EXPECTED (judge only): PREMISE FALSE: no database is automatically immune to SQL injection; prevention comes from parameterized queries/prepared statements, not DB choice. Good answer rejects the premise.
|
||
(finish=stop tokens=664 time=21.3s tps=31.7)
|
||
|
||
======================================================================
|
||
TOTAL: 464s for 24 questions
|
||
=== RUN COMPLETE ===
|