SlideShare a Scribd company logo
3
Most read
8
Most read
9
Most read
Previous Question Papers
Presented By:
Mohammed Shabeeb KV
No:233
Data model tells how the logical structure of a database
is modeled. Data Models are fundamental entities to
introduce abstraction in DBMS. Data models define how
data is connected to each other and how it will be
processed and stored inside the system.
 Hierarchical Model
 Network Model
 Relational Model
Explain about various data models used to
describe the design of a database?
Hierarchical Model
 The hierarchical data model organizes data in a tree
structure.
 One to many relationship.
 The structure is based on the rule that one parent can
have many children but children are allowed only one
parent.
Network Model
Some data were more naturally modeled with more
than one parent per child. So, the network model
permitted the modelling of many-to-many
relationships in data.
Relational Model
It defines a database as a collection of tables
(relations) which contains all data. Each table has
multiple columns, and each column has a unique
name.
Properties of Relational Tables:
 Values are atomic.
 Each row is unique.
 Column values are of the same kind.
 The sequence of columns is insignificant.
 The sequence of rows is insignificant.
 Each column has a unique name.
Explain about the constraints in SQL?
 SQL constraints are used to specify rules for the data in
table.
 These constraints ensure database integrity and hence
they are often called database integrity constraints.
 The following are the constraints:
NOT NULL
 Column must always have a value.
 It can never be null.
UNIQUE
 No two rows can have the same value for the UNIQUE
KEY column or columns.
PRIMARY KEY
 No two rows in the table can have the same value.
 Primary key cannot contain a NULL value this constraint
must be defined only on the column defined as NOT
NULL.
DEFAULT
 Using this constraint, a default value can be set for a
column, when the user does not enter a value for the
column.
CHECK
 This constraint limits value that can be inserted into a
column of a table.
What is the difference between database
schema and a database instance?
 The overall design of a data base is called a schema.
 The collection of information stored in the database at a
particular moment is called instance of a database or database
state.
 A database schema is corresponds to the variable declaration in
a program.
 Each variable has a particular value at a given instant. The value
of variable in a program at a point in time correspond to an
instance of a database schema.
Explain about view and its advantages?
 Any relation that is not part of the logical model, but is
made visible to a user as a virtual relation is called view.
 A view is a relation that is derived from other relation . These
other relation could be a base relation or previously
defined view.
Advantages:
 View mechanism is that it provide the support for the
logical data independence.
 View are also valuable in the context of security.
 Data integrity.
 Shielding from change.
 Easier querying.
Distinguish between primary key, composite
key and candidate key?
PRIMARY KEY
 It is a candidate key that is used by the data base
designers for unique identification of each row in a
table.
 It can be consist of one or more attribute.
 Eg:- ID key is primary key.
CANDIDATE KEY
 It is defined as minimal super key.
 It is a combination of attribute that identifies the record
uniquely. But no one of it is proper subsets can identify
the records uniquely.
 Eg: 1.ID
2.Name,address
COMPOSITE KEY
 If we use multiple attribute to create a primary key then
that primary key is called composite key.
 Also called compound key or concatenated key.
 Eg:-If we have used second name , address as a
primary key then it will be our composite key.
What is meant by normalization?
Normalization is the process of decomposing
unsatisfactory bad relations by breaking up their
attributes to small relations.
NORMAL FORM
Condition using key & functional dependencies of a
relation to certify whether a relation schema is in a
particular normal form.
Explain the GROUP BY and HAVING clause
in SQL?
GROUP BY
 GROUP BY is an optional clause in a query. It follows
WHERE clause or the FROM clause if the WHERE clause
is missing.
 GROUP BY has the following general format:
GROUP BY column-1 [column-2]
 Each group we consist of tuples that have the same
value of attribute called grouping attribute.
HAVING
 The HAVING clause is associated with grouping queries
and aggregate queries.
 It is optional in both case.
 In grouping queries it follows the GROUP BY clause .
 In aggregate queries HAVING clause follows the WHERE
clause or the FROM clause if the WHERE clause missing.
 The HAVING clause has the following general format:
HAVING predicate
What are the purpose of database system?
Database management systems were developed to
handle the following difficulties of typical file-processing
systems supported by conventional operating systems:
 Data redundancy and inconsistency
 Difficulty in accessing data
 Data isolation – multiple files and formats
 Integrity problems
 Atomicity of updates
 Concurrent access by multiple users
 Security problems
Thank You

More Related Content

DOC
Database Q&A
PPTX
Database Design
PPTX
Student Management System Project Abstract
PDF
Fundamentals of Database Systems Questions and Answers
PPTX
DBMS Notes: DDL DML DCL
PPTX
Transaction processing ppt
PPTX
3 Level Architecture
PPTX
File system vs DBMS
Database Q&A
Database Design
Student Management System Project Abstract
Fundamentals of Database Systems Questions and Answers
DBMS Notes: DDL DML DCL
Transaction processing ppt
3 Level Architecture
File system vs DBMS

