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 Programming Languages and Computer Graphics questions
- Consider a raster system with resolution 640 by 480 . What size is frame buffer (in bytes) for this system to store 12 bits per pixel?
- Consider the following statements regarding 2D transforms in computer graphics: 1 0 [ ] 2 × 2 S1 : is a matrix that reflects 0 −1 2D X (mir…
- In the context of 3D computer graphics, which of the following statements is/are true? P : Orthographic transformations keep parallel lines…
- Using the phong reflectance model, the strength of the specular highlight is determined by the angle between
- If the frame buffer has 10-bits per pixel and 8- bits are allocated for each of the R, G, and B components, then what would be the size of…
- Which homogeneous 2D matrix transforms the figure (a) on the left side to the figure (b) on the right ?