CS304 Mid Term By JUANID.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
PDF
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

  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)

Frequently asked questions

Where can I download CS304 Mid Term By JUANID.pdf for free?

You can preview and download "CS304 Mid Term By JUANID.pdf" (CS304 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-mid-term-by-juanid-pdf-2) 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

AL-JUNAID INSTITUTE GROUP
SR              MCQS QUESTION                                 ANSWER
NO
1       In expression c1*c2+c3-c4 which of the          C1*c2
        following will be executed in first order
2       Inheritance is a way to                         Add features to existing
                                                        classes without
                                                        rewriting them
3       --------------- represent “IS A ”relationship   Inheritance
4       Constructor without any parameter is            Default constructor
        called:
5       Which of the following stores the address       Pointer
        of a variable?
6       A Post-fix unary operator is implemented        1 dummy int argument
        in C ++ using Member function with
7       minimum classes required in a program           3
        for implementing multiple inheritance
8       Which of the following statement(s)             All of the given option
        describe constant member functions?
9       composition is a strong relation                Composed object cant
        relationship because                            exist independency
10      How many interactions are there in the          3
        following scenario Imran has the car. he
        drive the car and car has four wheels and
        doors
11      if we extend our model ,and the rest of         Flexibility
        the model is not affected then it is called-
        -----
12      choose correct declaration of                   Complex and
        overload*=1 operator for class complex          operator*=(const
        as Member function                              complex & c)
13      Consider the following class A{int a,b,c;       A,b,c
        public: A():B(10),C(0)a(7) };

pg. 1       0304-1659294

AL-JUNAID INSTITUTE GROUP
14      Class is a blue print of                      Objects
15      Suppose we have a class student which         Student*object
        of the following statement is correctly
        declaring the pointer to the object of
        student class?
16      In c++ composition is relationship            Whole, part
        between -------and------objects
17      Which of the following Depicts the            a class is description of
        proper definition of class?                   a kind of object
18      in class attributes are represented by ----   data member, Member
        and------ respectively                        function
19      which of the following represents the         Employee works for the
        two Association                               company
20      Entities in OO model are represented by       Rectangle
21      Which of the following features of OOP is     Inheritance
        used to derive a class from another?
22      In C ++ which of the following is defined     <<
        as a stream insertion operator?
23      choose the correct declaration of             Bool operator==(const
        overloaded equality (==)operator for          string and s)
        class string as a Member function
24      ---- is the relationship between the part     Composition
        object and the whole object
25      object hides its information from others      information hiding
        this concept is known as
26      the concept of derived classes is involved    Inheritance
        in
27      abstraction provides information              user perspective
        according to
28      which of the following is not an object       Inheritance
        Association
29      which of the following classes are used       both land and water
        by amphibious vehicle to inherit              vehicle
        characteristics

pg. 2       0304-1659294

AL-JUNAID INSTITUTE GROUP
29      object data includes                        both states and
                                                    attributes of an object
30      choose correct declaration of overloaded friend pool operator
        inequality operator for class string as non !=(const string
        member friend function                      &s1,const string &2)
31      How many objects of a given class may       as many as the
        be constructed in an application?           application ask for
32      how many objects of a given class may be as many as the
        constructed in an application               application ask for
33      Which of the following statements           all of the given option
        describe constant member functions?
34      student *ptr=new student(" Ali"); is an     static memory
        example of                                  allocation
35      in------- base class can be replaced by the extension
        derived class
36      Which of the following is a correct way of cosnst int Roll no;
        declaring constant variable ROLLNO?
37      which of the following operator doesn't     none of the given
        take argument hit overloaded                choices
38      which of the following is part of the Class all of the given option
        diagram
39      a child inherits characteristic from its    parent
40      which of the following issues can be        programming Bugs
        caused by the use of friend function
41      which of the following is not true about    all of the given option
        constant number function
42      Which one is not the main features of       exception handling
        object oriented programming?
43
44      in object oriented programming, objects messages
        communicate with each other through
45      static data member is declared             inside the class
46      the concept of derived classes is involved inheritance
        in

pg. 3       0304-1659294

AL-JUNAID INSTITUTE GROUP
47      Which of the following can we attribute      address
        of an object "Ali"?
48      Which of the following keyword tell the      inline
        compiler to substitute the code within
        the function definition for every instance
        of a function call?
49      inheritance is the relationship between      classes

More CS304 files

All CS304 files · Midterm Prep 2026 · MCQs Bank