in Education by
The generalised syntax for a real number representation is __________ (a) [digits][.digits][(E|e)[(+|-)]digits] (b) [digits][+digits][(E|e)[(+|-)]digits] (c) [digits][(E|e)[(+|-)]digits] (d) [.digits][digits][(E|e)[(+|-)]digits] I had been asked this question in class test. Question is taken from Types, Values and Variables topic in chapter Lexical Structures of JavaScript Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Correct option is (a) [digits][.digits][(E|e)[(+|-)]digits] The explanation is: Floating-point literals may also be represented using exponential notation: a real number followed by the letter e (or E), followed by an optional plus or minus sign, followed by an integer exponent. This notation represents the real number multiplied by 10 to the power of the exponent.

Related questions

0 votes
    Which syntax is used to describe elements in CSS? (a) Protectors (b) Selectors (c) Both Protectors ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Cookies were originally designed for __________ (a) Client-side programming (b) Server-side programming (c) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    The script tag must be placed in __________ (a) the head tag (b) the head or body (c) the title ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    JavaScript can be written __________ (a) directly into JS file and included into HTML (b) directly on the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    A hexadecimal literal begins with __________ (a) 00 (b) 0x (c) 0X (d) Both 0x and 0X The ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    A function definition expression can be called as __________ (a) Function prototype (b) Function literal (c) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    The var and function are __________ (a) Keywords (b) Declaration statements (c) Data types (d ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    The purpose of extensible attribute is to __________ (a) make all of the own properties of that object non ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
    The property of JSON() method is __________ (a) it can be invoked manually as object.JSON() (b) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    The snippet that filters the filtered set is __________ (a) var t=new FilteredSet(s, {function(s) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
...