CH.2_CSS & JAVA SCRIPT MCQ
CH.2_CSS & JAVA SCRIPT MCQ
(110) Which of the following are two main parts of CSS rule?
(a)Selector, declaration (b)Select, declaration (c)Selector, declare (d)Selection, declaration
(111) Which of the following is an HTML element on which style can be applied?
(a)Declaration (b)Selector (c)Select (d)Declare
(112) Which of the following is the syntax of CSS?
(a)select {property : value} (b)selector {value : property}
(c)selector {property : value} (d)selection {property : value}
(113) Which of the following has developed JavaScript?
(a)Yahoo (b)Google (c)Wikipedia (d)Netscape
(114) Which of the following is a scripting language that allows adding programming to webpages?
(a)Action script (b)JavaScript (c)HTML (d)CSS
(115) Which of the following is a scripting language that is simple, lightweight programming language that does not
contain advanced programming functionalities?
(a)JavaScript (b)HTML (c)C (d)Java
(116) Which of the following tag is used to insert JavaScript code into an HTML page?
(a)<script>… <script> (b)<script>… </script> (c)<script>… <//script> (d)</script>… </script>
(117) Which of the following symbol signifies the start and end of a JavaScript block?
(a)Semicolon (b)Square bracket (c)Curly bracket (d)Round bracket
(118) Which of the following is a reusable block of code that performs a particular task?
(a)Array (b) Code (c)Program (d)Function
(119) Which of the following statement is used to return a value in a function?
(a)Return (b) Function (c) Select (d) Send
(120) Which of the following is generated by the browser due to interaction between the user and the webpage?
(a)Function (b) Response (c) Event (d) Value
(121) Which of the following is not an event?
(a)Abort (b)Mouseover (c)Set (d)Load
(122) Which of the following is a container for storing data?
(a)Variable (b)Integer (c)Event (d)Event handler
(123) Which of the following stands for BOM?
(a)Browser of Model (b) Browser Object Model (c)Browser Object Modelling (d) Browse Object Model
(124) Which of the following is the top level object in the browser object model?
(a)Window (b)Document (c)Page (d)Location
(125) Which of the following stands for NaN?
(a)Not a Numeric (b)Not a Number (c)Not a Noun (d)Not an Numeric