CS403-MIDTERM SOLVED subjective with references by Moaaz.pdf
Verified academic study resource for CS403 (Database Management Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File compiled by Moaaz Siddhu) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Compiled by
- Moaaz Siddhu
- Tags
- SUBJECTIVE, SOLVED, MIDTERM
Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS403.
What this file covers — CS403 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
Frequently asked questions
Where can I download CS403-MIDTERM SOLVED subjective with references by Moaaz.pdf for free?
You can preview and download "CS403-MIDTERM SOLVED subjective with references by Moaaz.pdf" (CS403 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs403-midterm-solved-subjective-with-references-by-moaaz-pdf-2) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS403 file?
This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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- Database Management Systems
Solved Subjective May 04,2012
From Midterm Papers
MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01
CS403- Database Management Systems
MIDTERM EXAMINATION
Fall 2011
Question.1 (2 marks)
Write the two types of Completeness Constrains?
Answer:- (Page 103)
There are two types of completeness constraints, partial completeness constraints and total completeness
constraints.
Question.2 (2 marks)
Define main functionality of subtype discriminator?
Answer:- (Page 108)
This is a tool or a technique which provides us a methodology to determine that to which subtype one instance
of a supertype belongs.
Question.3 (2 marks)
If we have two entities make it one to one relationship?
Answer:- Click here for detail
Question.4 (2 marks)
what is difference between relation and relationship 2 marks
Answer:- Click here for Detail
Relationship is purely a construct of the er data model.
Relation is a structure of the relational data model.
Question.5 (3 marks)
If we map a unary relationship into relationship and ERD has one to one cardinality then what would be
the mapping producer?
Answer:- (Page 89)
1
Question.6 (3 marks)
Make relation b/w two tables with foreign key? With example.
Answer:- (Page 133)
EMP (empId, empName, qual, depId)
DEPT (depId, depName, numEmp)
In this example there are two relations; EMP is having record of employees, whereas DEPT is having record of
different departments of an organization. Now in EMP the primary key is empId, whereas in DEPT the primary
key is depId. The depId which is primary key of DEPT is also present in EMP so this is a foreign key.
CS403- Database Management Systems
MIDTERM EXAMINATION - Fall 2011
What do you know about the cardinalities of relationship? (2 Marks)
Answer:- (Page 89)
The cardinality of a relationship is the number of entities to which another entity can map under that
relationship.
What is Data type? (2 Marks)
Answer:- (Page 197)
In Microsoft SQL Server™, each column, local variable, expression, and parameter has a related data type,
which is an attribute that specifies the type of data (integer, character, money, and so on) that the object can
hold.
How to implement one-to-one relationship while designing tables? (3 Marks)
Answer:- (Page 143)
In this relationship primary key of one entity type has to be included on other as foreign key. One-to-Many
relationships are implemented by splitting the data into two tables with primary key and foreign key
relationships.
Name the three different kinds of anomalies which can be eliminated through normalization? (3 Marks)
Answer:- (Page 170)
• Insertion Anomaly
• Deletion Anomaly
• Updating Anomaly
2
Shortly describe procedural DML and Non-procedural DML. Also give their alternate names. (5 Marks)
Answer:- (Page 208)
There are two types of DML. First is procedural in which: the user specifies what data is needed and how to get it. Second
is nonprocedural in which the user only specifies what data is needed.
What is a functional dependency F said to be minimal? (5 Marks)......
Answer:- (Page 165)
A minimal super key is the candidate key , so if a determinant of functional dependency determines all attributes of that
relation then it is definitely a super key and if there is no other functional dependency
CS403- Database Management Systems
MIDTERM EXAMINATION - Fall 2011
Q21:-what do you know about partial dependency? (2)
Answer:- Click here for Detail
A partial dependency is a dependency where A is functionally dependant on B
(A → B), but there is some attribute on A that can be removed from A and yet the dependacy stills holds.
Q22:-Define domain of an attribute? (2)
Answer:- (Page 75)
Domain is the set of possible values that an attribute can have, that is, we specify a set of values either in the
form of a range or some discrete values, and then attribute can have value out of those values.
Q23:-Define relationship type? (3)
Answer:- (Page 85)
A relationship type is an abstraction of a relationship i.e. a set of relationships instances sharing common
attributes.
Q24:-Describe shortly “the difference Operation “in relational algebra? (3)
Answer:- (Page 154)
If R and S are two relations which are union compatible then difference of these two relations will be set of
tuples that appear in R but do not appear in S. It is denoted by (-).
Q25:-Explain the salient features of foreign key with help of example? (5)
Answer:- Click here for detail
A foreign key is a mechanism in a relational database that allows for the association of those tables, or for the
tables to have a relationship with one another. There are unique characteristics that a foreign key must have.
A foreign key guarantees that rows in one table correspond to rows in some other table, thereby establishing
database-wide relationships, or references. The table containing the foreign key is the "child," and the other
table is the "parent."
3
Foreign Key Example:-
Faculty (Fac_Id, department, rank, name)
Class (Class_No, Fac_Id, Schedule, room)
Fac_Id is the foreign key in Class Relation as it is primary key in other Relation Faculty.More CS403 files
- CS403 Midterm Current Quiz (2) File By Danish Hanif.pdf (PDF · Midterm)
- CS403 ALL LATEST MIDTERM PAPERS IN ONE THRED FALL 2011 MONTH (DOC · Midterm)
- CS403 CURRENT MIDTERM PAPER.doc (DOC · Midterm)
- CS403 Database Management Systems Current Mid Term Papers Ma (DOC · Midterm)
- CS403 MIDTERM FILE 1 SOLVED BY TEAM HADI-1.pdf (PDF · Midterm)
- CS403 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS403 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS403 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)