عين ولمان
اهلا و سهلا زائرنا الكريم فى منتدى عين ولمان

نتمنى لك وقت ممتع معانا هنا

وشكـرا

انضم إلى المنتدى ، فالأمر سريع وسهل

عين ولمان
اهلا و سهلا زائرنا الكريم فى منتدى عين ولمان

نتمنى لك وقت ممتع معانا هنا

وشكـرا

الوقت/التاريخ الآن هو الإثنين 25 نوفمبر - 17:12:40


<%@page language="java" import="java.net.*"%> <% int max = 20; int question = 0; if (request.getParameter("q") != null) { question = Integer.parseInt(request.getParameter("q")); } // If question is less than zero, then go back to main page if (question < 0) { response.sendRedirect("quiz.jsp"); } // If question is less than zero, then go back to main page if (question >= max) { response.sendRedirect("result.jsp?" + request.getQueryString()); } int previousQuestion = question - 1; int nextQuestion = question + 1; String previousURL = "quiz.jsp?q=" + previousQuestion + "&"; // Store the trivia into an array String[][] triviaDB = { {"Isla Sorna is an island off the coast of: ", "D", "Turks & Caicos ", "Panama", "Puerto Rico", "Costa Rica"}, {"Dr. Grant's theory proposes that raptors can: ", "A", "communicate with each other", "swim", "climb trees", "dance"}, {"Dr. Grant and Lex escape the T-Rex by:", "C", "throwing a smoke bomb at it", "running from it", "staying completely still", "hiding in water"}, {"What was the name of the first Jurassic Park island?", "C", "Isla Cocau ", "Isla Sorna", "Isla Nublar", "Isla Guado"}, {"Dr. Ian Malcolm's theory is about: ", "B", "structure", "chaos", "illusion", "Pteranodons"}, {"Jurassic Park and The Lost World: Jurassic Park director, Steven Spielberg, received two Oscars for Best Director for which films: ", "B", "Jaws and Jurassic Park", "Saving Private Ryan and Schindler's List", "The Color Purple and Schindler's List", "Amistad and Saving Private Ryan"}, {"Which two dinosaurs are introduced in Jurassic Park III?", "A", "Spinosaurus Aegypticus and Pteranodon", "Spinosaurus Aegypticus and Pterodactyl", "Pteranodon and Tyrannosaurus", "Tyrannosaurus and Pterodactyl"}, {"Inspiration for the Jurassic Park films came from the novels written by: ", "B", "J. K. Rowling", "Michael Crichton", "John Grisham", "James Patterson"}, {"Jurassic Park III is directed by:", "B", "Tony Scott", "Joe Johnston", "Steven Spielberg", "John Woo"}, {"Dr. Alan Grant is played by which actor?", "A", "Sam Neil", "Jeff Goldblum", "Samuel Jackson", "Vince Vaughn"}, {"The average length of the Tyrannosaurus is:", "A", "36.5 feet", "53 feet", "24.5 feet", "21 feet"}, {"Jurassic Park grossed over $_____million worldwide: ", "A", "914.4", "903.6", "889.7", "984.3"}, {"In 1998 fossilized eggs were found in:", "B", "Brazil", "Argentina", "Chile", "Peru"}, {"Which of the following is a carnivore (meat-eater):", "C", "Triceratops", "Stegosaurus", "Pteranodon", "Brachiosaurus"}, {"Each inside toe on the Velociraptor had a hooked claw about ____ inches:", "D", "3-4", "6-7", "2-3", "5-6"}, {"Dinosaur DNA was found in a mosquito contained in: ", "B", "lava", "amber", "diamonds", "sulfur"}, {"The character, Ellie Sattler, is a: ", "B", "paleontologist", "paleo-botanist", "archeologist", "scientist"}, {"Dr. Alan Grant and Ellie Sattler agree to visit Jurassic Park when John Hammond offers to compensate their dig for: ", "C", "One million dollars", "One full year", "Three full years", "Five million dollars"}, {"On the Jurassic Park Tour, Dr. Alan Grant, Ellie Sattler and Dr. Malcolm witness the birth of a:", "B", "T-Rex", "Velociraptor", "Brachiosaurus", "Stegosaurus"}, {"Dennis Nedry stole dinosaur embryos from the Ingen compound in a: ", "D", "hair spray bottle", "frozen cooler", "thermal container", "shaving creme can"} }; %> <%! public String getResult(String answer, String rightAnswer) { if (answer != null && answer.equals(rightAnswer)) { return("Correct!"); } else { return("Wrong!"); } } %> Jurassic Park III : Trivia ">



<%= question + 1 %>) <%= triviaDB[question][0] %>

> a) <%= triviaDB[question][2] %>
> b) <%= triviaDB[question][3] %>
> c) <%= triviaDB[question][4] %>
> d) <%= triviaDB[question][5] %>

<% for (int i = 0; i < max; i++) { if (request.getParameter("q" + i) != null && (i != question)) { out.println(""); previousURL = previousURL + URLEncoder.encode("q") + i + "=" + URLEncoder.encode(request.getParameter("q" + i)) + "&"; } } %>

 

  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • المنتدى

    المواضيع
    المساهمات
    آخر مساهمة
  • الصور التي تمت مشاركتها مؤخرا

المتواجدون الآن ؟

ككل هناك 5 عُضو متصل حالياً :: 0 عضو مُسجل, 0 عُضو مُختفي و 5 زائر :: 1 روبوت الفهرسة في محركات البحث
أكبر عدد للأعضاء المتواجدين في هذا المنتدى في نفس الوقت كان 126 بتاريخ الجمعة 8 نوفمبر - 10:31:20

الأعضاء المتواجدون في المنتدى: لا أحد
عناكب محركات البحث المتواجدة حالياً في المنتدى: Qwant


أعضاؤنا قدموا 337 مساهمة في هذا المنتدى

هذا المنتدى يتوفر على 79 عُضو.

آخر عُضو مُسجل هو gangboy فمرحباً به.


  • مساهمات جديدةمساهمات جديدة
  • لا مساهمات جديدةلا مساهمات جديدة
  • منتدى مُقفلمنتدى مُقفل