Complete the code to identify the basic unit of data storage in a database.
The smallest unit of data storage in a database is called a [1].
A record is the basic unit of data storage representing a single row or tuple in a database table.
Complete the sentence to explain what a page contains in database storage.
A [1] is a fixed-size block of storage that contains multiple records.A page is a fixed-size block of storage on disk or in memory that holds multiple records for efficient data access.
Fix the error in the statement about page layout.
In a page layout, records are stored [1] to each other to maximize space utilization.Records are stored sequentially within a page to maximize space and improve access speed.
Fill both blanks to describe the two main parts of a page layout.
A page layout consists of a [1] area that stores records and a [2] area that stores metadata about the page.
The data area stores the actual records, while the header area stores metadata like page ID and free space info.
Fill all three blanks to complete the dictionary comprehension that maps record IDs to their sizes if size is greater than 100.
record_sizes = { [1]: [2] for [3] in records if [4] > 100 }This comprehension creates a dictionary mapping each record ID (rid) to its size (size) only if the size is greater than 100.