//questions_tech1.js = Javascript File containing questions (category tech1)

function GenerateRandomQuestion(){
  QuestionNumber = (QuestionSet*5)+Math.floor(Math.random()*5)+1;

  switch(QuestionNumber){
    case 1:
	CorrectAnswer     =  1;
	RandomQuestion = "What does the acronym HTML stand for?";
  	Choice1Text         = "Hyper Text Markup Language";
  	Choice2Text         = "Horizontal Text Machine Learning";
  	Choice3Text         = "High Tech Machine Language";
     	 break;

     case 2:
	CorrectAnswer     =  2;
	RandomQuestion = "How many bits are in a byte?";
  	Choice1Text         = "two";
  	Choice2Text         = "eight";
  	Choice3Text         = "sixty-four";
     	 break;

    case 3:
	CorrectAnswer     =  3;
	RandomQuestion = "Which of the following is Javascript?";
  	Choice1Text         = "a more advanced version of Java";
  	Choice2Text         = "a server side language";
  	Choice3Text         = "a client side language";
     	 break;

    case 4:
	CorrectAnswer     =  1;
	RandomQuestion = "Which of the following companies reported the largest amount of revenue in 2007?";
  	Choice1Text         = "IBM";
  	Choice2Text         = "Google";
  	Choice3Text         = "Apple";
     	 break;
    case 5:
	CorrectAnswer     =  2;
	RandomQuestion = "Which of the following companies had most popular search engine in 2008?";
  	Choice1Text         = "Yahoo";
  	Choice2Text         = "Google";
  	Choice3Text         = "neither";
     	 break;

    case 6:
	CorrectAnswer     =  3;
	RandomQuestion = "What is Microsoft Visual Foxpro?";
  	Choice1Text         = "a new version of the Windows operating system slated for 2015";
  	Choice2Text         = "a verticle market software application designed for companies running fox hunts";
  	Choice3Text         = "a database programming language/environment";
     	 break;

    case 7:
	CorrectAnswer     =  1;
	RandomQuestion = "Which of the following would be a typical amount of random access memory for a personal computer circa 2008?";
  	Choice1Text         = "two gigabytes";
  	Choice2Text         = "640k";
  	Choice3Text         = "eight terabytes";
     	 break;

    case 8:
	CorrectAnswer     =  2;
	RandomQuestion = "What is Everquest?";
  	Choice1Text         = "a version of the Linux operating sytem";
  	Choice2Text         = "a massively multiplayer online role-playing game";
  	Choice3Text         = "a high-end sound digital sound card";
     	 break;

    case 9:
	CorrectAnswer     =  3;
	RandomQuestion = "What type of printer was the Citizen MSP-10?";
  	Choice1Text         = "laser";
  	Choice2Text         = "thermal";
  	Choice3Text         = "dot matrix";
     	 break;

    case 10:
	CorrectAnswer     =  1;
	RandomQuestion = "Which does the acronym DOS stand for";
  	Choice1Text         = "Disk Operating System";
  	Choice2Text         = "Dynamic Organic Statistics";
  	Choice3Text         = "Denver Operating System";
     	 break;

    case 11:
	CorrectAnswer     =  2;
	RandomQuestion = "What is the name of the person generally considered to be the author of the Linux operating system?";
  	Choice1Text         = "Linus Tortelli";
  	Choice2Text         = "Linus Torvalds";
  	Choice3Text         = "Leonard Nimoy";
     	 break;

    case 12:
	CorrectAnswer     =  3;
	RandomQuestion = "Which of the following is considered to be the lowest level language?";
  	Choice1Text         = "Fortran";
  	Choice2Text         = "BASIC";
  	Choice3Text         = "assembly language";
     	 break;

    case 13:
	CorrectAnswer     =  1;
	RandomQuestion = "What do the letters in the acronym RGB stand for?";
  	Choice1Text         = "Red Green Blue";
  	Choice2Text         = "Really Good Bitrate";
  	Choice3Text         = "Redmond Giant Behemoth";
     	 break;

    case 14:
	CorrectAnswer     =  2;
	RandomQuestion = "What information would a measurement of 'baud rate' typically convey";
  	Choice1Text         = "how quickly a screen refreshes";
  	Choice2Text         = "how fast a modem is";
  	Choice3Text         = "the speed of a computers random access memory";
     	 break;

    case 15:
	CorrectAnswer     =  3;
	RandomQuestion = "What was the Commodore-64?";
  	Choice1Text         = "a specialized graphics chip for the Apple Macintosh line of computers";
  	Choice2Text         = "a spreadsheet";
  	Choice3Text         = "an early personal computer";
     	 break;

    case 16:
	CorrectAnswer     =  1;
	RandomQuestion = "Which two individuals founded Microsoft Corporation?";
  	Choice1Text         = "Bill Gates and Paul Allen";
  	Choice2Text         = "Bill Gates and Steve Jobs";
  	Choice3Text         = "Dave Thompson and Steven Lee";
     	 break;

    case 17:
	CorrectAnswer     =  2;
	RandomQuestion = "What does the acronym DSL stand for?";
  	Choice1Text         = "Dynamic Standard Language";
  	Choice2Text         = "Digital Subscriber Line";
  	Choice3Text         = "Dynamic Software Library";
     	 break;

    case 18:
	CorrectAnswer     =  3;
	RandomQuestion = "What is a 'bit'";
  	Choice1Text         = "a small robot";
  	Choice2Text         = "a library component of a programming language";
  	Choice3Text         = "a binary digit";
     	 break;

    case 19:
	CorrectAnswer     =  1;
	RandomQuestion = "What does the acronym RAM represent?";
  	Choice1Text         = "Random Access Memory";
  	Choice2Text         = "Ruth Ann Microsoft";
  	Choice3Text         = "Random Asynchronous Multitasking";
     	 break;

    case 20:
	CorrectAnswer     =  2;
	RandomQuestion = "What do the letter in IBM stand for?";
  	Choice1Text         = "International Bidirectional Machines";
  	Choice2Text         = "International Business Machines";
  	Choice3Text         = "Internal Bidirectional Mutations";
     	 break;

     case 21:
	CorrectAnswer     =  3;
	RandomQuestion = "What was the Osborne 1?";
  	Choice1Text         = "a research effort to develop faster processors";
  	Choice2Text         = "the first dot matrix printer";
  	Choice3Text         = "an early portable computer";
     	 break;

    case 22:
	CorrectAnswer     =  1;
	RandomQuestion = "Adam Osborne is known for which of the following?";
  	Choice1Text         = "being the founder of Osborne Computers";
  	Choice2Text         = "helping to found Microsoft Corporation (along with Bill Gates)";
  	Choice3Text         = "inventing the integrated circuit";
     	 break;

    case 23:
	CorrectAnswer     =  2;
	RandomQuestion = "Lotus 123 was a popular";
  	Choice1Text         = "word processing program";
  	Choice2Text         = "spreadsheet";
  	Choice3Text         = "database";
     	 break;

    case 24:
	CorrectAnswer     =  3;
	RandomQuestion = "The statement 'GOSUB 2000' would most likely be found in variants of which of the following languages?";
  	Choice1Text         = "C++";
  	Choice2Text         = "Javascript";
  	Choice3Text         = "BASIC";
     	 break;

    case 25:
	CorrectAnswer     =  1;
	RandomQuestion = "Which of the following movies deals with technology turning on humans?";
  	Choice1Text         = "2001: A Space Odyssey";
  	Choice2Text         = "The Terminator";
  	Choice3Text         = "both of them";
     	 break;

  case 26:
	CorrectAnswer     =  2;
	RandomQuestion = "What do the letters in the acronym COBOL stand for?";
  	Choice1Text         = "Computer Optimal Backup Optimizing Lan";
  	Choice2Text         = "COmmon Business Oriented Language";
  	Choice3Text         = "Computational Output Bayesian Object Library";
     	 break;

  case 27:
	CorrectAnswer     =  3;
	RandomQuestion = "When does recursion happen?";
  	Choice1Text         = "when a program unexpectedly malfunctions";
  	Choice2Text         = "when source code reverts to a previous state";
  	Choice3Text         = "when a function calls itself";
     	 break;

  case 28:
	CorrectAnswer     =  1;
	RandomQuestion = "What are SDF, CVS, and DBF?";
  	Choice1Text         = "data formats";
  	Choice2Text         = "LAN configurations";
  	Choice3Text         = "internet protocols";
     	 break;

 case 29:
	CorrectAnswer     =  2;
	RandomQuestion = "SQL is an acronym which stands for what?";
  	Choice1Text         = "Subtractive Quanta Language";
  	Choice2Text         = "Structured Query Language";
  	Choice3Text         = "Standard Query Library";
     	 break;

 case 30:
	CorrectAnswer     =  3;
	RandomQuestion = "Mice, keyboards, and scanners are all what?";
  	Choice1Text         = "things that Steve Jobs invented";
  	Choice2Text         = "items that contain RAM";
  	Choice3Text         = "input devices";
     	 break;

 case 31:
	CorrectAnswer     =  1;
	RandomQuestion = "Steve Jobs middle name is?";
  	Choice1Text         = "Paul";
  	Choice2Text         = "Harvey";
  	Choice3Text         = "Apple";
     	 break;

 case 32:
	CorrectAnswer     =  2;
	RandomQuestion = "Which of the following was NOT a Spreadsheet?";
  	Choice1Text         = "Lotus 123";
  	Choice2Text         = "DBase III";
  	Choice3Text         = "Microsoft Multiplan";
     	 break;

 case 33:
	CorrectAnswer     =  3;
	RandomQuestion = "What processor was Intel Corporation's successor to the 486?";
  	Choice1Text         = "the Agate processor";
  	Choice2Text         = "the 586 processor";
  	Choice3Text         = "the Pentium Processor";
     	 break;

 case 34:
	CorrectAnswer     =  1;
	RandomQuestion = "ROM is known as what?";
  	Choice1Text         = "an acronym standing for Read Only Memory";
  	Choice2Text         = "an early operating system used in Apple computers";
  	Choice3Text         = "a protocol for compressing digital signals";
     	 break;

 case 35:
	CorrectAnswer     =  2;
	RandomQuestion = "Ultima was what";
  	Choice1Text         = "an early code name that Microsoft used for Windows ME";
  	Choice2Text         = "an early computer role-playing games";
  	Choice3Text         = "a spreadsheet that came out prior to Lotus 123";
     	 break;

 case 36:
	CorrectAnswer     =  3;
	RandomQuestion = "LISP is best known as what?";
  	Choice1Text         = "a government database used by the U.S Department of Homeland Security";
  	Choice2Text         = "a type of computer error that occurs when a program gets caught in a perpetual loop";
  	Choice3Text         = "a computer programming language";
     	 break;

 case 37:
	CorrectAnswer     =  1;
	RandomQuestion = "In 2008, what storage device typically held the most information?";
  	Choice1Text         = "a Flash drive";
  	Choice2Text         = "a 3.5 inch diskette";
  	Choice3Text         = "a recordable CD-ROM";
     	 break;

 case 38:
	CorrectAnswer     =  2;
	RandomQuestion = "Which of the following computers incorporated a SID chip for sound?";
  	Choice1Text         = "the IBM PC-XT";
  	Choice2Text         = "the Commodore-64";
  	Choice3Text         = "neither of them";
     	 break;

 case 39:
	CorrectAnswer     =  3;
	RandomQuestion = "Which of the following computers did Commodore come out with after the C-64?";
  	Choice1Text         = "The Pentium";
  	Choice2Text         = "The Crystal";
  	Choice3Text         = "The Amiga";
     	 break;

 case 40:
	CorrectAnswer     =  1;
	RandomQuestion = "In MSDOS what is a batch file?";
  	Choice1Text         = "a text file that contains instructions to run a sequence of commands";
  	Choice2Text         = "a type of data file";
  	Choice3Text         = "a remote storage file that protects against catastrophic loss of data";
     	 break;


 case 41:
	CorrectAnswer     =  2;
	RandomQuestion = "Which of the following holds the most data?";
  	Choice1Text         = "a 3.5 inch diskette";
  	Choice2Text         = "a DVD";
  	Choice3Text         = "a CD";
     	 break;

 case 42:
	CorrectAnswer     =  3;
	RandomQuestion = "What do the letters CD stand for?";
  	Choice1Text         = "Certified Domain";
  	Choice2Text         = "Computer Disc";
  	Choice3Text         = "Compact Disc";
     	 break;

 case 43:
	CorrectAnswer     =  1;
	RandomQuestion = "What was PFS Write?";
  	Choice1Text         = "an early word processing program";
  	Choice2Text         = "a standard for lasers to write data";
  	Choice3Text         = "an early email program";
     	 break;

 case 44:
	CorrectAnswer     =  2;
	RandomQuestion = "Norton is the last name of an early software pioneer.  What is his first name?";
  	Choice1Text         = "Bill";
  	Choice2Text         = "Peter";
  	Choice3Text         = "Nathan";
     	 break;

 case 45:
	CorrectAnswer     =  3;
	RandomQuestion = "What does the acronym CDMA stand for?";
  	Choice1Text         = "Computer Disc Microsoft Authorized";
  	Choice2Text         = "Compact  Disc Multiple Array.";
  	Choice3Text         = "Code Division Multiple Access";
     	 break;

 case 46:
	CorrectAnswer     =  1;
	RandomQuestion = "What does the acronym GNU stand for?";
  	Choice1Text         = "Gnu's Not Unix";
  	Choice2Text         = "Gigabyte Nominial Universe";
  	Choice3Text         = "George North Unix";
     	 break;

 case 47:
	CorrectAnswer     =  2;
	RandomQuestion = "What is GIMP?";
  	Choice1Text         = "a high end math coprocessor";
  	Choice2Text         = "an open source graphics program";
  	Choice3Text         = "an operating system";
     	 break;

 case 48:
	CorrectAnswer     =  3;
	RandomQuestion = "Who played the character Neo in the 1999 sci-fi movie The Matrix?";
  	Choice1Text         = "Lawrence Fishburne";
  	Choice2Text         = "Trinity Jones";
  	Choice3Text         = "Keanu Reeves";
     	 break;

 case 49:
	CorrectAnswer     =  1;
	RandomQuestion = "For what is the word laser an acronym?";
  	Choice1Text         = "Light Amplification thru Stimulated Emission of Radiation";
  	Choice2Text         = "Light Amplification thru Synchronous Emission of Radiation";
  	Choice3Text         = "Laslow's Amplification of Synchronous Electron Rays";
     	 break;

 case 50:
	CorrectAnswer     =  2;
	RandomQuestion = "What is Python?";
  	Choice1Text         = "an operating system";
  	Choice2Text         = "an open source language";
  	Choice3Text         = "both";
     	 break;







    default:
	CorrectAnswer     =  2;
	RandomQuestion = "What is Python?";
  	Choice1Text         = "an operating system";
  	Choice2Text         = "an open source language";
  	Choice3Text         = "both";
  }
}