Back to the 2026 paper

Module 3: XML Introduction and Programming

20262m

Consider the following program:

<student roll="101">
  <name>Ravi</name>
</student>

Which statement is correct?

(i) roll is an attribute of the student element
(ii) roll is an element containing 101
(iii) 101 is an XML declaration
(iv) student is an attribute of roll

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.