JavaScript
var questions=
[
["What is 1+1","3","2","5","11","B"],
["What is 10+10","12","13","20","100","C"],
["What is 3+2","5","32","56","28","A"],
["what is 1-1","1","20","4","0","D"],
["what is 0-1","1","20","4","-1","D"],
["who is loky","thor's brother","the hulk","thanos","none","A"],
["what is a whale","mammal","fish","bird","insect","A"],
["what is a shark","mammal","fish","bird","insect","A"],
["what is a pc","personal computer","pass check","program counter","prime combo","A"],
["what is the 3mod2","1","2","3","none","A"],
["what is the color of the sky","red","blue","white","green","B"],
["who was the first man on the moon","neil armstrong","bruce willis","john travolta","rocco siffredi","A"],
["what is the name of this website","Dino era","Dino bots","Dino hunter","Dino crisis","A"],
["what is the name of the developper of dino era","Brandon","harold","Kersley","Jane","C"],
["who is optimus prime","president of us","leader of autobots","a common man","your dad","B"],
["what are the power rangers","bunch of faggots","teletubbies","superheroes","don't know","C"],
["who is goku","dbz character","teletubbies","soul eater character","death note character","A"],
["how many star wars movies are there","2","3","7","6","D"],
["what is the weapon that rebels destroyed in starwars, a new hope","death cannon","death star","death creator","lord of death","B"],
["what is the opposite of a jedi","storm troopers","emperor","sith","ti-fighter","C"]
];
var subset = select(10,questions);
outputQuestions(subset);
function select(n,qarray) {
var subset = [];
for(i=0;i<n;i++) {
randomIdx = Math.floor(Math.random()*(qarray.length));
subset[subset.length] = qarray[randomIdx];
qarray.splice(randomIdx, 1);
}
return subset;
}
function outputQuestions(subset) {
for(k in...