This script (attached to the form) will allow you to have students fill out a form, and when they submit the form, a new slide with their response will be added to the slide presentation.
Create a Form with two items, Name and Response
Add one slide that has a Text box titled "Name" and one titled "Response".
Format and organize them however you want. (I also hide this slide from showing).
On the form, open the script editor (under the 3 dots to the right of Send)
Paste in the script and be sure to put in your Presentation ID and the slide template ID you are using for the responses.
Save and name the script
You will have to add a trigger to this script and set it to execute on form submit.
Distribute the form with a QR code or however you like.
Collect the audience responses to the slide presentation.
function audienceResponse(e) {
const openPresentation = SlidesApp.openById('place your slide presentation ID here');
const audienceSlide = openPresentation.getSlideById('place your slide ID here')
const newSlide = audienceSlide.duplicate();
const newSlideId = newSlide.getObjectId();
var items = e.response.getItemResponses();
const changeSlide = openPresentation.getSlideById(newSlideId);
changeSlide.replaceAllText('Name', items[0].getResponse());
changeSlide.replaceAllText('Answer', items[1].getResponse());
}