N javascript, an object is a container of properties and functions. Properties are identified by ____ and behavior is identified by _____.
Answers
Answer:
Below are the most common JavaScript questions that are asked frequently
(1)Is the following a valid variable definition? var 100apples
No
Yes
Answer:-No
(2)You want to create an alert. Select the correct one
alert('goodbye");
alert('he said "goodbye" ');
alert("goodbye');
Answer:-alert('he said "goodbye" ');
(3)JavaScript has to called inside ________ tags
Either in body or head
head
body
script
Answer:-script
(4)Is the following a valid variable assignment var product cost = 3.45;
No. There should be no space in the variable name
No. Floating numbers are not allowed
Yes. It is valid
Answer:-No. There should be no space in the variable name
(5)What option would you specify when inserting code in a web page? script type="____"
text/language
JavaScript/text
text/JavaScript
Answer:-text/JavaScript
(6)What is the ideal place to load the external JavaScript file in your HTML document
Towards the beginning of the body to load the page along with the JavaScript code
Towards the end of the body to increase the performance of the webpage
Anywhere within the body is good enough
Answer:-Towards the end of the body to increase the performance of the webpage
(7)What is true about variables
7Wonders is a valid variable name to give
% is a valid first character for variable name
Variables are case sensitive
^US is a valid variable name
Answer:-Variables are case sensitive
(8)Select the statement that has correct JavaScript syntax
document.write("text")
alert stop ;
console.log("text");
Answer:-console.log("text");
(9)To display whether a value is a number or not, ____ is used
isNan
NaN
undefined
isundefined
Answer:-isNan
(10)isNan function returns ______ if the argument is not a number otherwise it is ______
False/True
False/False
True / False
True / True
Answer:-True / False
(11)Multiple variables can be created and initialized in a single JavaScript statement
False
True
Answer:-True
Explanation:
Answer:
I think data and functions