CS504 MIDTERM CURRENT PAPER FALL 2021 SOLVED B ADIL ALVI.pdf

Verified academic study resource for CS504 (Software Engineering - I) under the Software Engineering 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
CS504 – Software Engineering - I
Faculty
Software Engineering
Format
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
SOLVED, CURRENT, 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 CS504.

What this file covers — CS504 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 CS504 MIDTERM CURRENT PAPER FALL 2021 SOLVED B ADIL ALVI.pdf for free?

You can preview and download "CS504 MIDTERM CURRENT PAPER FALL 2021 SOLVED B ADIL ALVI.pdf" (CS504 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs504-midterm-current-paper-fall-2021-solved-b-adil-alvi-pdf-2) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS504 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 CS504 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 CS504 solved past papers and handouts verified for 2026 exams?

Yes. All CS504 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

  CS504 MIDTERM CURRENT PAPER FALL 2021
1) Difference between coupling and cohesion.
The major difference between cohesion and coupling is that cohesion deals with the
interconnection between the elements of the same module. But, coupling deals with the
interdependence between software modules.

2) Enlist two points on software design
1 Overview · 2 Design concepts · 3 Design considerations · 4 Modeling language ·
5 Design patterns · 6 Technique · 7 Usage

3) Enlist four risck software development phase
For most software development projects, we can define five main risk impact areas:
i) New, unproven technologies. (ii) User and functional requirements. (iii) Application and
system architecture. (iv) Performance. (v) Organizational.

4) Write three parameters of collaboration diagram?
(i) Objects (ii) Links (iii) Messages

5) Thumb rule
Who I Know - Rules of Thumb
   an actor knows about its participants
Person knows about cashier
   a transaction knows about its participants
A session knows about its register and cashier
   A transaction contains its transaction line items
Sale contains its sales line items

6) Library diagram

      CS504 MIDTERM CURRENT PAPER FALL 2021
    7) Identify Class, Objects and Relationships
    Alia has a fruit basket
    Objects: Alia, Fruit, Basket
    Classes: Person, Fruits, Baskets
    Relations:        Alia ---- Fruits -------- Association
                    Alia ---- Basket ------- Association
                    Basket -- Fruits -------- Association – Container

    8) System engineering are assigned the task of developing system models which process must be
    included in system methodology
    Systems Engineers are responsible for assessing systems, determining problems, providing
    solutions to issues that arise, designing systems, upgrading systems, maintaining systems and
    brainstorming possible improvements that can be made to a system in the future.

    9) State, behavior of an object
    State of an object - The state or attributes are the built in characteristics or properties of an
    object. For example, a T.V has the size, colour, model etc.
    Behaviour of the object - The behavior or operations of an object are its predefined functions.
    For example, a T.V.

    10) Types of functional requirements
    Some of the more typical functional requirements include:
   Business Rules.
   Transaction corrections, adjustments and cancellations.
   Administrative functions.
   Authentication.
   Authorization levels.
   Audit Tracking.
   External Interfaces.
   Certification Requirements.

    11) How collaboration diagram better than sequence diagram
    Sequence diagrams are best to see the flow of time. On the other hand, static object connections
    are best represented by collaboration diagrams. Sequence of messages is more difficult to
    understand in collaboration diagrams than in the case of sequence diagrams. On the other hand,
    object organization with control flow is best seen through collaboration diagrams. It may be
    noted that complex control is difficult to express anyway but collaboration diagrams can become
    very complex very quickly

    12) What are the post-condition? Student login and the schedule of lectures
    1. Where to look. 2. What to look for 3. How to design and implement program 4. How to test
    program.

    13) Software phases Enlist the names of phases

          Planning Stage

      CS504 MIDTERM CURRENT PAPER FALL 2021
          Feasibility or Requirements of Analysis Stage
          Design and Prototyping Stage
          Software Development Stage
          Software Testing Stage
          Implementation and Integration
          Operations and Maintenance Stage

    14) Functional Requirements:
    A Functional Requirement (FR) is a description of the service that the software must offer. It
    describes a software system or its component. ... It can be a calculation, data manipulation,
    business process, user interaction, or any other specific functionality which defines what function
    a system is likely to perform

    15) Non-Functional Requirements:
    In systems engineering and requirements engineering, a non-functional requirement (NFR) is a
    requirement that specifies criteria that can be used to judge the operation of a system, rather than
    specific behaviors. They are contrasted with functional requirements that define specific
    behavior or functions.

    16) Aik or scenario tha us mai actors btany thy?
    Select actors
    Actors are people and organizations that take part in the system under consideration.
    Examples of actors are: person, organization (agency, company, corporation, foundation).

    17) Object-Oriented Analysis using Abbot’s Textual Analysis
    Part of speech = proper noun, improper noun, doing verb, being verb, having verb, adjective,
    adjective phrase
    Model component = instance, class/type/role, operation, classification, composition, attribute
    value or class, association, operation
    Example = Mehdi Hassan, (student, teacher), buy, (is a horse, is a book), fan has wings, this ball
    is green, the customer with children, the customer who bought the kite

    18) Technique for requirement data management
    The data requirements analysis process employs a top-down approach that emphasizes business-
    driven needs, so the analysis is conducted to ensure the identified requirements are relevant and
    feasible. The data requirements analysis process consists of these phases:
    1.Identifying the business contexts
    2.Conducting stakeholder interviews
    3.Synthesizing expectations and requirements
    4.Developing source-to-target mappings

    19) In object-oriented programming, collaboration occurs among objects that mimic real-world
    objects inside an application.

    20) Three Types of Collaboration
   Creative – where two or more people create something to achieve a specific goal,

      CS504 MIDTERM CURRENT PAPER FALL 2021

More CS504 files

All CS504 files · Midterm Prep 2026 · MCQs Bank