All records in a file have the same:
Correct answer: B. Structure
- A. Contents
- B. Structure
- C. Data
- D. File type
Explanation
The correct answer is B. Structure.File Structure refers to the way data is organized within a file. This includes:Data types: The kind of data stored in each field (e.g., numbers, text, dates).Field length: The maximum number of characters allowed for each data field.Delimiters: Special characters used to separate fields (e.g., comma, tab).Record order: How the records are arranged within the file (e.g., chronological, alphabetical).Having a consistent structure allows for efficient storage, retrieval, and manipulation of data within the file.Here's why the other options are incorrect:A. Contents: While all records may contain similar data, they won't necessarily have identical content. For instance, a customer file might have the same structure for storing names, addresses, and phone numbers, but the content of each field will vary between different customer records.C. Data: Data refers to the specific values stored within a file, which can vary between records even if the structure remains the same.D. File type: The file type (.txt, .csv, .docx) specifies the format of the entire file, not necessarily the structure of individual records within the file. Different file types can have different structures for storing data
Last updated
About Databases
Databases cover tables, records, fields, keys and relationships, together with database management systems and relational database design. The subject includes primary and foreign keys, normalization, SQL commands such as SELECT, INSERT, UPDATE and DELETE, queries, forms and reports, while distinguishing a database from a spreadsheet used for simple tabular data.
Practise Databases
210 free Databases MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 40 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.
Related questions
A category of data or information that describes an entity is called
A collection of data that include name, address, phone number etc, of a person:
A collection of raw facts and figures is called:
A constraint between two attributes is called a(n)
A database containing all student in a class would store Roll no of student in: