Which attribute specifies a unique alphanumeric identifier to be associated with an element?
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
The "function" and " var" are known as:
The "function" and " var" are known as:
Which of the following is the correct output for the following JavaScript code:
- Int x=8;
- if(x>9)
- {
- document.write(9);
- }
- else
- {
- document.write(x);
- }
Which of the following is the correct output for the following JavaScript code:
- Int x=8;
- if(x>9)
- {
- document.write(9);
- }
- else
- {
- document.write(x);
- }
Which of the following is the correct output for the following JavaScript code:
- var grade='C';
- var result;
- switch(grade)
- {
- case'A':
- {
- result+="10";
- break;
- }
- case'B':
- {
- result+=" 9";
- break;
- }
- case'C':
- {
- result+=" 8";
- break;
- }
- default:
- result+=" 0";
- }
- document.write(result);
Which of the following is the correct output for the following JavaScript code:
- var grade='C';
- var result;
- switch(grade)
- {
- case'A':
- {
- result+="10";
- break;
- }
- case'B':
- {
- result+=" 9";
- break;
- }
- case'C':
- {
- result+=" 8";
- break;
- }
- default:
- result+=" 0";
- }
- document.write(result);
Which of the following is the correct output for the following JavaScript code:
- var grade='D';
- var result;
- switch(grade)
- {
- case'A':
- result+="10";
- case'B':
- result+=" 9";
- case'C':
- result+=" 8";
- case 'D'
- result+=" 6";
- default:
- result+=" 0";
- }
- document.write(result);
Which of the following is the correct output for the following JavaScript code:
- var grade='D';
- var result;
- switch(grade)
- {
- case'A':
- result+="10";
- case'B':
- result+=" 9";
- case'C':
- result+=" 8";
- case 'D'
- result+=" 6";
- default:
- result+=" 0";
- }
- document.write(result);
Which of the following is the correct output for the following JavaScript code:
- var x=3;
- var y=2;
- var z=0;
- If(x==y)
- document.write(x);
- elseif(x==y)
- document.write(x);
- else
- document.write(z);
Which of the following is the correct output for the following JavaScript code:
- var x=3;
- var y=2;
- var z=0;
- If(x==y)
- document.write(x);
- elseif(x==y)
- document.write(x);
- else
- document.write(z);
Which of the following is the correct output for the following JavaScript code:
- var grade='Z';
- var result;
- switch(grade)
- {
- case'A':
- result+="10";
- case'B':
- result+=" 9";
- case'C':
- result+=" 8";
- default:
- result+=" 0";
- }
- document.write(result);
Which of the following is the correct output for the following JavaScript code:
- var grade='Z';
- var result;
- switch(grade)
- {
- case'A':
- result+="10";
- case'B':
- result+=" 9";
- case'C':
- result+=" 8";
- default:
- result+=" 0";
- }
- document.write(result);
Which of the following variables takes precedence over the others if the names are the same?
Which of the following variables takes precedence over the others if the names are the same?
Which of the following type of a variable is volatile?
Which of the following type of a variable is volatile?
Which one of the following is the correct way for calling the JavaScript code?
Which one of the following is the correct way for calling the JavaScript code?
.
Which of the following option is used as hexadecimal literal beginning?
.
Which of the following option is used as hexadecimal literal beginning?
When interpreter encounters an empty statements, what it will do:
When interpreter encounters an empty statements, what it will do:
In JavaScript, what is a block of statement?
In JavaScript, what is a block of statement?
In the following given syntax of the switch statement, the Expression is compared with the labels using which one of the following operators?
- switch(expression)
- {
- statements
- }
In the following given syntax of the switch statement, the Expression is compared with the labels using which one of the following operators?
- switch(expression)
- {
- statements
- }
Which of the following is an HTML specification used to add more information to HTML tags?
Which of the following is an HTML specification used to add more information to HTML tags?
Which HTML element is used for YouTube videos?
Which HTML element is used for YouTube videos?
Which of the following HTML element is used for canvas graphics?
Which of the following HTML element is used for canvas graphics?
Which of these elements in HTML can be used for making a text bold?
Which of these elements in HTML can be used for making a text bold?
Which type of JavaScript language is ___
Which type of JavaScript language is ___
How to create a hyperlink in HTML?
How to create a hyperlink in HTML?
which tag do we use to define the options present in the drop-down selection lists?
which tag do we use to define the options present in the drop-down selection lists?
Which of the following is the correct output for the following JavaScript code:
- varx=5,y=1
- var obj ={ x:10}
- with(obj)
- {
- alert(y)
- }
Which of the following is the correct output for the following JavaScript code:
- varx=5,y=1
- var obj ={ x:10}
- with(obj)
- {
- alert(y)
- }
Which one of the following also known as Conditional Expression:
Which one of the following also known as Conditional Expression:
.
Among the following given JavaScript snipped codes, which is more efficient:
Code A
- for(var number=10;number>=1;number--)
- {
- document.writeln(number);
- }
Code B
- var number=10;
- while(number>=1)
- {
- document.writeln(number);
- number++;
- }
.
Among the following given JavaScript snipped codes, which is more efficient:
Code A
- for(var number=10;number>=1;number--)
- {
- document.writeln(number);
- }
Code B
- var number=10;
- while(number>=1)
- {
- document.writeln(number);
- number++;
- }
In the JavaScript, which one of the following is not considered as an error:
In the JavaScript, which one of the following is not considered as an error:
Which of the following givenfunctions of the Number Object formats a number with a different number of digits to the right of the decimal?
Which of the following givenfunctions of the Number Object formats a number with a different number of digits to the right of the decimal?
Which one of the following is used for the calling a function or a method in the JavaScript:
Which one of the following is used for the calling a function or a method in the JavaScript:
The "new Point(3,2)", is a kind of _______ expression
The "new Point(3,2)", is a kind of _______ expression
Which one of the following operator is used to check weather a specific property exists or not:
Which one of the following operator is used to check weather a specific property exists or not:
.
Which of the following is the correct output for the following JavaScript code:
- function display1(option)
- {
- return(option ? "true" : "false");
- }
- bool ans=true;
- console.log(display1(ans));
.
Which of the following is the correct output for the following JavaScript code:
- function display1(option)
- {
- return(option ? "true" : "false");
- }
- bool ans=true;
- console.log(display1(ans));
Which one of the following is correct output for the following given JavaScript code:
- var obj=
- {
- length:20,
- height:35,
- }
- if('breadth' in obj === false)
- {
- obj.breadth = 12;
- }
-
- console.log(obj.breadth);
Which one of the following is correct output for the following given JavaScript code:
- var obj=
- {
- length:20,
- height:35,
- }
- if('breadth' in obj === false)
- {
- obj.breadth = 12;
- }
-
- console.log(obj.breadth);
Which one of the following is correct output for the following given JavaScript code:
- functionoutputfun(object)
- {
- var place=object ?object.place: "Italy";
- return "clean:"+ place;
- }
- console.log(outputfun({place:India}));
Which one of the following is correct output for the following given JavaScript code:
- functionoutputfun(object)
- {
- var place=object ?object.place: "Italy";
- return "clean:"+ place;
- }
- console.log(outputfun({place:India}));
Which one of the following is correct output for the following given JavaScript code
Which one of the following is correct output for the following given JavaScript code
What we will get if we compare the "one" with "8" using the less than operator ("one"<8)?
What we will get if we compare the "one" with "8" using the less than operator ("one"<8)?
Which one of the following is known as the Equality operator, which is used to check whether the two values are equal or not:
Which one of the following is known as the Equality operator, which is used to check whether the two values are equal or not:
Which one of the following operator returns false if both values are equal?
Which one of the following operator returns false if both values are equal?
Which one of the following is an ternary operator:
Which one of the following is an ternary operator:
"An expression that can legally appear on the left side of an assignment expression." is a well known explanation for variables, properties of objects, and elements of arrays. They are called_____.
"An expression that can legally appear on the left side of an assignment expression." is a well known explanation for variables, properties of objects, and elements of arrays. They are called_____.
Which of the following one is the property of the primary expression:
Which of the following one is the property of the primary expression:
Choose the correct snippet from the following to check if the variable "a" is not equal the "NULL":
Choose the correct snippet from the following to check if the variable "a" is not equal the "NULL":
In JavaScript the x===y statement implies that:
In JavaScript the x===y statement implies that:
which of the following number object function returns the value of the number
which of the following number object function returns the value of the number
Which of the following function of the String object returns the character in the string starting at the specified position via the specified number of characters?
Which of the following function of the String object returns the character in the string starting at the specified position via the specified number of characters?
See the given code of JavaScript and choose the correct output from the following:
- functioncomparing()
- {
- intx=9;
- chary=9;
- if(x==y)
- returntrue;
- else
- returnfalse;
- }
See the given code of JavaScript and choose the correct output from the following:
- functioncomparing()
- {
- intx=9;
- chary=9;
- if(x==y)
- returntrue;
- else
- returnfalse;
- }
What will be the output of the following JavaScript code?
- functioncomparison()
- {
- int number=10;
- if(number==="10")
- returntrue;
- else
- returnfalse;
- }
What will be the output of the following JavaScript code?
- functioncomparison()
- {
- int number=10;
- if(number==="10")
- returntrue;
- else
- returnfalse;
- }
Find out the correct output of the following given piece of code from the given options:
- functionfun()
- {
- int y=10;
- char z=10;
- if(y.tostring()===z)
- returntrue;
- else
- returnfalse;
- }
Find out the correct output of the following given piece of code from the given options:
- functionfun()
- {
- int y=10;
- char z=10;
- if(y.tostring()===z)
- returntrue;
- else
- returnfalse;
- }
See the given code of JavaScript and choose the correct output from the following:
- var string1 = "40";
- varvalueinit=50;
- alert( string1 +intvalue);
See the given code of JavaScript and choose the correct output from the following:
- var string1 = "40";
- varvalueinit=50;
- alert( string1 +intvalue);
Consider the following snippet of JavaScript code:
- var text ="testing: 1, 2, 3";// Sample text
- var pattern =/\d+/g// Matches all instances of one or more digits
Which one of the following statement is most suitable to check if the pattern matches with the sting "text".
Consider the following snippet of JavaScript code:
- var text ="testing: 1, 2, 3";// Sample text
- var pattern =/\d+/g// Matches all instances of one or more digits
Which one of the following statement is most suitable to check if the pattern matches with the sting "text".
In JavaScript, what will be used for calling the function definition expression:
In JavaScript, what will be used for calling the function definition expression:
In a case, where the value of the operator is NULL , the typeof returned by the unary operator is___.
In a case, where the value of the operator is NULL , the typeof returned by the unary operator is___.