Moderate

Which of the following data models stores data in rows and columns?

Correct answer: C. Relational data model

  • A. Network data model
  • B. Object data model
  • C. Relational data model
  • D. Hierarchical data model

Explanation

The correct answer is C. Relational data model.Relational data models store data in two-dimensional tables with rows and columns. Each table represents a specific entity or concept, and each row (also called a tuple) represents a record or instance of that entity. Columns (also called attributes) define the characteristics or properties of the entity.Here's why the other options are incorrect:A. Network data model stores data in a more complex structure where records can have multiple parent records. It doesn't use a simple tabular format with rows and columns.B. Object data model represents data using objects, which encapsulate data and the associated operations. While objects can have properties and methods similar to table columns, they don't directly map to a row-and-column structure.D. Hierarchical data model organizes data in a tree-like structure where child records are linked to a single parent record. This parent-child hierarchy differs from the two-dimensional table format used in relational models.

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.

Computer Operator Test Computer Science and IT40 MCQsGAT Subject Computer Science and IT40 MCQsDEO Computer Science and IT35 MCQsNADRA Computer Science and IT30 MCQsJunior Clerk Test Computer Science and IT20 MCQsFBR Computer Science and IT10 MCQsHeadmaster and Headmistress Test Computer Science and IT10 MCQsLecturer Recruitment Test Computer Science and IT10 MCQsPatwari Test Computer Science and IT10 MCQsAJKPSC Computer Science and IT5 MCQsAssistant BS-16 Test Computer Science and IT5 MCQsBPSC Computer Science and IT5 MCQsECP Computer Science and IT5 MCQsEducators SST Test Computer Science and IT5 MCQsFIA Computer Science and IT5 MCQsFPSC Computer Science and IT5 MCQsGBPSC Computer Science and IT5 MCQsIB Computer Science and IT5 MCQsKPPSC Computer Science and IT5 MCQsMES Computer Science and IT5 MCQsNAB Computer Science and IT5 MCQsNational Highways and Motorway Police Test Computer Science and IT5 MCQsPakistan Railways Recruitment Test Computer Science and IT5 MCQsPCS Computer Science and IT5 MCQsPIA Computer Science and IT5 MCQsPPSC Computer Science and IT5 MCQsPunjab Police ASI Test Computer Science and IT5 MCQsPunjab Police Sub Inspector Test Computer Science and IT5 MCQsSNGPL Computer Science and IT5 MCQsSPSC Computer Science and IT5 MCQsWAPDA Computer Science and IT5 MCQsANF Computer Science and IT2 MCQsASF Computer Science and IT2 MCQsCTD Computer Science and IT2 MCQsElite Police Force Test Computer Science and IT2 MCQsPakistan Army Soldier Test Computer Science and IT2 MCQsPakistan Rangers Test Computer Science and IT2 MCQsPERA Force Test Computer Science and IT2 MCQsPunjab Police Constable Test Computer Science and IT2 MCQsRescue 1122 Test Computer Science and IT2 MCQs

Related questions