MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Javascript Multiple Choice
Quiz 1
1
2
3
4
5
6
7
8
9
10
Q.1
What is the purpose of the radix parameter in the parseInt() method?
a) Numeral system not to be used
b) Numeral system to be used
c) Conversion mode
d) Parsing mode
Q.2
What will be the radix value of the parseInt() method when the string begins with 0?
a) 6
b) 7
c) 8
d) 9
Q.3
What is the purpose of the method JSON.parse()?
a) Parses a string to integer
b) Parses a string to JSON
c) Parses a string from JSON to JSON2
d) Parses integer to string
Q.4
What is the return type of the method parseInt()?
a) String
b) Float
c) Integer
d) Date
Q.5
What are the parameters of the method JSON.parse()?
a) text
b) reviver
c) both text and reviver
d) object
Q.6
What will be the radix value of the parseInt() method when the string begins with any other value other thanand 0?
a) 8
b) 9
c) 10
d) 11
Q.7
What kind of an exception will be thrown if the string to parse is not valid JSON?
a) SyntaxError
b) ArrayOutOfBoundException
c) Both SyntaxError and ArrayOutOfBoundException
d) Compilation error
Q.8
Which of the following is a JavaScript Compressor?
a) Esprima
b) UgilifyJS
c) Acron
d) Compressify
Q.9
What is the purpose of the UgilifyJS?
a) Exposes a simple API
b) Minification
c) Both Exposes a simple API and Minification
d) Compilation
Q.10
Which of the following is the fastest JavaScript parser?
a) JSLint
b) Esprima
c) Acron
d) Traceur
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page