Javascript Online Quiz




Following quiz provides Multiple Choice Questions (MCQs) related to Javascript Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - Calculate the emissions of a car consuming 5L/100km Subaru model \[emissions(gCO_2/100km) = 19.427 + 27.965\times consumption\]

A - 221.965gCO_2/100km.

B - 95.965gCO_2/100km.

C - 124,965gCO_2/100km.

D - 143,567gCO_2/100km.

Answer : C

Explanation

Use the windows calculator bro.

Q 2 - Can you assign a anonymous function to a variable?

A - true

B - false

Answer : A

Explanation

Yes! An anonymous function can be assigned to a variable.

Q 3 - Which built-in method calls a function for each element in the array?

A - while()

B - loop()

C - forEach()

D - None of the above.

Answer : C

Explanation

forEach() method calls a function for each element in the array.

Q 4 - Which built-in method returns the string representation of the number's value?

A - toValue()

B - toNumber()

C - toString()

D - None of the above.

Answer : C

Explanation

toString() method returns the string representation of the number's value.

Q 5 - Which of the following function of Boolean object returns the primitive value of the Boolean object?

A - toSource()

B - valueOf()

C - toString()

D - None of the above.

Answer : B

Explanation

valueOf() − Returns the primitive value of the Boolean object.


javascript_questions_answers.htm

Càlculs de poder calorífic, calor, calor específica, massa del combustible, cabal d'aigua i cabal de combustible

Un motor de combustió interna de cilindrada 2.000cc, en el qual s'està utilitzant gasoil com a combustible, necessita una potència de 60 kW per a la seva correcte funcionament. Si la calor específica del gasoil és de 42,4 kJ/kg i el seu poder calorífic superior és de 43,5 MJ/kg, quin cabal de gasoil s'ha de fer arribar al motor cada minut si el rendiment del motor és del 30%?