Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

COMPUTER APPLICATIONS 1.

Assignment 2.

Define the following.

Q.1 Primary key and foreign key

Q.2 Database and Relational database.

Q.4 Referential Integrity

Q.5 Data model and database normalization

Q.6 list three (3) types of relationships that can exist between entities.

ANSWERS

Q.1
A. Primary key
A primary key is one or more columns that uniquely identify each row in a table.

B. Foreign key.
Foreign key is primary key in another table.

Q.3

A. A Field
A field is a single item of data within a database.

E.g. customer name, address etc.

B. Record
Record is a collection of related data contained in one or more files.

Q.3

A. Database

Page 1
NAME: WILLISTON PHILIP KWADWO YEBOAH
INDEX: 215023862
Database is a collection of data that is organized so that its contents can easily be accessed
managed and updated.

B. Rational Database
A relational database (RDB) is a collective set of multiple data sets organized by tables,
records and columns. RDBs establish a well-defined relationship between database tables.
Tabl0es communicate and share information, which facilitates data search ability,
organization and reporting.

Q.4

Referential Integrity is the database concept that ensures that relationship between cables
remains consistent.

Q.5

A. Database model
Data model is organizing data elements and standardizing how the data relates to one another.

B. Database normalization
It Is the process of organizing the fields and tables of a relational database to minimize redundancy.

Q.6

The t0hree types of relationships that can exist between entities are;

 One to one (1:1)

One to many(1:M)

 Many to many (M:M)

Page 2
NAME: WILLISTON PHILIP KWADWO YEBOAH
INDEX: 215023862

You might also like