Which of the following would be considered plagiarism?

copying a friend’s paper

using an online paper

using data without a reference

all of the above

this is about research :)