T4Tutorials .PK

JAVA SCRIPT MCQs – CHAPTER 4 DAE

1. . JavaScript is designed for creating:

(A) Client-centric applications


(B) Network-centric applications


(C) Server-centric applications


(D) None




2. . ______ can calculate, manipulate and validate data.

(A) JavaScript


(B) JSP


(C) Server


(D) None




3. . HTML elements can be hide and show through:

(A) Server


(B) JSP


(C) JavaScript


(D) None




4. . Which of the following method syntax is correct?

(A) getElementsById()


(B) All of Above


(C) gotElementByid()


(D) getElementById()




5. . jQuery is a library of:

(A) CSS


(B) HTML


(C) JavaScript


(D) None




6. . jQuery wraps many lines of JavaScript code called:

(A) Variable


(B) Constructor


(C) Method


(D) All of Above




7. . Which of the following is correct jQuery syntax?

(A) _(selector).action


(B) @(selector).action()


(C) $(selector).action()


(D) None




8. . $(".test").hide() will hide:

(A) The current element


(B) None


(C) Both


(D) All elements with class="test"




9. . Selectors that start with the dollar sign and parentheses $() belong to:

(A) jQuery


(B) HTML


(C) CSS


(D) JavaScript




10. . Selector used to find a specific element:

(A) class


(B) #id selector


(C) $ id p


(D) None




11. . Selector used to find specific elements:

(A) class selector


(B) $ id p


(C) #id selector


(D) None




12. . Selects the current HTML element:

(A) $(this)


(B) $(current)


(C) $(.this)


(D) All of Above




Exit mobile version