Neco 2017 Computer Studies Question 15

Practice objective / multiple choice question 15 from the 2017 Neco Computer Studies examination.

Neco 2017 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 15 NECO • 2017 • COMPUTER_STUDIES • objective

Consider the following HTML fragment and CSS rules.\nHTML:\n```html\n
\n

Hello World

\n
\n```\nCSS:\n```css\n.container p { color: blue !important; }\n#para1 { color: red; }\np.text { color: green; }\ndiv > p { color: yellow; }\```\n(a) What is the final text colour of the paragraph when rendered in a browser?\n(b) The \`.container\` element has a declared width of 800 px, padding of 20 px on each side, a border of 5 px on each side, and a margin of 10 px on each side. Inside it, a child \`
\` has \`width: 50%;\` and padding of 10 px on each side and a border of 2 px on each side. Assuming the default \`box‑sizing: content-box\`, calculate the total rendered width (including padding and border) of the \`.box\` element.

Answer Options

A. a) yellow; b) 408 px
B. a) green; b) 440 px
Correct Answer C. a) blue; b) 424 px
D. a) red; b) 400 px
Correct Answer
C
Correct Option:
a) blue; b) 424 px

About This Question

This is Neco 2017 Computer Studies Question 15. It is one of the objective questions from the 2017 Neco Computer Studies examination.

Difficulty level: Hard .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support