Click here to Skip to main content
15,498,859 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want different students to answers different questions from the questions bank or database

What I have tried:

Planning on developing the project.
Posted
Updated 20-Aug-21 22:22pm

Yes.
Yes it is.

This may help you get started: Random (Java Platform SE 8 )[^]
 
Share this answer
 
Quote:
Is it possible to use java (netbean) to develop a computer based test that will select questions randomly

Yes, it is possible.
It is so basic operations, that it is possible on about any platform and any language you choose.
The only trick is as you don't want to ask the same question 2 times, you don't pick randomly the question, you need to use shuffling to ensure this constraint.
Fisher–Yates shuffle - Wikipedia[^]
Shuffle a given array using Fisher–Yates shuffle Algorithm - GeeksforGeeks[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900