Units & Values interview questions

18 Units & Values questions from the CSS bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Sign up free to see every answer with its explanation and ask the AI tutor.

Practice Units & Values free

1. What is rem unit?

Junior
  1. A.a length relative to the font size of the root html element
  2. B.a length equal to the advance width of the zero character in the current font
  3. C.a value computed relative to a corresponding dimension of the containing block
  4. D.a length relative to the font size of the current element

Answer + AI explanation with a free account

2. Which term means: "a length relative to the font size of the root html element"?

Junior
  1. A.ch unit
  2. B.rem unit
  3. C.percentage length
  4. D.em unit

Answer + AI explanation with a free account

3. Which statement is correct?

Junior
  1. A.rem unit — a length relative to the font size of the root html element
  2. B.rem unit — a viewport-relative length equal to one percent of the viewport height
  3. C.rem unit — a value computed relative to a corresponding dimension of the containing block
  4. D.rem unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse

Answer + AI explanation with a free account

4. What is em unit?

Junior
  1. A.a value computed relative to a corresponding dimension of the containing block
  2. B.a length equal to the advance width of the zero character in the current font
  3. C.a length relative to the font size of the current element
  4. D.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse

Answer + AI explanation with a free account

5. Which term means: "a length relative to the font size of the current element"?

Junior
  1. A.em unit
  2. B.rem unit
  3. C.dvh unit
  4. D.percentage length

Answer + AI explanation with a free account

6. Which statement is correct?

Junior
  1. A.em unit — a length relative to the font size of the current element
  2. B.em unit — a length relative to the font size of the root html element
  3. C.em unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  4. D.em unit — a length equal to the advance width of the zero character in the current font

Answer + AI explanation with a free account

7. What is vh unit?

Junior
  1. A.a length relative to the font size of the root html element
  2. B.a viewport-relative length equal to one percent of the viewport height
  3. C.a value computed relative to a corresponding dimension of the containing block
  4. D.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse

Answer + AI explanation with a free account

8. Which term means: "a viewport-relative length equal to one percent of the viewport height"?

Junior
  1. A.dvh unit
  2. B.vh unit
  3. C.percentage length
  4. D.em unit

Answer + AI explanation with a free account

9. Which statement is correct?

Junior
  1. A.vh unit — a value computed relative to a corresponding dimension of the containing block
  2. B.vh unit — a viewport-relative length equal to one percent of the viewport height
  3. C.vh unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  4. D.vh unit — a length equal to the advance width of the zero character in the current font

Answer + AI explanation with a free account

10. What is ch unit?

Mid
  1. A.a value computed relative to a corresponding dimension of the containing block
  2. B.a length equal to the advance width of the zero character in the current font
  3. C.a length relative to the font size of the root html element
  4. D.a length relative to the font size of the current element

Answer + AI explanation with a free account

11. Which term means: "a length equal to the advance width of the zero character in the current font"?

Mid
  1. A.dvh unit
  2. B.vh unit
  3. C.ch unit
  4. D.percentage length

Answer + AI explanation with a free account

12. Which statement is correct?

Mid
  1. A.ch unit — a value computed relative to a corresponding dimension of the containing block
  2. B.ch unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  3. C.ch unit — a length relative to the font size of the current element
  4. D.ch unit — a length equal to the advance width of the zero character in the current font

Answer + AI explanation with a free account

13. What is dvh unit?

Senior
  1. A.a value computed relative to a corresponding dimension of the containing block
  2. B.a length relative to the font size of the root html element
  3. C.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  4. D.a length relative to the font size of the current element

Answer + AI explanation with a free account

14. Which term means: "a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse"?

Senior
  1. A.dvh unit
  2. B.em unit
  3. C.vh unit
  4. D.percentage length

Answer + AI explanation with a free account

15. Which statement is correct?

Senior
  1. A.dvh unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  2. B.dvh unit — a length relative to the font size of the root html element
  3. C.dvh unit — a value computed relative to a corresponding dimension of the containing block
  4. D.dvh unit — a viewport-relative length equal to one percent of the viewport height

Answer + AI explanation with a free account

16. What is percentage length?

Mid
  1. A.a length equal to the advance width of the zero character in the current font
  2. B.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  3. C.a value computed relative to a corresponding dimension of the containing block
  4. D.a viewport-relative length equal to one percent of the viewport height

Answer + AI explanation with a free account

17. Which term means: "a value computed relative to a corresponding dimension of the containing block"?

Mid
  1. A.rem unit
  2. B.percentage length
  3. C.ch unit
  4. D.dvh unit

Answer + AI explanation with a free account

18. Which statement is correct?

Mid
  1. A.percentage length — a length equal to the advance width of the zero character in the current font
  2. B.percentage length — a viewport-relative length equal to one percent of the viewport height
  3. C.percentage length — a length relative to the font size of the root html element
  4. D.percentage length — a value computed relative to a corresponding dimension of the containing block

Answer + AI explanation with a free account

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.

Practice Units & Values free
24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers