'; for (var i = 0; i < quiz.length; i++) { if (quiz[i].isCorrect()) correct++; } var score = Math.round((correct / quiz.length) * 100); correctPage += 'Score: ' + score + ' %'; if (correct < quiz.length) { correctPage += ifWrong; for (var i = 0; i < quiz.length; i++) { if (!quiz[i].isCorrect()) { correctPage += (i + 1) + '. ' + quiz[i].userChoices[quiz[i].correctAnswer] + '
'; } } } else correctPage += ifAced; correctPage += ''; correctwin = window.open ('', '', 'height=300,width=300,scrollbars=yes'); if (correctwin.opener == null) correctwin.opener = window; correctwin.location = 'javascript:opener.correctPage'; } // Message to display if quiz is aced. var ifAced = "

Well done, all the answers are correct!

"; // Message to display if any are wrong. var ifWrong = "

Here are the correct answers to the questions you got wrong:

"; // Create four question objects... quiz = new makeArray(10); quiz[0] = new makeQuestion("How high is it?", 1, //Wich answer is right. 0= first, 1= second etc. "378 feet", "450 feet", "620 feet"); quiz[1] = new makeQuestion("It was the tallest building in the world until", 1, "16th century", "19th century", "1922"); quiz[2] = new makeQuestion("Who decides to look for the treasure of Khufu in 820 A.D.?", 2, "Thoran the Great", "Michalel Colton", "Arab Caliph Abdullah Al Manum"); quiz[3] = new makeQuestion("When was the narrow shaft, hidden in the wall, that connected the Grand Gallery with the descending passage discovered?", 0, "1638", "1683", "1838"); quiz[4] = new makeQuestion("Some have suggested that the pyramid was never meant as a tomb, but as an/a", 1, "giant altar for the gods", "astronomical observatory", "place to perform sacrifices"); quiz[5] = new makeQuestion("What happened to Khufu's mummy and treasure?", 2, "thieves stole it", "it is safely put away in museums", "nobody really knows"); quiz[6] = new makeQuestion("It is composed of how many blocks of stone?", 2, "~500,000", "4,030,000", "2,300,000"); quiz[7] = new makeQuestion("In the King's Chamber, there was an/a", 0, "huge granite sarcophagus without a lid", "huge granite sarcophagus with a lid", "a mummy"); quiz[8] = new makeQuestion("Who stripped the pyramid of it's fine white limestone casing and used it for building in Cairo?", 1, "The Romans", "The Arabs", "The Greecs"); quiz[9] = new makeQuestion("The Great Pyramid is", 0, "Still in Egypt", "destroyed", "in a museum in London"); // --> Take this quiz to test your knowledge of the Pyramid of Egypt!

Correct Quiz

Click here to start again