Javascript in Easy level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. How can we write anything into web page in Javascript?
2. What is the result of the below code? while (i < 5) { i++; if (i == 3) {
3. What is the "variable" value? var variable; if ( true && 12 < 10 ){ variable = 12; } else { variable = 'chicken'; }
4. Which statements below are correct about Javascript?
5. How do you display a message box that says "Hello World"?
6. Where does the HTML page allow you to write javascript?
7. Which is the option below is correct to use WHILE loop?
8. Select the correct IF condition below of Javascript.
9. How to declare a variable in javascript?
10. What is the output of the IF/ELSE command bellow? if (5 > 10) { console.log("Not so sure about this"); } else
11. What function help convert a string to a number?
12. Which company has developed Javascript?
13. What is the return value of bellow code? var num = 23; function evil () { num += 5; } evil(); console.log(num);
14. What is the result of the below block code? age = 18; alert(age);
15. How to rounding 7.25 number to get an integer?
16. Before code Javascript, you have to import the Javascript library to the HTML file? True or false?
17. Javascript is back-end side programming language?
18. Which is the HTML tag allows write javascript code?
19. What is the purpose of Javascript?
20. Is JavaScript case-sensitive?
Next
Previous