MCQ
What is a variable in JavaScript?
Unit-3 Programming Fundamentals
A
A named storage location for a value
B
A type of HTML tag
C
A CSS property
D
A web browser
Explanation
A variable is a named container used to store and refer to values in a program.
Related MCQs
Which tag inserts a line break in HTML?
Unit-3 Programming Fundamentals
View
Which loop counts down correctly from 10 to 1?
Unit-3 Programming Fundamentals
View
Which statement is used to immediately exit a loop in JavaScript?
Unit-3 Programming Fundamentals
View
Which keyword is used to declare a constant value that cannot be changed in JavaScript?
Unit-3 Programming Fundamentals
View
Which tag is used to connect an external CSS file to an HTML document?
Unit-3 Programming Fundamentals
View
What does HTML stand for?
Unit-3 Programming Fundamentals
View