Language:
Hindi
Bangla
Home
Guideline
Basic IT Test
HTML Test
CSS Test
JavaScript Test
(current)
SQL Test
PHP Test
Language:
Hindi
Bangla
Basic JavaScript Skill Tester
The exam was given 67 times.
If you answer by guessing you will not get the accurate result.
Advertisement
Which of the following represents an open window in a browser ?
Screen Object
Navigator Object
window object
Location Object
How does external JavaScript add in HTML page ?
<script href="path"> </script>
<script src="path"> </script>
<link src="path">
<link href="path">
Which of the following is run in the loop ?
while
if
switch
if.......else
There is not difference between Switch and if else statement.
False
True
Which is the function name of this
function developer(Shamol_Singha){}
code ?
developer
Shamol_Singha
function
developer(Shamol_Singha)
There is not difference between ECMAScript and Javascript.
False
True
The external JavaScript file must contain the <script> tag.
False
True
Which is the Parameter of this
function developer(Shamol_Singha){}
code ?
Shamol_Singha
developer
function
developer(Shamol_Singha)
Which of the following object URL provides information ?
Navigator Object
History Object
Window Object
location object
Javascript in variable name________.
case sensitive
case insensitive
Which of the following is Decrement operator ?
--
++
%
>+
Which of the following is the string data ?
Shamol Singha
55
55.5
0.2
There is not difference between Ternary Operator and Conditional Operator.
False
True
How many methods are there that display information by using javascript ?
6 ways
5 ways
4 ways
7 ways
The _____ contains information about the browser.
Screen Object
navigator object
Window Object
Location Object
var y = 5; var y *= 5; y = ?
6
10
55
25
var number =(55 + 100) * 10 / 2 - 10; number = ?
765
7740
100
70
There is a difference between Jscript and Javascript.
True
False
Which of the following is the division operator ?
*
/
--
>=
Which of the following check the condition ?
Select
For
while
if
Which of the following is mathematical operator ?
++
&&
!
|
var number = 55 + 100 * 10 / 2 - 10; number = ?
275
545
-3
10
Which is the Javascript update version ?
JavaScript 1.8.5
JavaScript 1.8.8
JavaScript 1.8.0
JavaScript 1.8.1
All JavaScript variables must be identified with_________.
unique names
unique number
unique symbol
name
How to declare variable ?
myname = "my name is Shamol Singha";
var myname = "my name is Shamol Singha";
$myname = "my name is Shamol Singha";
#myname = "my name is Shamol Singha";
How to declare Alert box ?
console.log()
window.alert()
document.write()
innerHTML
Which operator below is used to define arguments in variables or values ?
Comparison
Logical
Conditional
Arithmetic
The best place to break a code line is after an ________.
variable
innerHTML
space
operator or a comma
If the condition is true, which of the following is executed ?
else
if
print
echo
Where is the JavaScript code rendered ?
Interpreter
Web Browser
Server
Compiler
Which of the below is part of the history object ?
window
History
Navigator
Screen
Which of the following is an Subtraction operator ?
-
+
*
/
A JavaScript variable name cannot start with _______.
special characters
character
capital letter
small letter
How many operators type have JavaScript ?
7
4
10
8
How to write an IF statement in JavaScript ?
if var x==5 { }
if {var x==5 }( )
if(var x==5){ }
if(var x==5)[ ]
The ________ tag defines an alternate content for users that have disabled scripts in their browser or have a browser that doesn t support script.
<script>
<noscript>
<javascript>
<java>
A JavaScript variable name cannot start with a _______.
number
small letter
capital letter
character
Which is the following represents a different style statement ?
Element Object
Document Object
Console Object
Style object
How to assign value in variable ?
var person = "Shamol Singha";
var person + Shamol Singha
var person == "Shamol Singha";
var person // "Shamol Singha";
How many ways added Javascript in html ?
6 ways
2 ways
3 ways
5 ways
How to declare a while loop ?
while (code executed) {condition}
while (condition) {code executed}
if (condition) {code executed}
else if (condition) {code executed}
Which of the following can be kept multiple values ?
arrays
variable
function
loop
Which is the following is used to select one of the many blocks ?
while Loop
for Loop
switch statement
There is difference between Java and Javascript.
False
True
Which of the following is used to define a client-side script ?
<head>
<code>
<noscript>
<script>
Which is to show the OK and the Cancel button ?
popup()
alert()
confirm()
window.open()
Which of the following is the modulus operator ?
&&
%
=
>
Which of the following is a bitwise operator ?
==
&
--
*
The _______ provides properties and methods to access all node objects, from within JavaScript.
Screen Object
History Object
Location Object
document object
How to declare the for loop ?
for (condition) {code executed}
for (statement1; statement2; statement3) {code executed}
while (statement1; statement2; statement3) {code executed}
if (statement1; statement2; statement3) {code executed}
Which of the following event ?
href
style
link
onclick
How to add Single Line Comment ?
\write a comment
\write a comment
/write a comment
// write a comment
There are________ of declares a date.
6 ways
4 ways
3 ways
5 ways
How many data types in JavaScript ?
5
8
6
7
Which of the following is an addition operator ?
/
+
-
*
What kind of language is javaScript ?
case sensitive
case insensitive
How to Convert Numbers to Strings ?
string("123456")
text("123456")
String("123456")
Text("123456")
Internal JavaScript can be written anywhere in html page.
False
True
Which of the following is used to change the HTML element data ?
innerHTML
document.write()
window.alert()
console.log()
Reserved words cannot be used as names for variables.
True
False
How to declare symbol data ?
symble[ ]
symbol()
Symbol{ }
Symbol()
Which of the following is the float data ?
True
Shamol Singha
22.22
22
Which of the following is comma operator ?
""
,
^
@@
What is the full form of BOM ?
Browsing Order Model
Browsing Object Model
Browser Object Model
Browser Order Model
How to show "Hello World" on the web page ?
echo ("Hello World")
document.write("Hello World")
print ("Hello World")
write("Hello World")
How to Replace Javascript String ?
replace.string("Microsoft", "W3Schools")
str.replace("Microsoft", "W3Schools")
replace("Microsoft", "W3Schools")
string.replace("Microsoft", "W3Schools")
Which of the following is Increment operator ?
--
++
>=
&&
_________ operators are used in logical statements to determine equality or difference between variables or values.
Logical
Comparison
Conditional
Arithmetic
Which of the following does the data type test ?
typeof
check
print
echo
Which of the following is integer data ?
Shamol Singha
true
6.6
6
How to declare a function ?
myFunction{p1, p2} ( )
function myFunction{p1, p2} ( )
function myFunction(p1, p2) {}
myFunction(p1, p2){ }
The following is a good place to write internal JavaScript.
<body> code here...... </body>
<head> code here...... </head>
<header> code here...... </header>
<footer> code here...... </footer>
How to add Multi-line Comment ?
\* comment here */
\* comment here *\
/* comment here */
/* comment here *\
Which of the following is the assignment operator ?
--
==
=
+
Which of the following is the boolean data ?
5
5.25
Shamol Singha
false
A good practice is to put ________ around operators.
colon
semicolon
comma
spaces
JS supports all modern browsers.
False
True
Which of the following can be shown in HTML Elements ?
innerHTML
document.write()
window.alert()
console.log()
The JavaScript global properties and functions can be used with all the built-in JavaScript objects.
False
True
Which of the following is JavaScript keyword ?
"name"
var
520
52.5
var number = 55 + "100" ; number = ?
55100
155
650
45
Which of the following is displayed by the visitor information ?
Navigator Object
Window Object
Screen Object
Location Object
What is the full form of JSON ?
JavaScript Object Nation
JavaScript Style Object Notation
JavaScript Object Notation
JavaScript Style Object Nation
What is the full form of UTC Date ?
Universal Time Coordinated Date
United Time Coordinated Date
United Time Coordin Date
Universal Time Coordina Date
Which of the following is used to test for true or false.
Comparison and Arithmetic Operators
Comparison and Logical operators
Logical operators and Arithmetic Operators
Arithmetic Operators
Which of the following is the multiplication operator?
++
/
?
*
What should write at the end of a statement ?
comma
double quotation
colon
semicolon
Which of the following is used to get out of the loop ?
off
exit
Continue
break
Which of the following is used to perform different tasks based on different conditions ?
logical statements
Loops
Conditional statements
What kind of language is javaScript ?
scripting
markup
server side programming
client side markup