MCQ Academy - English

Free Online MCQ Practice Tests in English

Latest Quizzes

“Raise your words, not your voice. It is rain that grows flowers, not thunder.” – A quote by whom?

Correct answer(s):
  • Rumi

“When you do things from the soul, you feel a river moving in you, a joy.” – A quote by whom?

Correct answer(s):
  • Rumi

“Yesterday I was clever so I wanted to change the world. Today I am wise so I am changing myself.” – A quote by whom?

Correct answer(s):
  • Rumi

“Let yourself be silently drawn by the strange pull of what you really love. It will not lead you astray.” – A quote by whom?

Correct answer(s):
  • Rumi

What’s the difference between unset() and unlink()

Correct answer(s):
  • unset() sets a variable to "undefined" and unlink() deletes a file from the file system.

What’s the difference between the include() and require() functions?

Correct answer(s):
  • require() function exits with a fatal error if the file can't be included, while the include() function may still pass and jump to the next step in the execution.

What will be output in console:

var animals = ['Tiger', 'Lion', 'Camel', 'Cow', 'Duck'];
console.log(animals.slice(2, 4));
Correct answer(s):
  • Array ["Camel", "Cow"]

What is going to display with this js code:

var myArray = ['a', 'b', 'c'];
 console.log(myArray[-1]);
Correct answer(s):
  • undefined