Access-Control-Methods
October 21, 2023
GATE 2014 [Set-2]
October 22, 2023
Access-Control-Methods
October 21, 2023
GATE 2014 [Set-2]
October 22, 2023

Web-Technologies

Question 72
Consider the following statements respect to JavaScript
(i) A variable is created using the keyword
(ii) JavaScript is untyped language
Which of the above are true?
A
Neither (i) nor (ii)
B
Only (i)
C
Only(ii)
D
Both (i) and (ii)
Question 72 Explanation: 
(i)True: Because we are using “var” keyword.
(ii) False: Untyped means the operation of dividing integer by string would result in treating the first four bytes of strings as integer. This is because untyped take place directly on bits, there are no types to observe. Javascript is typed language.
Correct Answer: B
Question 72 Explanation: 
(i)True: Because we are using “var” keyword.
(ii) False: Untyped means the operation of dividing integer by string would result in treating the first four bytes of strings as integer. This is because untyped take place directly on bits, there are no types to observe. Javascript is typed language.

Leave a Reply

Your email address will not be published. Required fields are marked *