Question
In a structured database, which data storage format
would best support hierarchical data with varying levels of nested attributes?Solution
JSON (JavaScript Object Notation) is an ideal data storage format for hierarchical data due to its nested structure, which can accommodate varying levels of attributes within each record. JSON allows data to be stored in a key-value format, where each key can contain another set of key-value pairs, making it flexible and suitable for storing data with multiple levels of depth, such as customer orders with nested items. JSON is commonly used in applications that require flexibility in data representation and is compatible with NoSQL databases, making it an excellent choice for semi-structured data storage. The other options are incorrect because: β’ Option 1 (CSV) lacks the ability to represent hierarchy as it is flat and row-based. β’ Option 2 (SQL) supports structured data but lacks flexibility for complex nested structures. β’ Option 4 (Excel) is also flat and limited in handling nested attributes. β’ Option 5 (NoSQL) is a database type, not a format, though it can store JSON data effectively.
In which year did the city of Allahabad (now Prayagraj) host the first Kumbh Mela after India's independence?
- How many currency note printing presses are owned directly by the Government of India?
Which city was recently declared as the tourism capital of the Country by the government of Nepal ?
Consider the following statements about unemployment:
1. Frictional unemployment occurs due to short-term transitions in the labor market.
What position did India reach in the 2023/24 Global Human Development Index (HDI) by the United Nations Human Development Index (UNDP)?
According to which rating agency recently, the growth rate of Indian IT services industry will be 3-5% in FY 2025?
- Where did the Indian Armed Forces conduct Exercise Desert Hunt 2025?
Where has Defense Minister Rajnath Singh recently inaugurated Navy Bhawan, the new headquarters of the Navy?
Assertion (A): Foreign Direct Investment (FDI) promotes economic growth in developing countries.
Reason (R): FDI brings capital, technology, and ...
Which input device is used for input text, numbers, and commands to the computer?