you can using this, but user can save the answer in paste keyboard…
As long as the device is owned by the student, we cannot do anything.
The latest technological developments are very fast but do not allow us to stop them from exploring Android, many applications can edit the manifest.xml of an application on phone. but from google there has never been anything that can protect against editing so this feature will be a little difficult to have.
i was used this for 3 years… from android 9 to android 13.