22519 Client Side Scripting Language Mcq Question Bank

0
1040

Hello students welcome to msbte news in this article we have provided Client Side Scripting Language Mcq Question Bank With Pdf Download. This Client Side Scripting Language Mcq Question Pdf is ideal for 3rd year diploma in computer engineering students.

In this Client Side Scripting Mcq pdf we have selected 25 important questions from Previous Year answer paper provided by msbte. By referring this Client Side Scripting Language Objective Questions Msbte 3rd diploma in computer engineering students can practice for their upcoming winter 2021 exams.

Client Side Scripting Language Mcq Question Bank

1)  Features of Java script
A. JavaScript is an object-based scripting language.
B. Giving the user more control over the browser
C. It Handling dates and time
D. All of the above

Correct!

Wrong!

2) Properties of location object

 
A. host
B. hash
C. href
D. All of the above

Correct!

Wrong!

3)  The _____ to the directory or web page that set the cookie
A. Secure
B. Expires
C. Domain
D. Path

Correct!

Wrong!

4) Where in an HTML document is the correct place to refer to an external style sheet?
A. At the end of the document
B. In the section
C. At the top of the document
D. In the section

Correct!

Wrong!

5) Which HTML attribute is used to define inline styles?
A. font
B. class
C. styles
D. style

Correct!

Wrong!

6) Which property is used to change the background color?
A. bgcolor:
B. background-color:
C. color:

Correct!

Wrong!

7) How do you add a background color for all <h1> elements?
A. all.h1 {background-color:#FFFFFF}
B. h1.all {background-color:#FFFFFF}
C. h1 {background-color:#FFFFFF}

Correct!

Wrong!

8) The main purpose of JavaScript in web browser is to ___________
A. Creating animations and other visual effects
B. User Interface
C. Visual effects
D. User experience

Correct!

Wrong!

9)  The service(s) that enables networking through scripted HTTP requests is __________
A. XMLHttpResponse
B. XMLRequest
C. XMLHttpRequest
D. XMLHttps

Correct!

Wrong!

10) JavaScript code between a pair of “script” tags are called __________
A. Non-inline
B. External
C. Referenced
D. Inline

Correct!

Wrong!

11) ______ JavaScript is also called client-side JavaScript.
A. Microsoft
B. Navigator
C. LiveWire
D. Native

Correct!

Wrong!

12)  _____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.
A. Client-side
B. Server-side
C. Local
D. Native

Correct!

Wrong!

13)  Inside which HTML element do we put the JavaScript?
A.
B.
C.
16) To open a dialog box each time an error occurs, which of the following is added to prefs.js? 
A. user_pref("javascript.classic.error_alerts", true);
B. user_pref("javascript.classic.error_alerts ", false);
C. user_pref("javascript.console.open_on_error ", true);
D. user_pref("javascript.console.open_on_error ", false);

Correct!

Wrong!

17)  Select the Comparison operators in Javascript of the following

= = =
A. not equal value or not equal type
B. Equal to
C. Equal value and equal type
D. None of the above

Correct!

Wrong!

18) What are ways of protecting Web Page
A. Hiding JavaScript
B. Hiding your source code
C. Disabling the right MouseButton
D. All of the above

Correct!

Wrong!

19)  Which HTML tag is used to define an internal style sheet?
A.

Leave a reply

Please enter your comment!
Please enter your name here