Quiz Of JavaScript

1. What is Javascript (Just google: wikipedia javascript and read first four paragraphs)

High-level, often just-in-time compiled, and multi-paradigm programming language
Dynamic typing, prototype-based object-orientation programming language
A multi-paradigm language that supports event-driven, functional, and imperative programming styles
All the above

2. Which one is not a type of variable?

boolean
bulbuli
number
string

3. Which method is used to convert a string to an integer?

parseFloat()
parseString()
parseNumber()
parseInt()

4. Which company developed JavaScript? (feel free to google it)

Netscape
Google
Facebook
Firefox

5. Which one is not a mathematical operator in JS?

/
%
*
\

6. What does it mean by writing two plus signs after a number type variable?

Set the value to 0
Increase the value by 1
Decrease the value by 1
White plus toothpaste

7. If you have a var age = 21; and then you write age += 8; now what will be the value of the variable age?

21
8
218
29

8. Which one is an acceptable variable name?

mobile-price
1bookName
user9
“temperature”

9. What will be the output of the code: console.log(17%5)

7
2
5
3