You are on page 1of 14

package { /** * ...

* @author Shubham Utwal */ public class MultipleChoiceProblems { /* TestProject Framework Handle */ private var experimentName:String; border */ private var developerName:String; s on top border */ /* Experiment Question Bank and Choice */ private var questionBank:Vector.<String>; private var options:Vector.<Vector.<String>>; public function MultipleChoiceProblems() { /* Initialise Question Bank */ this.initialiseQuestionBank(); } /** * * This function fills the array of fill in the blank problem statements * This function also creates all the required vectors * Each quuestion is known by it's index * There is a two dimensional options array * Each row (first index) of the options array has the option strings correspond ing to the question * The first character of each option string is a digit * The correct option has digit 1 while the incorrect option has digit 0 * There can be one or more correct options * * Important : The problem statements are picked up at random. Therefore stateme nts can be repeated to ensure greater frequency. * */ public function initialiseQuestionBank():void { /* Set Title and Developer */ experimentName = new String("Heat - Micellaneous MCQs"); developerName = new String("Shubham Utwal"); /* Now create the problem sentence array */ questionBank = new Vector.<String>(); /* Now create the two dimensional answer array */ options = new Vector.<Vector.<String>>(); /* The problem statements are hardcoded here */ questionBank.push("When matter gets warmer, the atoms and molecules in that matter ______"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Stand still"); options[(options.length-1)].push("1Move faster"); options[(options.length-1)].push("0Move slower");

/* Title which appears on top /* Developer name which appear

/* Question Bank */ /* Multiple Choice Answers */

options[(options.length-1)].push("0Cant say"); questionBank.push("Higher the temperature of the body ____ is the kinetic en ergy of the molecules of that body?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Higher"); options[(options.length-1)].push("0Lower"); options[(options.length-1)].push("0Same"); options[(options.length-1)].push("0None of these"); questionBank.push("Stainless steel pans are usually provided with copper bot toms. The reason for this could be that?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Copper bottoms make the pan more durable" ); options[(options.length-1)].push("0Such pans appear more colourful"); options[(options.length-1)].push("1Copper is better conductor of heat than s tainless steel"); options[(options.length-1)].push("0Copper is easier to clean than stainless steel"); questionBank.push("Unit of heat energy is"); options.push(new Vector.<String>()); options[(options.length-1)].push("0kilogram"); options[(options.length-1)].push("0metre"); options[(options.length-1)].push("1joule"); options[(options.length-1)].push("0degree"); questionBank.push("One litre of 30 degreeC is mixed with one litre of water at 50 degreeC. The temperature of the mixture will be?"); options.push(new Vector.<String>()); options[(options.length-1)].push("080 degC"); options[(options.length-1)].push("0More than 50 degC but less than 80 degC") ; options[(options.length-1)].push("020 degC"); options[(options.length-1)].push("1Between 30 degC and 50 degC"); questionBank.push("Bodies transmitting heat via radiation"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Do not require any medium"); options[(options.length - 1)].push("0Are liquids only"); options[(options.length-1)].push("0Make heat travel in one direction only"); options[(options.length - 1)].push("0Solids only"); questionBank.push("In Fahrenheit scale, water freezes at?"); options.push(new Vector.<String>()); options[(options.length-1)].push("00 degF"); options[(options.length - 1)].push("132 degF"); options[(options.length-1)].push("040 degF"); options[(options.length - 1)].push("0212 degF"); questionBank.push("An iron ball at 40 degC is dropped in a mug containing wa ter at 40 degC. The heat will be?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Flow from iron ball to water"); options[(options.length - 1)].push("1Neither flows from iron ball to hot wat

er or from water to iron ball"); options[(options.length-1)].push("0Flow from water to iron ball"); options[(options.length-1)].push("0Increase the temperature of both"); questionBank.push("Boiling point of water is "); options.push(new Vector.<String>()); options[(options.length-1)].push("00 degC"); options[(options.length - 1)].push("1100 degC"); options[(options.length-1)].push("0357 degC"); options[(options.length-1)].push("0-39 degC"); questionBank.push("A thermal flask prevents loss or gain of heat by?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Conduction only"); options[(options.length - 1)].push("0Convection only"); options[(options.length-1)].push("0Radiation only"); options[(options.length-1)].push("1All of the above"); questionBank.push("A wooden spoon is dipped in a cup of ice cream Its other end "); options.push(new Vector.<String>()); options[(options.length-1)].push("0Becomes cold by process of conduction"); options[(options.length - 1)].push("0Becomes cold by the process of convecti on"); options[(options.length-1)].push("0Becomes cold by the process of radiation" ); options[(options.length-1)].push("1Does not get cold"); questionBank.push("Sea breeze is caused due to?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Convection"); options[(options.length - 1)].push("0Conduction"); options[(options.length-1)].push("0Radiation"); options[(options.length - 1)].push("0All of the above"); questionBank.push("A polished silvery surface is"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Good absorber of heat"); options[(options.length - 1)].push("1Good reflector of heat"); options[(options.length-1)].push("0Poor reflector of heat"); options[(options.length-1)].push("0None of these"); questionBank.push("Device used for measuring temperature is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Barometer"); options[(options.length - 1)].push("0Odometer"); options[(options.length-1)].push("0Speedometer"); options[(options.length-1)].push("1Thermometer"); questionBank.push("Dark coloured clothes are preferred during??"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Summer"); options[(options.length - 1)].push("0Winter"); options[(options.length-1)].push("0Spring"); options[(options.length - 1)].push("0Monsoon");

/*15 COMPLETED*/ questionBank.push("Light coloured clothe are preferred during?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Summer"); options[(options.length - 1)].push("1Winter"); options[(options.length-1)].push("0Spring"); options[(options.length - 1)].push("0Monsoon"); questionBank.push("Land breeze blows during?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Morning"); options[(options.length - 1)].push("0Afternoon"); options[(options.length-1)].push("0Evening"); options[(options.length - 1)].push("1Night"); questionBank.push("Sea breeze blows during?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Day"); options[(options.length - 1)].push("0Night"); options[(options.length-1)].push("0Evening"); options[(options.length - 1)].push("0None of these");

questionBank.push("Which of the following is a conductor of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Iron"); options[(options.length - 1)].push("0Wood"); options[(options.length-1)].push("0Wool"); options[(options.length - 1)].push("0Plastic"); questionBank.push("Which of the following is a conductor of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Wool"); options[(options.length - 1)].push("0Wood"); options[(options.length-1)].push("0Copper"); options[(options.length - 1)].push("0Plastic"); questionBank.push("Which of the following is a conductor of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Plastic"); options[(options.length - 1)].push("0Wood"); options[(options.length-1)].push("0Wool"); options[(options.length - 1)].push("1Brass"); questionBank.push("Which of the following is a conductor of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Wood"); options[(options.length - 1)].push("1Stainless Steel"); options[(options.length-1)].push("0Wool"); options[(options.length - 1)].push("0Plastic"); questionBank.push("Which of the following is an insulator of heat?");

options.push(new Vector.<String>()); options[(options.length-1)].push("0Iron"); options[(options.length - 1)].push("1Wood"); options[(options.length-1)].push("0Brass"); options[(options.length - 1)].push("0Copper"); questionBank.push("Which of the following is an insulator of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Iron"); options[(options.length - 1)].push("0Copper"); options[(options.length-1)].push("0Brass"); options[(options.length - 1)].push("1Plastic"); questionBank.push("Which of the following is an insulator of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Wool"); options[(options.length - 1)].push("0Iron"); options[(options.length-1)].push("0Steel"); options[(options.length - 1)].push("0Copper"); questionBank.push("Which of the following is an insulator of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Steel"); options[(options.length - 1)].push("0Iron"); options[(options.length-1)].push("1Glass"); options[(options.length - 1)].push("0Copper"); questionBank.push("No medium is required for transfer f heat for which o f the following process?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Radiation"); options[(options.length - 1)].push("0Convection"); options[(options.length-1)].push("0Conduction"); options[(options.length - 1)].push("0None of these"); /*27*/ questionBank.push("Before using a thermometer, what should be the mercur y level at?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Below 35 degC"); options[(options.length - 1)].push("Above 35 degC"); options[(options.length-1)].push("Above 10 degC"); options[(options.length - 1)].push("Below 10 degC"); questionBank.push("Which of the following indicates the normal temperatu re of the human body?"); options.push(new Vector.<String>()); options[(options.length-1)].push("030 degC"); options[(options.length - 1)].push("137 degC"); options[(options.length-1)].push("053 degC"); options[(options.length - 1)].push("013 degC"); questionBank.push("What is the use of kink in a clinical thermometer?"); options.push(new Vector.<String>());

options[(options.length-1)].push("0To prevent mercury level from rising"); options[(options.length - 1)].push("0To prevent mercury level from getting s tagnant"); options[(options.length-1)].push("1To prevent mercury level from falling on its own"); options[(options.length - 1)].push("0None of the above"); questionBank.push("Heat flows from?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1A hotter body to a cooler body"); options[(options.length - 1)].push("0A cooler body to hotter body"); options[(options.length-1)].push("0A hotter body to another hotter body"); options[(options.length - 1)].push("0None of the above"); questionBank.push("Materials that allow flow of heat through them easily are known as?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Conductors"); options[(options.length - 1)].push("0Insulators"); options[(options.length-1)].push("0Radiators"); options[(options.length - 1)].push("0None of the above"); questionBank.push("Frm the sun , heat comes to us by which process?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Insulation"); options[(options.length - 1)].push("0Conduction"); options[(options.length-1)].push("0Convection"); options[(options.length - 1)].push("1Radiation"); questionBank.push("What is the range of clinical thermometers?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0-10 degC to 110 degC"); options[(options.length - 1)].push("00 degC to 100 degC"); options[(options.length-1)].push("135 degC to 42 degC"); options[(options.length - 1)].push("0None of the above"); questionBank.push("What is the range of laboratory thermometers?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1-10 degC to 110 degC"); options[(options.length - 1)].push("035 degC to 42 degC"); options[(options.length-1)].push("00 degC to 100 degC"); options[(options.length - 1)].push("0None of the above");

questionBank.push("The materials which do not allow flow of heat through them easily are known as?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Insulators"); options[(options.length - 1)].push("0Radiators"); options[(options.length-1)].push("0Conductors"); options[(options.length - 1)].push("0None of the above"); questionBank.push("Why do black objects appear black in colour?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Because they reflect all of the light inc ident on them"); options[(options.length - 1)].push("1Because they absorb all of the light in

cident on them"); options[(options.length-1)].push("0Because they transmit all of the light in cident on them"); options[(options.length - 1)].push("0None of the above"); questionBank.push("For absorption, which of the following properties pla ys an important role ?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Wavelength of the radiation"); options[(options.length - 1)].push("0Frequency of the radiation"); options[(options.length-1)].push("0Amplitude of the radiation"); options[(options.length - 1)].push("0None of the above"); questionBank.push("Hotter objects ___."); options.push(new Vector.<String>()); options[(options.length-1)].push("0Radiate less heat than cooler objects"); options[(options.length - 1)].push("1Radiate more heat than cooler objects") ; options[(options.length - 1)].push("0Reflect more heat than cooler objects") ; questionBank.push("Why is it that woolen clothes keep us warm in winter? "); options.push(new Vector.<String>()); options[(options.length-1)].push("0Wool is a options[(options.length - 1)].push("1Wool is options[(options.length-1)].push("0Wool is a options[(options.length - 1)].push("0None of good conductor of heat"); a bad conductor of heat"); good radiator of heat"); the above");

questionBank.push("Which of the following is an insulator of heat?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Iron"); options[(options.length - 1)].push("0Copper"); options[(options.length-1)].push("0Steel"); options[(options.length - 1)].push("1Air");

/*** CHAPTER 6 - COMBUSTION AND FLAMES CLASS 8th***/ questionBank.push("Name the compound present in the head of match stick. "); options.push(new Vector.<String>()); options[(options.length-1)].push("0Antimony disulphide"); options[(options.length - 1)].push("1Potassium chlorate and antimony trisulp hide"); options[(options.length-1)].push("0White phosphorous and potassium chlorate" ); options[(options.length - 1)].push("0Red phosphorous and potassium chlorate" ); questionBank.push("Which one does not burn with a flame?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Candle"); options[(options.length - 1)].push("1Coal"); options[(options.length-1)].push("0Kerosene oil"); options[(options.length - 1)].push("0Molten Wax");

questionBank.push("A chemical process in which oxygen reacts with a subs tance to give off heat is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Photosynthesis"); options[(options.length - 1)].push("0Respiration"); options[(options.length-1)].push("1Combustion"); options[(options.length - 1)].push("0Transpiration"); questionBank.push("In the SUN heat and light are produced by?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Combustion"); options[(options.length - 1)].push("0Exlosion"); options[(options.length-1)].push("1Nuclear reaction"); options[(options.length - 1)].push("0Conduction"); questionBank.push("Magnesium burns in air to produce?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Magnesium dioxide"); options[(options.length - 1)].push("1Magnesium oxide"); options[(options.length-1)].push("0Magnesium hydroxide"); options[(options.length - 1)].push("0Magnesium carbonate"); questionBank.push("Inflammable substances have?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0High Ignition temperature"); options[(options.length - 1)].push("1Low Ignition temperature"); options[(options.length-1)].push("0No Ignition temperature"); options[(options.length - 1)].push("0High boiling point"); questionBank.push("Choose the best fire extinguisher."); options.push(new Vector.<String>()); options[(options.length-1)].push("0Oxygen"); options[(options.length - 1)].push("0Water"); options[(options.length-1)].push("1Blanket"); options[(options.length - 1)].push("0Carbon dioxide"); questionBank.push("The hottest part of a candle flame is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Luminous zone"); options[(options.length - 1)].push("0Dark zone"); options[(options.length-1)].push("0Hot zone"); options[(options.length - 1)].push("1Non-luminous zone"); questionBank.push("The colour of middle zone of a candle flame is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Orange"); options[(options.length - 1)].push("0Black"); options[(options.length-1)].push("1Yellow"); options[(options.length - 1)].push("0Blue"); questionBank.push("Complete combustion of wax vapours takes place in?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Middle zone");

options[(options.length - 1)].push("0Luminous zone"); options[(options.length-1)].push("1Non - luminous zone"); options[(options.length - 1)].push("0Dark zone"); questionBank.push("The calorific value of wood when compared to LPG is ? "); options.push(new Vector.<String>()); options[(options.length-1)].push("0Less"); options[(options.length - 1)].push("1More"); options[(options.length-1)].push("0Samee"); options[(options.length - 1)].push("0No calorific value"); questionBank.push("The unit of calorific value is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1kJ/kg"); options[(options.length - 1)].push("0kg/kJ"); options[(options.length-1)].push("0kB/kJ"); options[(options.length - 1)].push("0g/kJ"); questionBank.push("Global warming is a result of?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Increased Oxygen"); options[(options.length - 1)].push("1Increased Carbon dioxide"); options[(options.length-1)].push("0Increased water vapour"); options[(options.length - 1)].push("0Increased Carbon Monoxide");

questionBank.push("Which one of the following is a very poisonous gas?") ; options.push(new Vector.<String>()); options[(options.length-1)].push("0Carbon dioxide"); options[(options.length - 1)].push("0Nitrogen"); options[(options.length-1)].push("1Carbon Monoxide"); options[(options.length - 1)].push("0Oxygen"); questionBank.push("Which of the following is a cleaner fuel for automobi les?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Petrol"); options[(options.length - 1)].push("0Diesel"); options[(options.length-1)].push("1CNG"); options[(options.length - 1)].push("0LPG"); questionBank.push("Whcih of the following cannot be used for fire involv ing electrical equipments?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Carbon dioxide"); options[(options.length - 1)].push("0Oxygen"); options[(options.length-1)].push("1Water"); options[(options.length - 1)].push("0Fire extinguisher"); questionBank.push("Which of the following is used as a liquid fuel in ho uses?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Water"); options[(options.length - 1)].push("1LPG");

options[(options.length-1)].push("0CNG"); options[(options.length - 1)].push("0Cooking Oil"); questionBank.push("Carbon Monoxide is produced by?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Incomplete combustion of fuels"); options[(options.length - 1)].push("0Explosion of fuels"); options[(options.length-1)].push("0Complete combustion of fuels"); options[(options.length - 1)].push("0Sleeping in a closed room");

questionBank.push("Sources of heat energy for domestic and industrial pu rposes are?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Matchstick"); options[(options.length - 1)].push("0Fuel"); options[(options.length-1)].push("1Petrol"); options[(options.length - 1)].push("0Heater"); questionBank.push("For melting gold and silver a goldsmith uses?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Inner most zone of a flame"); options[(options.length - 1)].push("0The least hot region"); options[(options.length-1)].push("1Non - luminous zone"); options[(options.length - 1)].push("0Dark zone"); questionBank.push("The zone of partial combustion is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Luminous zone"); options[(options.length - 1)].push("0Innermost zone"); options[(options.length-1)].push("0Dark zone"); options[(options.length - 1)].push("0Non - Luminous zone"); questionBank.push("Use of diesel and petrol as a fuel in automobiles is replaced by?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0LPG"); options[(options.length - 1)].push("1CNG"); options[(options.length-1)].push("0Coal"); options[(options.length - 1)].push("0Bitumen"); questionBank.push("When an electrical equipment is on fire, the best ext inguisher to be used is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Water"); options[(options.length - 1)].push("0Sunlight"); options[(options.length-1)].push("1Carbn dioxide"); options[(options.length - 1)].push("0Oxygen"); questionBank.push("When compared to wood the ignition temperature of ker osene oil is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Higher"); options[(options.length - 1)].push("1Lower"); options[(options.length-1)].push("0Same"); options[(options.length - 1)].push("0No Ignition temoerature");

/*24*/ questionBank.push("The lowest temperature at which substances catches fi re is?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Boiling temperature"); options[(options.length - 1)].push("0Freezing temperature"); options[(options.length-1)].push("1Ignition temperature"); options[(options.length - 1)].push("0Burning temperature"); questionBank.push("Which of the following is necessary for a combustible sustance to catch fire?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0It's temperature should be lower than its Ignition temperature"); options[(options.length - 1)].push("1It's temperature should be higher than its Ignition temperature"); options[(options.length-1)].push("0It should be at room temperature"); options[(options.length - 1)].push("0None of the above");

questionBank.push("Which of the following is not an inflammable substanc e?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Petrol"); options[(options.length - 1)].push("0LPG"); options[(options.length-1)].push("0Alcohol"); options[(options.length - 1)].push("1Wood"); questionBank.push("For fires involving inflammable materials and electri cal equipments, which of the following is the best extinguisher?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Carbon Dioxide"); options[(options.length - 1)].push("0Water"); options[(options.length-1)].push("0AFFF Foam"); options[(options.length - 1)].push("0Dry Powder"); questionBank.push("Which of the following substances burn in air at room temperature?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Magnesium"); options[(options.length - 1)].push("1Phosphorous"); options[(options.length-1)].push("0Coal Dust"); options[(options.length - 1)].push("0Paper"); questionBank.push("Which of the following does not produce any flame whe n burned?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Kerosene Oil"); options[(options.length - 1)].push("0Molten Wax"); options[(options.length-1)].push("1Charcoal"); options[(options.length - 1)].push("0Camphor"); questionBank.push("Which zone of the flame has the highest temperature (

Hottest part of the flame)?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Luminous Zone"); options[(options.length - 1)].push("0Dark Zone"); options[(options.length-1)].push("1Non-luminous zone"); options[(options.length - 1)].push("0None of the above"); questionBank.push("What is the flame colour of the outer zone of a candl e flame?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Blue"); options[(options.length - 1)].push("0Yellow"); options[(options.length-1)].push("0Orange"); options[(options.length - 1)].push("0Red"); questionBank.push("Which of the following fuels has the highest calorif ic value than others?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Hydrogen"); options[(options.length - 1)].push("0Petrol"); options[(options.length-1)].push("0Kerosene"); options[(options.length - 1)].push("0Diesel"); questionBank.push("Which f the following has the least calorific value t han others?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Biogas"); options[(options.length - 1)].push("0Coal"); options[(options.length-1)].push("1Wood"); options[(options.length - 1)].push("0Hydrogen"); /** 34 complete **/ questionBank.push("When combustion occurs by itself, it is known as?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Turbulent combustion"); options[(options.length - 1)].push("1Spontaneous combustion"); options[(options.length-1)].push("0Incomplete"); options[(options.length - 1)].push("0Complete"); questionBank.push("Combustion that resluts into formation of a limited n umber of products, when reactants burn in oxygen is known as?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Spontaneous combustion"); options[(options.length - 1)].push("0Incomplete combustion"); options[(options.length-1)].push("1Complete combustion"); options[(options.length - 1)].push("0Turbulent combustion"); questionBank.push("Which of the following is slow, low-temperature, flam eless form of combustion?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Spontaneous"); options[(options.length - 1)].push("0Complete"); options[(options.length-1)].push("0Rapid"); options[(options.length - 1)].push("1Smouldering"); questionBank.push("Combustion processes which happen in very small volum es are known as?"); options.push(new Vector.<String>());

options[(options.length-1)].push("0Turbulent"); options[(options.length - 1)].push("0Smouldering"); options[(options.length-1)].push("1Micro-combustion"); options[(options.length - 1)].push("0Rapid"); questionBank.push("Which of the following combustion processes is freque ntly known as 'Explosion'?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Turbulent combustion"); options[(options.length - 1)].push("1Rapid Combustion"); options[(options.length-1)].push("0Smouldering"); options[(options.length - 1)].push("0Spontaneous"); questionBank.push("With increasing oxygen supply, the flame colour becom es?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0Red"); options[(options.length - 1)].push("1Blue"); options[(options.length-1)].push("0Black"); options[(options.length - 1)].push("0Yellow"); questionBank.push("In fires (particularly house-fires) producing the mos t smoke, the cooler flames are seen in which colour?"); options.push(new Vector.<String>()); options[(options.length-1)].push("1Red"); options[(options.length - 1)].push("0Yellow"); options[(options.length-1)].push("0Blue"); options[(options.length - 1)].push("0Orange");

/* questionBank.push("?"); options.push(new Vector.<String>()); options[(options.length-1)].push("0"); options[(options.length - 1)].push("0"); options[(options.length-1)].push("0"); options[(options.length - 1)].push("0"); ***/ } /** * * This function returns question given index * */ public function getQuestion(qIndex:uint):String { if (qIndex < questionBank.length) { return(questionBank[qIndex]); } else { return(new String("")); } } /** * * This function returns options given index * */

public function getOptions(qIndex:uint):Vector.<String> { if (qIndex < questionBank.length) { return(options[qIndex]); } else { return(new Vector.<String>()); } } /** * * This function returns question bank size * */ public function getQuestionBankSize():uint { return(questionBank.length); } /** * * This function returns experiment name * */ public function getExperimentName():String { return(experimentName); } /** * * This function returns developer name * */ public function getDeveloperName():String { return(developerName); } } }

You might also like