CS403 asign 2 sol spring 2022.pdf
Verified academic study resource for CS403 (Database Management Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 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
- Type
- Study Resource
- Coverage
- Full Course Curriculum
Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.
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)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- 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 asign 2 sol spring 2022.pdf for free?
You can preview and download "CS403 asign 2 sol spring 2022.pdf" (CS403 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs403-asign-2-sol-spring-2022-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 Full Course Curriculum 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
Assignment No. 02 Total Marks: 20
SEMESTER Spring 2022
Due Date:18/08/2022
CS403- Database Management System
Question Statement:
Our Second assignment is the continuation of our First assignment.
The solution of the First assignment, i.e., the Entity relationship diagram is given below. This ERD will serve as an
input to solve the second assignment.
Entity Relationship diagram (solution of First assignment):
VuID:
You are now required to perform the following tasks by considering the above given ER
diagram.
a) Map the ER diagram to Relational Data Model and link the relations through primary keys and
foreign keys.
b) After mapping ERD to Relational Data Model, you are required to write the SQL commands for
each of the following statements.
Statement Command
1. Create a table named Carpenter. Create table Carpenter ( CP_Id varchar(10) Primary Key, Name
You also have to define primary varchar(50), Address varchar(50), Contact_No varchar(50));
key and foreign key (if any).
2. Change the name of column Alter Table invoice Rename column Total_amount to Net_payable;
fromTotal_amountto
Net_payablein invoice table.
3. Insert one record in manager table Insert into manager (Mag Id, Email, Name, Contact_No, Address)
having data against each column values (‘MG01’, ‘ahmad@gmail.com’, ‘Ahmad’, ‘03001234567’,
(Mag_Id: MG01,Email: ‘H#4 street abc’);
ahmad@gmail.com,Name: Ahmad,
Contact_No: 03001234567,
Address: H#4 street abc).
4. Show the Name,Descriptionand SELECT Name, Description, image From Item Where Price
images of those Items whose Prices between 2000 and 10000
are between 2,000 to 10,000 from
Itemtable.
5. What is the maximum Quantity for SELECT MAX (Quantity) From Stock Group by Item_name
each item_name in Stocktable.
=====================================Ended=======================================