ITPEC IP October 2018 Question 8

Source exam: ITPEC IP October 2018Topic: Algorithm and Programming

ITPEC IP October 2018 — Question 8 of 100

The underlined string is displayed at 11 points. The initial text is 10 points. The outer <B> increases the size to 11, the nested <B> increases it to 12, and the <S> enclosing group-level decreases it by one to 11. Closing tags restore the surrounding level but do not affect this string.

Answer (b)

Why not others:
- 10 ignores the active outer enlargement

- 12 ignores the nested <S> reduction

- 13 treats the size-changing tags as cumulative enlargements

Key rule: For nested formatting, apply every active enclosing tag in order: each <B> adds one point and each <S> subtracts one point.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.