CS403 final term short notes (23 to 45) (1).pdf

Verified academic study resource for CS403 (Database Management Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS403 – Database Management Systems
Faculty
Computer Science
Format
PDF
Type
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Tags
FINALTERM

Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS403, regardless of midterm scores.

What this file covers — CS403 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS403 final term short notes (23 to 45) (1).pdf for free?

You can preview and download "CS403 final term short notes (23 to 45) (1).pdf" (CS403 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs403-final-term-short-notes-23-to-45-1-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS403 file?

This document covers Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS403 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS403 solved past papers and handouts verified for 2026 exams?

Yes. All CS403 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                CS403 Short Notes Final term
                           Lec 23 to45
                BY vuonlinehelp.blogspot.com
YouTube link:

Website Link:
https://vuonlinehelp.blogspot.com/

Important Note

You should never copy paste the same answer which we are providing.
Please do make some changes in the solution file. If you appreciate our
work, please share our website vuonlinehelp.blogspot.com with your
friends.

‫آپ کو کبھی بھی وہی جواب کاپی پیسٹ نہیں کرنا‬
  ‫چاہیے جو ہم فراہم کر رہے ہیں۔ براہ کرم حل‬
   ‫فائل میں کچھ تبدیلیاں کریں۔ اگر آپ ہمارے‬
‫کام کی تعریف کرتے ہیں تو براہ کرم ہماری ویب‬
    ‫ کو اپنے دوستوں کے‬vuonlinehelp.blogspot.com ‫سائٹ‬
                                 ‫ساتھ شیئر کریں‬

Lecture No. 23

Physical Record and Denormalization

Denormalization is a technique to move from higher to lower normal forms of database modeling
in order to speed up database access. Denormalization process is applied for deriving a physical
data model from a logical form. In logical data base design we group things logically related
through same primary key. There is a valid reason for denormalization that is to enhance the
performance. Denormalization must balance the need for good system response time with the
need to maintain data, while avoiding the various anomalies or problems associated with
denormalized table structures.

DE normalization Situation 1

Merge two ET into one with one to one relationship. Even if one of the ETs is optional, so
joining can lead to wastage of storage, however if two accessed together very frequently then
merging might be a wise decision.

DE normalization Situation 2

Many too many binary relationships mapped to three relations. Queries needing data from two
participating ETs need joining of three relations that is expensive. The relation created against
relationship is merged with one of the relations created against participating ETs Reduces one
join.

    EMP(empId, eName, pjId, sal)

    PROJ(pjId, pjName)

    WORK(empId, pjId, dtHired, sal)

    EMP(empId, eName, pjId, sal)

    PROJ(empId, pjId, pjName, dtHired, sal)

DE normalization Situation 3

One too many situations when the ET on one side does not participate in any other relationship,
then many side ET is appended with reference data rather than the FK.

    STUDENT and HOBBY relations

Partitioning

DE normalization leads to merging different relations, whereas partitioning splits same relation
into two. Two types are possible horizontal and vertical.

Horizontal Partitioning

Table is split on the basis of rows. The idea is that it is more efficient to process a table with
small number of rows rather than a large table. Also helps in the maintenance of tables, like
security, authorization, backup Even can be placed on different disks to reduce disk contention.

Some of the horizontal partitioning types:

     Range partitioning

     Hash partitioning

     List partitioning

Range Partitioning:

In this type of partitioning range is imposed on any particular attribute. So in this way different
partitions are made on the basis of those ranges with the help of select statement.

Hash Partitioning:

It is a type of horizontal partitioning. In this type particular algorithm is applied and DBMS
knows that algorithm. So hash partitioning reduces the chances of unbalanced partitions to a
large extent.

List Partitioning:

In this type of partitioning the values are specified for every partition. So there is a specified list
for all the partitions. So there is no range involved in this rather there is a list of values.

Lecture No. 24

Vertical Partitioning

Same table is split into different physical records; depending on the nature of accesses. PK is repeated in
all vertical partitions of a table to get the original table.

     STD (stId, sName, sAdr, sPhone, cgpa, prName, school, mtMrks, mtSubs, clgName, intMarks,
      intSubs, dClg, bMarks, bSubs)

     STD (stId, sName, sAdr, sPhone, cgpa, prName)

     STDACD (sId, school, mtMrks, mtSubs, clgName, intMarks, intSubs, dClg, bMarks, bSubs)

Replication

SQL Server Replication is a process of copying and distributing data and Database objects from one
Database to another Database and synchronizing all the data between the Databases to maintain
integrity and consistency of the data. The process can be set to synchronize data continuously in real-
time or scheduled to run at the desired intervals. Mainly the SQL Server Replication is used to copy and
reproduce data at the desired targets. Some of the SQL Server Replication techniques are listed below:

         One-Way
         One-to-One
         Many-to-One
         Bi-Directional

Clustering Files

Clustering means to place records from different tables to place in adjacent physical locations, called
clusters. Increases efficiency since related records are placed close to each other. Clustering is also
suitable to relatively static situations. Define cluster, define the key of the cluster, include the tables into
the cluster while creating associating the key with it.

Other Related Issues

To be discussed later during storage concepts discussion

     File structures
     Indexes
     RAID

Summary of Physical DB Design

Database design is the process of transforming a logical data model into an actual physical database.
Data definition language (DDL) skills to translate the physical design into actual database objects.

Structured Query Language (SQL)

SQL is an ANSI standard computer language for accessing and manipulating databases. SQL is
standardized, and the current version is referred to as SQL-92. Any SQL-compliant database should
conform to the standards of SQL at the time.

SQL use

SQL is used to communicate with a database. According to ANSI (American National Standards Institute),

More CS403 files

All CS403 files · Midterm Prep 2026 · MCQs Bank