Home > MCQs > IT & Programming > PrototypeJS Javascript Framework MCQs

PrototypeJS Javascript Framework MCQ

PrototypeJS Javascript Framework Quick Quiz

Question 1 of 10
  • Prototype is considered what kind of framework?

    Answer & Explanation

    Correct Answer: A JavaScript framework for developing dynamic web applications.

    Note: This Question is unanswered, help us to find answer for this one

  • Lets say you have an array with name myArray. How would you organize a loop?

    Answer & Explanation

    Correct Answer: Using "for" statement or Array#each iterator.

    Note: This Question is unanswered, help us to find answer for this one

  • How can you get access to the DOM element using Prototype?

    Answer & Explanation

    Correct Answer: $(id) or $(element), where id is a string and element is an Element itself.

    Note: This Question is unanswered, help us to find answer for this one

  • To use JSON with AJAX, what must be invoked on the transport's responseText property?

    Answer & Explanation

    Correct Answer: String#evalJSON

    Note: This Question is unanswered, help us to find answer for this one

  • What object is informed about every AJAX request?

    Answer & Explanation

    Correct Answer: Ajax.Responders

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following is not a targeted platform for development?

    Answer & Explanation

    Correct Answer: Netscape Navigator

    Note: This Question is unanswered, help us to find answer for this one

  • How would you remove a class named 'removeclass' from an element?

    Answer & Explanation

    Correct Answer: $('element').removeClassName('removeclass');

    Note: This Question is unanswered, help us to find answer for this one

  • $w is responsible for?

    Answer & Explanation

    Correct Answer: Splitting a string into an array.

    Note: This Question is unanswered, help us to find answer for this one

  • The IE properties, offsetWidth and clientHeight along with computed CSS are able to measure elements. Why not use them?

    Answer & Explanation

    Correct Answer: IE properties struggle with “offset” vs. “client” dimensions, and CSS units need to be converted to be compatible.

    Note: This Question is unanswered, help us to find answer for this one

  • What property stores the active Ajax requests?

    Answer & Explanation

    Correct Answer: Ajax.activeRequestCount

    Note: This Question is unanswered, help us to find answer for this one

  • PrototypeJS Javascript Framework Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.