Question
Download Solution PDFWhich of the following statements is correct?
This question was previously asked in
Beltron Programmer 1 Oct 2023 Official Paper
Answer (Detailed Solution Below)
Option 2 : It is possible to create custom tags in XML.
Free Tests
View all Free tests >
Beltron Programmer Mock Test
0.8 K Users
20 Questions
20 Marks
24 Mins
Detailed Solution
Download Solution PDFThe correct answer is Option 2) It is possible to create custom tags in XML..
Key Points
- XML (eXtensible Markup Language) allows users to define their own custom tags that describe the data meaningfully.
- This flexibility is what makes XML powerful for data storage, transfer, and configuration.
- Unlike HTML, which has predefined tags, XML enables you to create tags that fit the context of your application — e.g.,
<student><name>John</name></student>
. - This makes XML widely used for configuration files, data interchange formats (e.g., between server and client), and more.
Additional Information
- Option 1 – Incorrect: XML can be used for interprocess communication, especially in web services and APIs (e.g., SOAP uses XML).
- Option 3 – Incorrect: Browsers already have built-in XML parsers. You don’t always need to create custom XML reader/writer classes.
- Option 4 – Incorrect: XML supports nesting of tags. In fact, proper nesting is required for XML to be well-formed.
- Key features of XML:
- Custom tags
- Hierarchical structure with nesting
- Platform-independent data exchange
- Strict syntax rules (must be well-formed)
Last updated on Nov 25, 2024
-> BELTRON Programmer 2024 Notification has been released on the official website.
-> The Bihar State Electronics Development Corporation Limited (BELTRON) has announced a recruitment drive for Programmer positions on a contractual basis.
-> Specific vacancy details will be shared separately.
-> Interested candidates can apply online from November 11, 2024, to December 10, 2024.
-> The Minimum age of the candidates should be 21 years and maximum age should be 59 year of age.