What's hot (20)

PPT
Analysis modeling & scenario based modeling
PPTX
Blood Bank Management System (including UML diagrams)
PPT
1. Introduction to DBMS
PPTX
Functional dependencies in Database Management System
DOCX
online blood bank system design
PPTX
View of data DBMS
DOCX
Dbms important questions and answers
PPTX
DBMS ARCHITECTURE.pptx
DOCX
DBMS Assignments Questions
DOCX
DBMS Question bank
PPSX
Student Marks Analyzing System-Problem Statement, SRS, ERD, DFD, Structured C...
PPTX
database recovery techniques
PDF
Full report on blood bank management system
PPTX
Studentmanagementsystem
PPTX
Characteristic of dabase approach
PPTX
Data warehouse architecture
PPT
Data integrity
PPTX
normalization-1.pptx
PPTX
Student information system
Analysis modeling & scenario based modeling
Blood Bank Management System (including UML diagrams)
1. Introduction to DBMS
Functional dependencies in Database Management System
online blood bank system design
View of data DBMS
Dbms important questions and answers
DBMS ARCHITECTURE.pptx
DBMS Assignments Questions
DBMS Question bank
Student Marks Analyzing System-Problem Statement, SRS, ERD, DFD, Structured C...
database recovery techniques
Full report on blood bank management system
Studentmanagementsystem
Characteristic of dabase approach
Data warehouse architecture
Data integrity
normalization-1.pptx
Student information system
Ad

Viewers also liked (20)

PDF
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
PDF
Database Management System And Design Questions
PDF
2009 Punjab Technical University B.C.A Database Management System Question paper
XLS
Dbms Final Examination Answer Key
PDF
Int306 04
PDF
FINAL PAPER FP304 DATABASE SYSTEM
PPT
enhanced er diagram
PDF
Chapter 1 Fundamentals of Database Management System
PPTX
Introduction to database
PPTX
Dbms slides
PPTX
Mobile operating system by Shabeeb
PPT
Database constraints
PPTX
Database Design E R 2009
PDF
Making a simple question into a complicated query
PDF
operating systems previous question papers
PPTX
Ch 17 disk storage, basic files structure, and hashing
PPT
DataBase ch2
PDF
Hvdc Transmission Jntu Model Paper{Www.Studentyogi.Com}
PPTX
Database design
PPTX
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
Database Management System And Design Questions
2009 Punjab Technical University B.C.A Database Management System Question paper
Dbms Final Examination Answer Key
Int306 04
FINAL PAPER FP304 DATABASE SYSTEM
enhanced er diagram
Chapter 1 Fundamentals of Database Management System
Introduction to database
Dbms slides
Mobile operating system by Shabeeb
Database constraints
Database Design E R 2009
Making a simple question into a complicated query
operating systems previous question papers
Ch 17 disk storage, basic files structure, and hashing
DataBase ch2
Hvdc Transmission Jntu Model Paper{Www.Studentyogi.Com}
Database design
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Ad

Similar to Previous question papers of Database Management System (DBMS) By SHABEEB (20)

PPTX
Unit 2 DBMS.pptx
PPTX
Chapter-5 The Relational Data Model
PPTX
RELATIONALfsaaaaaaaaaaaakyagsgs MODEL.pptx
PPTX
Relational database Management system.pptx
PPTX
DBMS (1).pptx
PPTX
Database Concepts.pptx
PPTX
Data resource management
PPTX
database concepts.pptx
PDF
Relational database management system
PPTX
Relational Database Management System part II
PDF
Database_Concepts_Final.pptx.pdf for class 12
PPTX
DEE 431 Database keys and Normalisation Slide 2
PPTX
DATABASE-1.pptx
PDF
Reviewing basic concepts of relational database
PPTX
DBMS
PPTX
DBMS:Relational Modal
ODP
BIS06 Physical Database Models
ODP
BIS06 Physical Database Models
PDF
RDBMS with MySQL
PPTX
DATABASE MANAGMENT SYSTEM (DBMS) AND SQL
Unit 2 DBMS.pptx
Chapter-5 The Relational Data Model
RELATIONALfsaaaaaaaaaaaakyagsgs MODEL.pptx
Relational database Management system.pptx
DBMS (1).pptx
Database Concepts.pptx
Data resource management
database concepts.pptx
Relational database management system
Relational Database Management System part II
Database_Concepts_Final.pptx.pdf for class 12
DEE 431 Database keys and Normalisation Slide 2
DATABASE-1.pptx
Reviewing basic concepts of relational database
DBMS
DBMS:Relational Modal
BIS06 Physical Database Models
BIS06 Physical Database Models
RDBMS with MySQL
DATABASE MANAGMENT SYSTEM (DBMS) AND SQL

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Insiders guide to clinical Medicine.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Cell Structure & Organelles in detailed.
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Types and Its function , kingdom of life
human mycosis Human fungal infections are called human mycosis..pptx
Complications of Minimal Access Surgery at WLH
PPH.pptx obstetrics and gynecology in nursing
Abdominal Access Techniques with Prof. Dr. R K Mishra
Insiders guide to clinical Medicine.pdf
Anesthesia in Laparoscopic Surgery in India
Cell Structure & Organelles in detailed.
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
RMMM.pdf make it easy to upload and study
TR - Agricultural Crops Production NC III.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
FourierSeries-QuestionsWithAnswers(Part-A).pdf
GDM (1) (1).pptx small presentation for students
Microbial diseases, their pathogenesis and prophylaxis
2.FourierTransform-ShortQuestionswithAnswers.pdf

