Recall & Review
beginner
What is the value of the Roman numeral 'IV'?
The value of 'IV' is 4. 'I' before 'V' means 1 is subtracted from 5.
Click to reveal answer
beginner
Explain the subtraction rule in Roman numerals.
If a smaller numeral appears before a larger one, subtract the smaller from the larger. For example, 'IX' is 9 (10 - 1).
Click to reveal answer
intermediate
What is the integer value of 'MCMXCIV'?
'MCMXCIV' equals 1994. Breakdown: M(1000) + CM(900) + XC(90) + IV(4).
Click to reveal answer
intermediate
In C, how can you map Roman numerals to their integer values efficiently?
Use a function or array to map characters 'I', 'V', 'X', 'L', 'C', 'D', 'M' to 1, 5, 10, 50, 100, 500, 1000 respectively.
Click to reveal answer
beginner
Why do we check the next Roman numeral character when converting to integer?
To decide if we add or subtract the current numeral's value. If the next numeral is larger, subtract current; else add it.
Click to reveal answer
What integer does the Roman numeral 'XL' represent?
✗ Incorrect
'XL' means 10 before 50, so 50 - 10 = 40.
Which Roman numeral represents the number 100?
✗ Incorrect
'C' stands for 100 in Roman numerals.
In Roman to integer conversion, what do you do if the current numeral is smaller than the next one?
✗ Incorrect
If current numeral is smaller than next, subtract it to handle cases like 'IV' or 'IX'.
What is the integer value of 'D' in Roman numerals?
✗ Incorrect
'D' represents 500.
Which of these is NOT a valid Roman numeral?
✗ Incorrect
'IC' is invalid because 'I' cannot be subtracted from 'C' directly.
Describe the step-by-step process to convert a Roman numeral string to an integer.
Think about how subtraction rule affects addition.
You got /5 concepts.
Explain why the Roman numeral 'IX' equals 9 and not 11.
Look at the order of numerals and their values.
You got /4 concepts.
