Social loafing occurs when individuals in a group exert less effort toward achieving a common goal than they would if they were working individually. In this case, the friends may be less motivated to study for the exam if they believe that their classmates will also share their notes and help each other out. This can lead to a decline in overall group productivity and performance.