To find out how many times higher the number of library visits before the examination day is compared to the average weekly visits, we need to divide the total visits during the two-week period by the average weekly visits.
- Total visits in two weeks: \( 2 \times 10^3 = 2000 \) visits
- Average weekly visits: \( 5 \times 10^2 = 500 \) visits
Now, we calculate the ratio:
\[ \text{Ratio} = \frac{\text{Total visits in two weeks}}{\text{Average weekly visits}} = \frac{2000}{500} \]
Calculating this gives:
\[ \text{Ratio} = 4 \]
Thus, the number of library visits before examination day is 4 times higher than the average weekly visits.