Professional Documents
Culture Documents
Semester IV
Total Marks 40
Practical Marks
PV: Practical Viva
Practical viva will be conducted through group task. Thereafter viva will be conducted
individually based on the given task of the concerned subject.
ic
40 44 4.5 D
35 39 4.0 E Pass Class
less than 35 0 F Fail
hn
The performance of a student in a semester is indicated by a number called SPI (Semester
Performance Index). The SPI is the weighted average of the grade points obtained in all the subjects
taken by the student during the semester. Example: Suppose in a given semester a student has taken
ec
subjects having credits C1, C2, C3, C4, C5..... And the numerical equivalent of grades obtained in
those subjects are G1, G2, G3, G4, and G5 respectively.
yt
Grade Points Earned ∑𝑛
𝑖=1 𝐶𝑖 𝐺𝑖
Then his/her SPI = Total Offered Credits = ∑𝑛
𝑖=1 𝐶𝑖
SPI will be calculated (after re-examination, if any) up to two decimal places on the basis of the final
ol
grades.
An overall assessment from the time the student entered the course is obtained by calculating PPI
P
(Progressive Performance Index). The PPI is the weighted average of the grade points obtained in
all the subjects taken by the student since he/she entered the course. It is calculated in the same
manner as the SPI. The CGPA (Cumulative Grade Points Average) is the weighted average of the
LJ
grade points obtained in all the subjects in the last six semesters of the course.
Detention:
Formula for conversion of equivalent percentage of PPI
An equation to find equivalence between PPI or CGPA may be obtained as follows:
Percentage Marks = (PPI or CGPA — 0.5) x 10. SPI or PPI or CGPA equivalent class shall be as
follows:
Below 4.00 : Fail
4.00 – 4.49 : Pass Class
4.50 – 5.50 : Second Class
5.51 – 6.00 : Higher Second Class
6.01 – 7.49 : Firsrt Class
7.50 and above : First Class with Distinction
For all courses, where the duration of the course is more than 2 years, the degree shall be awarded
to the students on the basis of CGPA of the last six semester's performance in the exams.
In case of the courses where duration is of two years, the degree shall be awarded to students based
on PPI considering the performance in all four semesters.
About Bloom’s Taxonomy
Bloom’s Taxonomy is a classification of the different objectives and skills that educators set for
their students (learning objectives). The taxonomy was proposed in 1956 by Benjamin Bloom, an
educational psychologist at the University of Chicago. The terminology has been recently updated
to include the following six levels of learning. These 6 levels can be used to structure the learning
objectives, lessons, and assessments of your course.
1. Remembering: Retrieving, recognizing, and recalling relevant knowledge from long‐term
memory.
2. Understanding: Constructing meaning from oral, written, and graphic messages through
interpreting, exemplifying, classifying, summarizing, inferring, comparing, and explaining.
3. Applying: Carrying out or using a procedure for executing, or implementing.
4. Analyzing: Breaking material into constituent parts, determining how the parts relate to one
another and to an overall structure or purpose through differentiating, organizing, and
attributing.
5. Evaluating: Making judgments based on criteria and standards through checking and
critiquing.
6. Creating: Putting elements together to form a coherent or functional whole; reorganizing
elements into a new pattern or structure through generating, planning, or producing.
ADVANCED DATABASE MANAGEMENT SYSTEM
ADVANCED DATABASE
MANAGEMENT SYSTEM
LJ Polytechnic
ADVANCED DATABASE MANAGEMENT SYSTEM
Course
Course Name Advanced Database Management System
Course Type HSSC BSC ESC PCC OEC PEC
Legends: HSSC: Humanities and Social Sciences Courses
BSC: Basic Science Courses
ESC: Engineering Science Courses
PCC: Program Core Courses
OEC: Open Elective Courses
PEC: Program Elective Courses
LJ Polytechnic
ADVANCED DATABASE MANAGEMENT SYSTEM
Contents
%
Unit Learning
Topics Sub-Topics Weight Hours
No. Outcomes
age
• Basics of
Function
Dependency(
FD)
• Fully
Function
Dependency(
FFD)
1.1. Introduction
1.2. Functional • Armstrong’s
Function
Dependency Axioms for
Dependency
1.3. Fully Function
1 and 10 6
Functional Dependency
Decompositi
Dependency
on
1.4. Decomposition • Redudant
and its types functional
dependencies
• Concept of
Decompositi
on and types
of
Decompositi
on
• Normalizatio
n
• Various types
2.1.Introduction of Normal
2.2.Normalization Forms
2.3.Types of Normal i.1st Normal
Normalizati
2 Forms Form 10 6
on
2.4.Solve Problems ii.2nd Normal
of Normalization Form
iii.3rd Normal
Form
iv.Boyce-
codd Normal
Form
3.1.Introduction • Transaction
Advanced 3.2.Transaction Control
3 30 10
SQL Control Language
Language (TCL) Commands:C
LJ Polytechnic
ADVANCED DATABASE MANAGEMENT SYSTEM
• Types of
Locks:Implic
it
Lock,Explicit
Lock,
Rowlevel
Lock, Table
level Lock
• View
• Sequence
• Index
• Synonym
• Basics of
PL/SQL
• Datatype
• Merits of
PL/SQL
• Control
4.1. Introduction
Structure:
4.2. Datatype
Conditional,
4.3. Control
Iterative,
Structures
Sequential
PL/SQL 4.4. Exception
4 30 12
Concept 4.5. Cursor
• Exception
4.6. Trigger
and its types
4.7. Package
4.8. Procedure and
Function • Cursor and its
types
• Trigger and
its types
• Package
Specification,
Package
Body,
LJ Polytechnic
ADVANCED DATABASE MANAGEMENT SYSTEM
Advantages
of Package
• Procedure:
Stored
Procedure vs
Function
• Concept of
Transaction
• Transaction
Properties
• Concurrency
Control
5.1.Introduction
5.2.Concurrency
Transaction Control • Deadlock
5 20 8
Processing 5.3.Methods of
Concurrency • Methods of
Control Concurrency
Control:
i.Locking
method
ii.Time-
Stamp
method
iii.Optimistic
method
Total Hours 42
LJ Polytechnic
ADVANCED DATABASE MANAGEMENT SYSTEM
Textbooks
1. Database System Concept,Design and Applications by S.K.Singh,Pearson Education
SQL-PL/SQL by Ivan Baryons,Bbp Publication
Reference Books
1. An introduction to database systems by C.J date, Addison Welsley
2. Database System Concepts, Silberschatz, Korth and Sudarshan, McGraw Hill
3. Oracle 11g: Complete reference, Kevin Loney, McGraw Hill.
4. Mastering SQL, Martin Gruber, B.P.B.
LJ Polytechnic
ADVANCED DATABASE MANAGEMENT SYSTEM
Introduction
Computer engineers have to write programs to cater to various IT solutions. To develop a
program, they have to build logic, develop SQL and PL/SQL programs. This course has been
designed keeping in view of developing these skills. Besides its use to write codes for SQL
programming such as developing a banking system, railway reservation system and so on.
Database Management System has been widely used as a general-purpose language to develop
basic applications. This course deals with fundamental syntactic information about database
and SQL and PL/SQL programming that will help students to apply the basic concepts,
program structure of SQL and PL/SQL programming paradigm to build given application.
Objectives
✓ This course aims to help the students to attain the following industry-identified competency
through various teaching-learning experiences.
✓ Designing and Implementation of relational database management system.
✓ Development of programming & coding ability using ‘SQL’ and ‘PL/SQL’.
LJ Polytechnic
Function Dependency and Decomposition Unit-1
Function Dependency
and
Decomposition
Short Questions
Long Questions
Essential Assignments
1. Differentiate Trivial Dependency and Non-Trivial Dependency.
2. Define Function Dependency and explain related example of it.
3. Define Full Function Dependency and explain related example of it.
4. Explain Rules of Armstrong’s Axioms for Function Dependency.
5. Explain Lossy Decomposition with example.
LJ Polytechnic
Advanced Database Management System
Activities
Learning Outcomes
LJ Polytechnic
Normalization Unit-2
Normalization
Short Questions
Q. Bloom’s
Sample Questions
No. Taxonomy
1. Define Normalization. Remember
2. What is Normal Form? Understand
3. What is an Anomalies? Understand
4. List different types of Normal Forms. Remember
5. Write goal of Normalization. Remember
6. List out criteria of 1st Normal Form. Understand
7. List out criteria of 2nd Normal Form. Remember
8. List out criteria of 3rd Normal Form. Remember
9. What do you mean by Transitively dependent for Function Remember
Dependency?
10. Differentiate Transitive dependency and Non-Transitive Remember
dependency.
Long Questions
Q. Bloom’s
Sample Questions
No. Taxonomy
1. What do you mean by Normalization? List types of various Understand
Normal Forms.
2. Explain criteria of 1st Normal Form with related real time Understand
scenario.
3. Explain criteria of 2nd Normal Form with related real time Understand
scenario.
4. Explain criteria of 3rd Normal Form with related real time Understand
scenario.
5. Differentiate 1st Normal Form and 2nd Normal Form. Understand
LJ Polytechnic
Advanced Database Management System
Essential Assignments
Activities
Learning Outcomes
LJ Polytechnic
Advanced Structured Query Language Unit-3
Advanced
Structured
Query Language
Practical List
LJ Polytechnic
Advanced Database Management System
Long Questions
Essential Assignments
Desirable Assignments
Activities
1. Develop a program to create view from multiple tables.
2. Develop a program to create sequence from 1 to 100 and accordingly enter such records
of students using NEXTVAL.
3. Develop a program to create an Index and apply ROWID and display it with such
columns.
4. Develop a program to an alias name of particular database object.
Activities
1. Consider two users named ‘user1’ and ‘user2’. ‘user1’ is the owner of employee table
which have following structure. Employee (empno, ename, salary, deptno)
SQL queries are following:
• user1 gives permissions for insert, update, delete and select privileges to user2 with
further grant option.
• User1 take away the permissions for insert and select privileges from user2.
LJ Polytechnic
Advanced Structured Query Language Unit-3
Learning Outcomes
LJ Polytechnic
PL/SQL Concept Unit-4
PL/SQL Concept
Practical List
Short Questions
Bloom’s
Q. Sample Questions Taxonomy
No.
1. List advantages of PL/SQL. Remember
2. List datatypes of PL/SQL. Remember
3. Draw PL/SQL generic block. Remember
4. Write a syntax of IF-ELSE control structure. Remember
5. Write a syntax of IF-ELSE-IF control structure. Remember
6. Write a syntax of WHILE loop with example. Remember
Long Questions
Q. Bloom’s
Sample Questions
No. Taxonomy
1. Explain PL/SQL generic block with example. Understand
2. Explain how to create and destroy Sequence with example. Understand
3. Explain how to create and destroy View with example. Understand
4. Explain how to create and destroy Index with example. Understand
5. Explain exception with example. Understand
LJ Polytechnic
Advanced Database Management System
Essential Assignments
Desirable Assignments
1. Write a PL/SQL program to print integers from 1 to 10 by using PL/SQL FOR
loop.
2. Write PL/SQL program to display maximum numbers among given three numbers.
4. Given an integer i, write a PL/SQL procedure to insert the tuple (i, 'xxx') into a
given relation.
5. Write PL/SQL function to find fact to factorial of a given number.
6. Given the table EMPLOYEE (EmpNo, Name, Salary, Designation, DeptID) write
a cursor to select the five highest paid employees from the table.
EMPLOYEE (EmpNo, Name, Salary, Designation, DeptID)
7. Create a Trigger that prevents user of account table on SUNDAY.
Activities
Learning Outcomes
❖ Basic concepts of PL/SQL and advantages of PL/SQL will be learnt.
LJ Polytechnic
PL/SQL Concept Unit-4
LJ Polytechnic
Transaction Processing Unit-5
Transaction
Processing
Short Questions
Q. Bloom’s
Sample Questions
No. Taxonomy
10. List three phases which are execution phases of Optimistic Method Remember
of Concurrency Control.
Long Questions
Q. Bloom’s
Sample Questions
No. Taxonomy
LJ Polytechnic
Advanced Database Management System
Essential Assignments
1. Explain various states of execution of Transaction.
2. Explain ACID properties of Transaction.
3. Explain Concurrency Control with example.
4. Explain Deadlock and related situation with example.
5. List and explain various methods of Concurrency Control.
Activities
1. Consider ATM transactions and state Transition States of transaction and draw and
mention the particular state of transaction.
2. Make a transaction schedule on given deadlock scenario: Transaction T1 is waiting for
data item X which is locked by transaction T3. Transaction T3 is waiting for Y which is
locked by transaction T2 and transaction T2 is waiting for data item Z which is locked
by transaction T1. Prepare Wait-for diagram for given scenario of deadlock.
Learning Outcomes
❖ Basic terms of Transaction and Transition State Diagram will be learnt.
❖ Basic concept of Concurrency Control and problems of Concurrency Control will be
learnt.
❖ Locking methods of Concurrency Control will be learnt.
❖ Deadlock and Deadlock Detection and Prevention will be learnt.
❖ Concept of Time-stamp and Optimistic methods of Concurrency Control will be
understood.
LJ Polytechnic
Quotes from Pioneers
“If you are changing the world, you are working on important
things. You’re excited to get up in the morning.”
- Larry Page, Co-Founder, Google & Alphabet Inc.
Offers Diploma in
❖ Artificial Intelligence & Machine Learning ❖ Automobile Engineering
❖ Electronics & Communication Engineering ❖ Mechanical Engineering
❖ Cloud Computing & Big Data ❖ Information Technology
❖ Architectural Assistantship ❖ Computer Engineering
❖ Automation & Robotics ❖ Electrical Engineering
❖ Gaming & Animation ❖ Civil Engineering
info_poly@ljku.edu.in
www.ljku.edu.in
9687010057
9228010057
LJ Campus,
Near Sarkhej-Sanand Circle, Off. S. G. Road, Ahmedabad, Gujarat-382210