Final answer:
The probability that all 6 goody bags discovered during first period were hidden in the computer lab is approximately 0.7778.
Step-by-step explanation:
The probability that all 6 goody bags discovered during first period were hidden in the computer lab can be calculated by dividing the number of favorable outcomes (6 goody bags hidden in the computer lab) by the number of possible outcomes (total number of goody bags hidden).
Out of the 9 goody bags hidden, 7 were hidden in the computer lab. So, the number of favorable outcomes is 7. The total number of possible outcomes is 9.
Therefore, the probability is 7/9, which is approximately 0.7778 when rounded to four decimal places.