CS504MIDTERMSOLVEDSUBJECTIVEWITHREFRENCESBYMOAAZ.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 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
CS504 – Software Engineering - I
Faculty
Software Engineering
Format
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Compiled by
Moaaz Siddhu

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 CS504MIDTERMSOLVEDSUBJECTIVEWITHREFRENCESBYMOAAZ.pdf for free?

You can preview and download "CS504MIDTERMSOLVEDSUBJECTIVEWITHREFRENCESBYMOAAZ.pdf" (CS504 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs504midtermsolvedsubjectivewithrefrencesbymoaaz-pdf) 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-Softwere Engineering -1 NOV 23,2011
                  LATEST SOLVED SUBJECTIVES
                         FROM MIDTERM PAPERS

MC100401285   Moaaz.pk@gmail.com   MC100401285@gmail.com   Latest Subjective

                                    CS504 Subjective
                                   Midterm Examination 2011
Question No: 1 ( Marks: 3 )
Define Asynchronous Messages and Synchronous Messages.
Answer:- (Page 109)
Asynchronous Messages:-
Asynchronous messages are “signals,” denoted by a half arrow. They do not block the caller. Asynchronous
messages typically perform the following actions:
    Create a new thread
    Create a new object
Communicate with a thread that is already running

Synchronous Messages:-
Synchronous messages are “call events” and are denoted by the full arrow. They represent nested flow of
control which is typically implemented as an operation call. In case of a synchronous message, the caller waits
for the called routine to complete its operation before moving forward.

Question No: 2 ( Marks: 5 )
Law of balancing act in software
Answer:- (Page 7)
The Balancing Act!
Software Engineering is actually the balancing act. You have to balance many things like cost, user
friendliness, Efficiency, Reliability etc. You have to analyze which one is the more important feature for your
software is it reliability, efficiency, user friendliness or something else. There is always a trade-off among all
these requirements of software. It may be the case that if you try to make it more user-friendly then the
efficiency may suffer. And if you try to make it more cost-effective then reliability may suffer. Therefore there
is always a trade-off between these characteristics of software. These requirements may be conflicting. For
example, there may be tension among the
following:

    Cost vs. Efficiency
    Cost vs. Reliability
    Efficiency vs. User-interface
A Software engineer is required to analyze these conflicting entities and tries to strike a balance.

                                   Midterm Examination 2011
Question No: 3 ( Marks: -- )
HOW DO YOU DETERMINE THAT AN OBJECTIVE BELONGS TO CERTAIN CLASS?
Answer:- (Page 85)
The basic unit of object oriented design is an object. An object can be defined as a tangible entity that exhibits
some well defined behavior. The structure and behavior of similar objects are defined in their common class. A
class specifies an interface and defines an implementation.

Question No: 4 ( Marks: -- )
What is meant by “System’s Static View"?

Answer:- (Software engineering ---Page 608 )
Static view of semantic classes.
Requirements are assessed and classes are extracted (and represented) as part of the analysis model.
Static view of attributes. Every class must be explicitly described. The attributes associated with the class
provide a description of the class.
Static view of relationships.
 Objects are “connected” to one another in a variety of ways. The analysis model must represent these.
Static view of behaviors.
The relationships just noted define a set of behaviors that accommodate the usage scenario (use-cases) of the
system

Question No: 5 ( Marks: -- )
What is behavior driven perceptive of an objective?
Answer:- (Page 85)
Behavior is how an object acts and reacts in terms of its state changes and message passing. The behavior of an
object is completely defined by its actions. A message is some action that one object performs upon another in
order to elicit a reaction. The operations that clients may perform upon an object are called methods.

Question No: 6 ( Marks: -- )
What is Textual Analysis? Explain it
Answer:- (Page 90)
Textual analysis was developed by Abbot and then extended by Graham and others. In this technique different
parts of speech are identified within the text of the specification and these parts are modeled using different
components.

Question No: 7 ( Marks: -- )
What is Software Architecture?
Answer:- (Page 116)
Architecture is the organizational structure of a system. Architecture can be recursively decomposed into parts
that interact through interfaces, relationships that connect parts, and constraints for assembling parts. Parts that
interact through interfaces include classes, components and subsystems.

Question No: 8 ( Marks: -- )
What is the Cardinality of Objective?
Answer :- (Software engineering ---Page 334 )
Cardinality. The data model must be capable of representing the number of occurrences Objects in a given
relationship. Tillmann [TIL93] defines the cardinality of an object/relationship pair in the following manner:

    One-to-one (l:l)—An occurrence of [object] 'A' can relate to one and only one occurrence of [object]
     'B,' and an occurrence of 'B' can relate to only one occurrence of 'A.'
    One-to-many (l:N)—One occurrence of [object] 'A' can relate to one or many occurrences of [object]
     'B,' but an occurrence of 'B' can relate to only one occurrence of 'A.' For example, a mother can have
     many children, but a child can have only one mother.
    Many-to-many (M:N)—An occurrence of [object] 'A' can relate to one or more occurrences of 'B,'
     while an occurrence of 'B' can relate to one or more occurrences of 'A.' For example, an uncle can have
     many nephews, while a nephew can have many uncles.

                                  Midterm Examination 2011
Question No: 9 (Marks: 2)
Define abstraction?
Answer:- (Page 79)
An abstraction is a technique in which we construct a model of an entity based upon its essential characteristics
and ignore the inessential details.

Question No: 10 (Marks: 2)
Is the design of software architecture a creative process?
Answer:- (Page 120)
Design of software architecture is a creative and iterative process. This involves performing a number of
activities, not necessarily in any particular order or sequence.

Question No: 11 (Marks: 2)
Suppose you are working as a software engineer involved in the development of an e-commerce website.
What are the 2 most important characteristics your software must have?

More CS504 files

All CS504 files · Midterm Prep 2026 · MCQs Bank