CS403 notes.pdf

Verified academic study resource for CS403 (Database Management Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Official Lecture Handouts & Highlighted Notes) covers Complete Course Handouts (Lectures 1 to 45) spanning approximately 450 pages across 8 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
Handout
Coverage
Complete Course Handouts (Lectures 1 to 45)

Virtual University examiners construct 100% of objective MCQs and subjective marking schemes directly from the official CS403 handouts.

What this file covers — CS403 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. 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 notes.pdf for free?

You can preview and download "CS403 notes.pdf" (CS403 PDF, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs403-notes-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 Complete Course Handouts (Lectures 1 to 45) across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, 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

Ali Khan                                                                   03334444071

      CS403 Database Management System as Favorite
               Subject for Viva Preparation
Database Management System or DBMS in short refers to the technology of
storing and retrieving users’ data with utmost efficiency along with appropriate
security measures. This tutorial explains the basics of DBMS such as its
architecture, data models, data schemas, data independence, E-R model,
relation model, relational database design, and storage and file structure and
much more.

Database Management System: is the set of programs or system which is used to create and
maintain database.

Data: is the collection of raw, facts and figures like college admission form consists of data.

Database: is organized collection of related data.

A database management system stores data in such a way that it becomes easier to retrieve,
manipulate, and produce information.

Users
A typical DBMS has users with different rights and permissions who use it
for different purposes. Some users retrieve data and some back it up. The
users of a DBMS can be broadly categorized as follows −

Ali Khan                                                             03334444071

     Administrators −    Administrators   maintain    the   DBMS   and   are   responsible   for
      administrating the database. They are responsible to look after its usage and by whom it
      should be used. They create access profiles for users and apply limitations to maintain
      isolation and force security. Administrators also look after DBMS resources like system
      license, required tools, and other software and hardware related maintenance.

     Designers − Designers are the group of people who actually work on the designing part
      of the database. They keep a close watch on what data should be kept and in what
      format. They identify and design the whole set of entities, relations, constraints, and
      views.

     End Users − End users are those who actually reap the benefits of having a DBMS. End
      users can range from simple viewers who pay attention to the logs or market rates to
      sophisticated users such as business analysts.

3-tier Architecture
A 3-tier architecture separates its tiers from each other based on the
complexity of the users and how they use the data present in the database.
It is the most widely used architecture to design a DBMS.

Ali Khan                                                              03334444071

     Database (Data) Tier − At this tier, the database resides along with its query
      processing languages. We also have the relations that define the data and their
      constraints at this level.

     Application (Middle) Tier − At this tier reside the application server and the programs
      that access the database. For a user, this application tier presents an abstracted view of
      the database. End-users are unaware of any existence of the database beyond the
      application. At the other end, the database tier is not aware of any other user beyond
      the application tier. Hence, the application layer sits in the middle and acts as a
      mediator between the end-user and the database.

     User (Presentation) Tier − End-users operate on this tier and they know nothing
      about any existence of the database beyond this layer. At this layer, multiple views of
      the database can be provided by the application. All views are generated by applications
      that reside in the application tier.

Entity-Relationship Model

Ali Khan                                                                        03334444071

Entity-Relationship (ER) Model is based on the notion of real-world entities
and relationships among them. While formulating real-world scenario into
the database model, the ER Model creates entity set, relationship set,
general attributes and constraints.

ER Model is best used for the conceptual design of a database.

ER Model is based on −

     Entities and their attributes.

     Relationships among entities.

These concepts are explained below.

     Entity −   An entity      in an      ER   Model   is   a real-world   entity    having   properties
      called attributes. Every attribute is defined by its set of values called domain. For
      example, in a school database, a student is considered as an entity. Student has various
      attributes like name, age, class, etc.

     Relationship −      The    logical    association      among   entities   is   calledrelationship.
      Relationships are mapped with entities in various ways. Mapping cardinalities define the
      number of association between two entities.

      Mapping cardinalities −

         o   one to one

         o   one to many

         o   many to one

         o   many to many

Relational Model

Ali Khan                                                              03334444071

The most popular data model in DBMS is the Relational Model. It is more
scientific a model than others. This model is based on first-order predicate
logic and defines a table as an n-ary relation.

The main highlights of this model are −

     Data is stored in tables called relations.

     Relations can be normalized.

     In normalized relations, values saved are atomic values.

     Each row in a relation contains a unique value.

     Each column in a relation contains values from a same domain.

Database Schema
A database schema is the skeleton structure that represents the logical view
of the entire database. It defines how the data is organized and how the
relations among them are associated. It formulates all the constraints that
are to be applied on the data.

A database schema defines its entities and the relationship among them. It
contains a descriptive detail of the database, which can be depicted by

Ali Khan                                                                03334444071

means of schema diagrams. It’s the database designers who design the

More CS403 files

All CS403 files · Midterm Prep 2026 · MCQs Bank