Previous question papers of Database Management System (DBMS) By SHABEEB

  • 1. Previous Question Papers Presented By: Mohammed Shabeeb KV No:233
  • 2. Data model tells how the logical structure of a database is modeled. Data Models are fundamental entities to introduce abstraction in DBMS. Data models define how data is connected to each other and how it will be processed and stored inside the system.  Hierarchical Model  Network Model  Relational Model Explain about various data models used to describe the design of a database?
  • 3. Hierarchical Model  The hierarchical data model organizes data in a tree structure.  One to many relationship.  The structure is based on the rule that one parent can have many children but children are allowed only one parent.
  • 4. Network Model Some data were more naturally modeled with more than one parent per child. So, the network model permitted the modelling of many-to-many relationships in data.
  • 5. Relational Model It defines a database as a collection of tables (relations) which contains all data. Each table has multiple columns, and each column has a unique name. Properties of Relational Tables:  Values are atomic.  Each row is unique.  Column values are of the same kind.  The sequence of columns is insignificant.  The sequence of rows is insignificant.  Each column has a unique name.
  • 6. Explain about the constraints in SQL?  SQL constraints are used to specify rules for the data in table.  These constraints ensure database integrity and hence they are often called database integrity constraints.  The following are the constraints: NOT NULL  Column must always have a value.  It can never be null.
  • 7. UNIQUE  No two rows can have the same value for the UNIQUE KEY column or columns. PRIMARY KEY  No two rows in the table can have the same value.  Primary key cannot contain a NULL value this constraint must be defined only on the column defined as NOT NULL. DEFAULT  Using this constraint, a default value can be set for a column, when the user does not enter a value for the column. CHECK  This constraint limits value that can be inserted into a column of a table.
  • 8. What is the difference between database schema and a database instance?  The overall design of a data base is called a schema.  The collection of information stored in the database at a particular moment is called instance of a database or database state.  A database schema is corresponds to the variable declaration in a program.  Each variable has a particular value at a given instant. The value of variable in a program at a point in time correspond to an instance of a database schema.
  • 9. Explain about view and its advantages?  Any relation that is not part of the logical model, but is made visible to a user as a virtual relation is called view.  A view is a relation that is derived from other relation . These other relation could be a base relation or previously defined view. Advantages:  View mechanism is that it provide the support for the logical data independence.  View are also valuable in the context of security.  Data integrity.  Shielding from change.  Easier querying.
  • 10. Distinguish between primary key, composite key and candidate key? PRIMARY KEY  It is a candidate key that is used by the data base designers for unique identification of each row in a table.  It can be consist of one or more attribute.  Eg:- ID key is primary key.
  • 11. CANDIDATE KEY  It is defined as minimal super key.  It is a combination of attribute that identifies the record uniquely. But no one of it is proper subsets can identify the records uniquely.  Eg: 1.ID 2.Name,address
  • 12. COMPOSITE KEY  If we use multiple attribute to create a primary key then that primary key is called composite key.  Also called compound key or concatenated key.  Eg:-If we have used second name , address as a primary key then it will be our composite key.
  • 13. What is meant by normalization? Normalization is the process of decomposing unsatisfactory bad relations by breaking up their attributes to small relations. NORMAL FORM Condition using key & functional dependencies of a relation to certify whether a relation schema is in a particular normal form.
  • 14. Explain the GROUP BY and HAVING clause in SQL? GROUP BY  GROUP BY is an optional clause in a query. It follows WHERE clause or the FROM clause if the WHERE clause is missing.  GROUP BY has the following general format: GROUP BY column-1 [column-2]  Each group we consist of tuples that have the same value of attribute called grouping attribute.
  • 15. HAVING  The HAVING clause is associated with grouping queries and aggregate queries.  It is optional in both case.  In grouping queries it follows the GROUP BY clause .  In aggregate queries HAVING clause follows the WHERE clause or the FROM clause if the WHERE clause missing.  The HAVING clause has the following general format: HAVING predicate
  • 16. What are the purpose of database system? Database management systems were developed to handle the following difficulties of typical file-processing systems supported by conventional operating systems:  Data redundancy and inconsistency  Difficulty in accessing data  Data isolation – multiple files and formats  Integrity problems  Atomicity of updates  Concurrent access by multiple users  Security problems