All mock tests are FREE till 31 December — register to save your progress

Which of the following statements is/are true? P : In a scripting language like JavaScript, types are typically associated with values, not variables. Q : It is not possible to show images on a web page without the <img> tag of HTML. Select the correct answer from the options given below :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. P only

Explanation

JavaScript is dynamically typed, so types belong to values (P true). Images can also be shown with CSS backgrounds, <picture>, <canvas> and so on (Q false).

More Data Communication and Computer Networks questions