SASS Variables MCQ
Sass MCQ(1) Which of the following character is similar to hyphen (-) symbol ?
A) _ (underscore)
B) Space
C) . (dot)
D) None
Explanation
Underscore symbol is similar hyphen symbol in SASS.
(2) Which of the following is not allowed in SASS variable name ?
A) Colon
B) Space
C) Hyphen
D) Number
Explanation
Space is not allowed but hyphens can be used in SASS variables.
(3) How many times a variable can be used in SASS file ?
A) One
B) Two
C) Three
D) Multiple
Explanation
A variable after declaration can be used multiple times in SASS file.
(4) SASS variables can be used to store which of the following values ?
A) Hexadecimal
B) Numeric
C) Null
D) All
Explanation
Any type of data can store in SASS variables.
(5) In SASS variable name and property is separated by which of the following symbol ?
A) ?
B) : (colon)
C) . (dot)
D) |
Explanation
Colon is used to separate property and value in SASS.
(6) Which of the following symbol is used to declare variable in SASS ?
A) $
B) #
C) @
D) &
Explanation
$ (Dollar) sign is used to declare variables in SASS