I have recently found this answer https://assignment.essayshark.com/blog/sql-simple-examples-database/. Then provided me with a ready assignment in a very short period of time.
Answer:
The following code is:
do // set do while loop
{
response = stdin.next();
}
while (response != "Y" || response != "y" || response != "N" || response != "n");
// terminate do while loop
Explanation:
The following code starts with do while loop whose variables has already declared and then we assume the availability of the variable "stdin" which references the Scanner object and write some code to execute inside the do-while loop.
The answer that isn't an example of plagiarism would be 'D. Quoting with Source' that means you are giving credit where credit is due and not taking or copying other work which is the definition of plagiarism.
I'm not sure about the second one but I believe it might be 'A. Students and Teachers'.
Hope this helped!