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.
How many individuals donated over ₹100 crore annually in 2024 as per the EdelGive-Hurun report?
What is the total balance in the Pradhan Mantri Jan Dhan Yojana (PMJDY) accounts as per the RBI's 2023 data?
What is the cash prize awarded to each recipient of the National Florence Nightingale Awards?
Koli dance is a folk dance associated with which Indian state?
Who administered the oath of office to the newly appointed Chief Information Commissioner of India?
Which company built the DSC A20 for the Indian Navy?
What is the projected government debt-to-GDP ratio for India by 2030, as per the same outlook?
In September 2024, what was the share of female borrowers in individual loans as per the RBI Quarterly BSR-1 report?
The government has relaxed the norms for various small savings schemes, including the Public Provident Fund (PPF) and Senior Citizens Savings Scheme.Whi...
Jeevan Dhara, a special savings bank account for pensioners, and prospective pensioners has been launched by which bank in which the Interest rate on sa...