Lakshya Education MCQs

Question: What does it indicate when the radix value is 16?
Options:
A.String begins with 0x
B.String begins with 0
C.String begins with 0P
D.String begins with FF
Answer: Option A

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. What is the purpose of the radix parameter in the parseInt() method?
  1.    Numeral system not to be used
  2.    Numeral system to be used
  3.    Convertion mode
  4.    None of the mentioned
Answer: Option B
Question 2. What will be the radix value of the parseInt() method when the string begins with 0?
  1.    6
  2.    7
  3.    8
  4.    9
Answer: Option C
Question 3. What is the purpose of the method JSON.parse()?
  1.    Parses a string to integer
  2.    Parses a string to JSON
  3.    Parses a string from JSON to JSON2
  4.    None of the mentioned
Answer: Option B
Question 4. What is the function of the parseInt() method?
  1.    Parses a datatype and stores in an integer
  2.    Parses a string and returns an integer
  3.    Parses an integer and returns a string
  4.    None of the mentioned
Answer: Option B
Question 5. What will be the radix value if the string begins with 0x?
  1.    13
  2.    14
  3.    15
  4.    16
Answer: Option D
Question 6. What will happen if the radix parameter of the parseInt() function is omitted?
  1.    Runs in assumption
  2.    Throws exception
  3.    Aborts
  4.    Taken as 0
Answer: Option A

Check all Questions in this Topic : Click HERE