
java script
Authored by Senthil Anandhi
Computers
University
Used 493+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not JavaScript Data Types?
Undefined
Number
Boolean
Float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct about features of JavaScript?
It can not Handling dates and time.
JavaScript is a object-based scripting language.
JavaScript is not interpreter based scripting language.
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to display "WadJava" in an alert box using JavaScript?
alert-box("WadJava");
confirm("WadJava");
msgbox("WadJava");
alert("WadJava");
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct JavaScript syntax to change the content of the following HTML code.
document.getElement (“WadJava").innerHTML = "I am a WadJava";
document.getElementById (“WadJava").innerHTML = "I am a WadJava";
document.getId (“WadJava") = "I am a WadJava";
document.getElementById (“WadJava").innerHTML = I am a WadJava;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Javascript code?
var string1 = "WadJava";
var intvalue = 30;
alert( string1 + intvalue );
WadJava 30
30
WadJava30
Exception
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for comments in Javascript?
\\
//
\* *\
\* */
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Javascript string using double quotes is exactly the same as a string using single quotes?
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?