Hello students welcome to msbte news in this article we have provided Client Side Scripting Language Mcq Questions and Answers. This Client Side Scripting Mcq Questions is ideal for 3rd year diploma in computer engineering students.
In this Client Side Scripting Language Mcq Pdf we have selected 25 important questions from Previous Year answer paper provided by msbte. By referring this Client Side Scripting Language Multiple Choice Question Msbte 3rd diploma in computer engineering students can practice for their upcoming winter 2021 exams.
Table of Contents
Client Side Scripting Language Mcq Questions and Answers
1) Select the Comparison operators in Javascript of the following
<
A. Less than
B. Greater than
C. Greater than or equal to
D. Both a and b
Correct!
Wrong!
2) The _______ method returns the index of the character passed to it as an argument
A. charAt()
B. indexOf()
C. Both a and b
D. None of the above
Correct!
Wrong!
3) ______ is just as simple as writing one, because the value of the document.cookie object is the cookie
A. Storing Cookies
B. Reading Cookies
C. Both a and b
D. None of the above
Correct!
Wrong!
4) What is the correct HTML for referring to an external style sheet?
A. mystyle.css
B.
C.
Correct!
Wrong!
5) Which is the correct CSS syntax?
A. body {color: black}
B. {body;color:black}
C. {body:color=black(body}
D. body:color=black
Correct!
Wrong!
6) How do you change the text color of an element?
A. text-color=
B. fgcolor:
C. color:
D. text-color:
Correct!
Wrong!
7) A JavaScript program can traverse and manipulate document content through __________
A. Element Object
A. Element Object
C. Both Element and Document Object
D. Data object
Correct!
Wrong!
8) The HTML5 specification does not includes __________
A. Data storage
B. Graphics APIs
C. Other APIs for web apps
D. Networking
Correct!
Wrong!
9) Client-side JavaScript code is embedded within HTML documents in __________
A. A URL that uses the special javascript:encoding
B. A URL that uses the special javascript:stack
C. A URL that uses the special javascript:protocol
D. A URL that uses the special javascript:code
Correct!
Wrong!
10) Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?
A. Static Web Pages
B. Interactive Web Pages
C. Conditional Web Pages
D. All web pages
Correct!
Wrong!
11) __________ JavaScript is also called server-side JavaScript.
A. Microsoft
B. Navigator
C. LiveWire
D. Native
Correct!
Wrong!
12) What should appear at the very end of your JavaScript? The <script LANGUAGE="JavaScript">tag
A. The
B. The
C. The END statement
D. None of the above
Correct!
Wrong!
13) Which is the correct way to write a JavaScript array?
A. var txt = new Array(1:"tim",2:"kim",3:"jim")
B. var txt = new Array:1=("tim")2=("kim")3=("jim")
C. var txt = new Array("tim","kim","jim")
D. var txt = new Array="tim","kim","jim"
Correct!
Wrong!
14) The JavaScript exception is available to the Java code as an instance of __________
A. netscape.javascript.JSObject
B. netscape.javascript.JSException
C. netscape.plugin.JSException
D. None of the above
Correct!
Wrong!
15) What is the correct syntax for referring to an external script called " abc.js"?
A.
B.
C.
16) The syntax of a blur method in a button object is ______________
A. Blur()
B. Blur(contrast)
C. Blur(value)
D. Blur(depth)
Correct!
Wrong!
17) Which CSS property controls the text size?
A. font-size
B. font-style
C. text-style
D. text-size
Correct!
Wrong!
18) The behaviour of the document elements can be defined by __________
A. Using document object
B. Registering appropriate event handlers
C. Using element object
D. Using data element
Correct!
Wrong!
19) Which of the following is not an advanced service?
A. Data storage
B. Networking
C. XMLHttpRequest object
D. Graphics APIs
Correct!
Wrong!
20) What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?
A. Unobtrusive JavaScript
B. Obtrusive JavaScript
C. Inherited JavaScript
D. Modular JavaScript
Correct!
Wrong!
21) Which of the following ways can be used to indicate the LANGUAGE attribute?
A.
B.
C.
D.
Correct!
Wrong!
22) Which types of image maps can be used with JavaScript?
A. Server-side image maps
B. Client-side image maps
C. Server-side image maps and Client-side image maps
D. None of the above
Correct!
Wrong!
23) To automatically open the console when a JavaScript error occurs, which of the following is added to prefs.js?
A. user_pref(" javascript.console.open_on_error", false);
B. user_pref("javascript.console.open_error ", true);
C. user_pref("javascript.console.open_error ", false);
D. user_pref("javascript.console.open_on_error", true);
Correct!
Wrong!
24) Inside which HTML element do we put the JavaScript?
A.
B.
C.
D.
Correct!
Wrong!
25) The concat() method separates each value with a comma.
A. True
B. False
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
22519 Client-Side Scripting Language Mcq Questions
I got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...
Client Side Scripting Language Mcq Pdf
Client Side Scripting Language Notes Pdf (Download)
Students also search for:
Client Side Scripting Language Model answer paper (View Here)
Client Side Scripting Language Question Paper (View Here)
Msbte News Social accounts
We provide regular updates about msbte on our social accounts For latest msbte diploma updates you can follow our page on Instagram @msbtenews and Facebook @msbtediplomaupdates. we solve your queries by message on our social accounts so do follow our social accounts if you have any queries related to diploma and engineering courses.
Msbte News is created to help msbte diploma students to find study resources, which are very much needed for diploma students while preparing for the exam. msbtenews.com provide polytechnic solved question papers which are provided by msbte.org.in. with these msbte polytechnic model answer paper students gets a rough idea about paper pattern and marks distribution.
[…] Client Side Scripting MCQ (View Here) […]