CS304 Midterm Preparation By PIN2 and MUHAMMAD (MAS All Rounder)-1.pdf
Verified academic study resource for CS304 (Object Oriented Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) 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
- CS304 – Object Oriented Programming
- Faculty
- Computer Science
- Format
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- 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 CS304.
What this file covers — CS304 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 CS304 Midterm Preparation By PIN2 and MUHAMMAD (MAS All Rounder)-1.pdf for free?
You can preview and download "CS304 Midterm Preparation By PIN2 and MUHAMMAD (MAS All Rounder)-1.pdf" (CS304 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-midterm-preparation-by-pin2-and-muhammad-mas-all-rounder-1-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS304 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 CS304 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 CS304 solved past papers and handouts verified for 2026 exams?
Yes. All CS304 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
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
FOR MORE VU DATA VISIT MY website:
https://masallrounder.blogspot.com/
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By
PIN2 and MUHAMMAD
(MAS All Rounder)
Lecture No.01
01.1. Introduction
Course Objective:
Objective of this course is to make students familiar with the concepts of
object oriented programming. These concepts will be reinforced by their
implementation in C++.
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Course Contents:
The main topics that we will study in the 45 lectures of this course are given
below,
Object Orientation
Objects and Classes
Overloading
Inheritance
Polymorphism
Generic Programming
Exception Handling
Introduction to Design Patterns
Recommended Text Book:
C++ How to Program ( Deitel & Deitel )
Reference Books:
Object-Oriented Software Engineering
By Jacobson, Christerson, Jonsson, Overgaard
(For object oriented programming introductory concepts)
The C++ Programming
Language By Bjarne Stroustrup
(For better c++ understanding)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Object-Orientation (OO)
What is Object-Orientation?
It is a technique in which we visualize our programming problems in the form of
objects and their interactions as happens in real life.
Examples:
We have different objects around us in our real life that interact with each other to
perform different operations for example,
A Person A House
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
A Tree A Car
Different Objects
These objects interact with each other to perform different operations,
Lives in
Ali House
Drives
Car Tree
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Take another example of a School; the objects in a school are student, teacher,
books, pen ,school bag, classroom, parents, playground and so on… ,
© Virtual University of Pakistan 9
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Object Oriented Programming (CS304) VU
Objects in a School
Teacher Student School Bag
Book Pen Playground
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Parents Classroom Library
Suppose we want to develop a fee collection system for a school for this we will need
to find out related objects and their interactions as happens in real life.
In this way we can say that object orientation makes it easier for us to solve our
real world problems by thinking solution of the problem in terms of real world
objects.
So we can say that in our daily life everything can be taken as an object that behaves in a
certain way and has certain attributes.
In object orientation we move our concentration to objects in contrast to procedural
paradigm in which we simply write our code in functions and call them in our main
program.
01.2. What is a Model?
A model is an abstraction of something real or conceptual.
We need models to understand an aspect of reality.
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
10 © Virtual University of Pakistan
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Object Oriented Programming (CS304) VU
Model Examples
Highway maps
Architectural models
Mechanical models
01.3. OO Models:
In the context of programming models are used to understand the problem before
starting developing it.
We make Object Oriented models showing several interacting objects to understand
a system given to us for implementation.
Example 1– Object Oriented Model
lives-in
Ali House
drives
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
CS304 Midterm Preparation By PIN2 and MUHAMMAD
(MAS All Rounder)
Car Tree
Objects Interactions
Ali, Car, House, Tree Ali lives in the house
More CS304 files
- CS304 - Midterm MCQS Solved With References By Moaaz.pdf (PDF · Midterm)
- CS304 - Midterm MCQS Solved With References By Moaaz.pdf (PDF · Midterm)
- CS304 - Midterm Subjectives Solved With References by Moaaz. (PDF · Midterm)
- CS304 - Midterm Subjectives Solved With References by Moaaz. (PDF · Midterm)
- CS304 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS304 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS304 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS304 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)