Search
⏱️ Time Left --:--
🏆 Score 0/25
Wrong 0/25
🎯 Accuracy -
📊 Answered 0/25
Overall Progress 0%
Q1
JavaScript is a __ language ?
Q2
If we execute the following code what will be the output ?  
var x = 0;
var y = 1; 
var z = x/y;  
console.log(z);
Q3
What will be the output of the following code ?  
int  m = 10;
char n = 10;

if(m == n){
   return true;
}else{
   return false;
}
Q4
What will be the output of the js code ?  
int  m = 10;

if(m === "10"){
    return true;
}else{
  return false;
}
Q5
What will happen after run following code snippet ?  
//first code
var js_without_function_name = (function(m) {return m*m;}(5));


//second code
function js_without_function_name(m){
  var js = m*m;
}
js_without_function_name(5)
Q6
In which HTML element do we put the JavaScript code?
Q7
Which of the following is the right JavaScript syntax to change the content of the HTML element?

<h2 id="change">Hello change me</h2>    
Q8
What is the right syntax for referring to an external script called "webjourney.js"?    
Q9
External JavaScript file must contain the <script> tag. True or False ?
Q10
what is the correct syntax to write "Hello World" in an alert box?
Q11
How can we call a function named "myFunction" in javaScript?
Q12
What of the following is the correct approach to detect the client's browser name?  
Q13
JavaScript is the same as Java.
Q14
How does a WHILE loop start?  
Q15
How does a FOR loop start in javascript?
Q16
How do you find the number with the highest value of a and b in javascript?
Q17
What will be the value of the bellow variable position?  
let text = "Hello welcome to, webjourney.";
let position = text.indexOf("webjourney");
 
Q18
Which of the bellow one is not a JavaScript Data Types?
Q19
Which software company developed javascript?
Q20
Which of the following is JavaScript ignores?
Q21
What would be the possible result of 2+1+”7″?
Q22
In Javascript which value is responsible to represent no value or no object __
Q23
var person= {name:"Nazmul Hoque", email:"nazmul@ex.com"};
What is the way to delete person name?
Q24
Which of the bellow one is used to prevent the page from reloading?
Q25
 By default all JavaScript variables are object data types__

Quizzes

Categories