JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Plus Two Computer Science
Chapter 6: Client Side Scripting UsingJavaScript
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Student Name
*
Your answer
School name
*
Your answer
1.JavaScript was developed by _______
*
1 point
Brendan Eich
Rasmus Lerdorf
John Von Neumann
Dr. Bjarne Stroustrup
2.In JavaScript ________ function is used to print a text in the body section of an HTML page.
*
1 point
document.print()
write()
document.write()
documentwrite()
3. Which is not a basic data types in JavaScript
*
1 point
Boolean
Void
String
Number
4. In JavaScript, variables can be declared by using the keyword _____
*
1 point
variable
None of these
key
var
5.The __________operator is used to concatenate two strings
*
1 point
++
*
+
$
6. false is a ______ type data
*
1 point
String
Boolean
Character
Number
7. _______ is a multi branching statement
*
1 point
for
while
if - else
switch
8. The __________function is used to display a message on the screen
*
1 point
print()
alert()
write()
message()
9. X=“Computer”; Y=X.length; what is the value of Y
*
1 point
8
9
7
10
10. Which function returns the character at a particular position
*
1 point
isNaN()
charat()
Charat()
charAt()
11.The function is used to check whether a value is a number or not
*
1 point
isNan()
isNumber()
isnan()
isNaN()
12. The _____ event occurs when the mouse pointer is moved onto an object
*
1 point
onKeyDown
onClick
onMouseLeave
onMouseEnter
13. X=“JavaScript”;Y = X.charAt(4);What is the value of Y
*
1 point
a
S
c
v
14. Name an attribute of <SCRIPT> tag.
*
1 point
Language
Text
Face
Width
15. The ______event occurs when the user releases a key on the keyboard
*
1 point
onMouseEnter
onMouseLeave
onKeyUp
onKeyDown
16. The _______languages are used for validations of data at the client side itself
*
1 point
Client side scripting
Server side scripting
scripting
None of these
17. An HTML file can contain only one <SCRIPT> tag in it
*
1 point
True
False
18.The function converts the data into number type
*
1 point
Number()
Integer()
parseInt()
Num()
19. What is the extension of JavaScript file
*
1 point
.jf
.jsp
.jc
.js
20. A function is usually placed in the head section of a web page only
*
1 point
True
False
Type your valuable Suggestion about this Quiz
Your answer
After Selecting answer of all question,press "SUBMIT" button and press "View Score" Button to know your Score and correct answers
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report