Chapter 13 Database Concepts
Chapter 13 Database Concepts
Chapter-13
DATABASE CONCEPTS
One Mark Questions:
1. What is data?
Data is a collection of facts, numbers, letters or symbols that the computer process into
meaningful information.
2. What is Information?
Information is processed data, stored, or transmitted by a computer.
3. What is Database?
A Database is a collection of logically related data organized in a way that data can be easily
accessed, managed and updated.
4. What is a field?
Each column is identified by a distinct header called attribute or filed.
5. What is a record?
A single entry in a table is called a record or row. A record in a table represents set of related
data.
Records are also called the tuple.
6. What is an entity?
An Entity can be any object, place, person or class.
In E-R Diagram, an entity is represented using rectangles.
7. What is an instance?
The collection of information stored in the database at a particular moment is called an
instance of the database.
8. What is an attribute?
It is defined as a named column of a relation.
Ex: In STUDENT table, Regno, Name, Age, Class, Combination and Marks.
9. What is domain?
It is defined as a set of allowed values for one or more attributes.
10. What is a relation?
A relation is defined as a table with columns and rows. Data can be stored in the form of a two-
dimensional table.
1|Page
Chapter 13- Database Concepts
2|Page
Chapter 13- Database Concepts
System Analysts
o System analysts determine the requirement of end users; (especially naïve users), to create
a solution for their business need and focus on non-technical and technical aspects.
Application programmers
o These are the computer professionals who implement the specifications given by the
system analysts and develop the application programs.
Database Administrators (DBA)
o DBA is a person who has central control over both data and application.
o Some of the responsibilities of DBA are authorization access, schema definition and
modification, new software installation and security enforcement and administration.
5. What is the difference between serial and direct access file organization.
Serial File Organization:
Organization is continuous and simple.
Data processing, which requires the use of all records, is best suited to use this method.
Direct Access File Organization
3|Page
Chapter 13- Database Concepts
4|Page
Chapter 13- Database Concepts
Alternate Key
The alternate key of any table are those candidate keys which are not currently selected as the
primary key.
This is also known as secondary key.
Foreign key
A key used to link two tables together is called a foreign key.
This is sometimes called a referencing key.
Foreign key is a field that matches the primary key column of another table.
5|Page
Chapter 13- Database Concepts
The above example describes that one student can enroll only for one course and a course
will also have only one Student. This is not what you will usually see in relationship.
2. One to Many:
It reflects business rule that one entity is associated with many number of same entity.
For example, Student enrolls for only one Course but a Course can have many Students.
The arrows in the diagram describes that one student can enroll for only one course.
3. Many to Many:
The above diagram represents that many students can enroll for more than one course.
6|Page
Chapter 13- Database Concepts
7|Page
Chapter 13- Database Concepts
Reg_No Combination
101 PCMB
140 PCMC
110 CEBA
121 PCMB
18. What is Data warehouse?
A data ware house is a repository of an organization's electronically stored data.
Data warehouse are designed to facilitate reporting and supporting data analysis.
The concept of data warehouses was introduced in late 1980's.
8|Page
Chapter 13- Database Concepts
Data storage: Data and information should be stored in memory so that it can be accessed
later.
Output: The result obtained after
processing the data must be presented
to the user in user understandable
form. The output can be generated in
the form of report as hard copy or soft
copy.
Communication: Computers now-a-
days have communication ability
which increases their power. With
wired or wireless communication connections, data may be input from a far place, processed in
a remote area and stored in several different places and then transmitted by modem as an e-
mail or posted to the website where the online services are rendered.
9|Page
Chapter 13- Database Concepts
Physical Level:
o It is the lowest level of abstraction that
describes how the data are actually stored.
o The physical level describes complex low-
level data structures in detail.
o It contains the definition of stored record and
method of representing the data fields and
access aid used.
Conceptual Level:
o It is the next higher level of abstraction that
describes what data are stored in the database and what relationships exist among those
data.
o It also contains the method of deriving the objects in the conceptual view from the objects
in the internal view.
View Level:
o It is the highest level of abstraction that describes only part of the entire database.
o It also contains the method of deriving the objects in the external view from the objects in
the conceptual view.
10 | P a g e
Chapter 13- Database Concepts
11 | P a g e
Chapter 13- Database Concepts
12 | P a g e
Chapter 13- Database Concepts
13 | P a g e
Chapter 13- Database Concepts
Important Questions
One Marks Questions:
1. Define Primary key [March 2015]
2. What is a database? [June 2015, June 2016]
3. Define Data Mining. [March 2016]
4. Define an Entity. [March 2017, June 2017]
14 | P a g e
Chapter 13- Database Concepts
Extra Questions:
7. What is normalization? Explain second normal form with an example.
8. What is database model? Explain Hierarchical model.
9. Define any 5 Codd’s rule.
10. Explain 3-level DBMS architecture.
****************
15 | P a g e