CS504 MID by Attiq Kundi.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
Study Resource
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 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 MID by Attiq Kundi.pdf for free?

You can preview and download "CS504 MID by Attiq Kundi.pdf" (CS504 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs504-mid-by-attiq-kundi-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 MID-Term BY Attiq Kundi
              SUBSCRIBE “Knowledge For Us” ON YOU TUBE CS504 100 %
                                CORRECT MCSQ
                                     AND Many MoRe

                       Quiz 01 2021 Fall
1. Thin Client Model is one of the configurations of Model.
a) Data-centered
b) client server
c) Layered
d) Reference

2. STL Stands for_       _
a) standard template library
b) Standard Type Link
c) Standard Tempo Line
d) Standard Type Link

3. The three basic principles that guide maintainability are:
Clarity
Enhancement
Flexibility
Simplicity
a) (a), (b) and (c)
b) (a), (c) and (d)
c) (b), (c) and (d)
d) All of above

4. Goto statements violate the idea of
a) object-oriented code
b) structured code
c) control structure
d) repetition structure

5. A function should not be larger in any case and should not exceed   in length
a) Half page
b) One page
c) Two pages
d) Three Pages
6. Data Centered Architectural Style is also called
a) Repository model
b) Client Server model
c) Sub System model
d) Reference model

7. Global variables in C++ should always be referred to by using the
a) ::operator
b) :operator
c) Without an operator
d) None of the given

8. There are       layers in OSI reference model.
a) 5
b) 6

c) 7
d) 8
9. Fat Client Model is one of the configurations of    Model.
a) Data-centered
b) Layered
c) Reference
d) Client Server

10. Dynamic process model shows the process _          of the System.
a) Components
b) Objects
c) Structure
d) Linkage

11. Which of the following shows a commented statement in C++
a) # Ans = first + second
b) // Ans = first + second
c) \\ Ans = first + second
d) /# Ans = first + second

12.    architectural model is widely used in Mainframe application.
a) Client-Server Model
b) Repository Model
c) Filter Model
d) Layered Model

13. Variables should be initialized where they are      and they should be declared in the
      scope possible.
a) defined and smallest
b) declared and medium
c) defined and medium
d) declared and smallest

14. Identifier names also play a significant role in enhancing the   _ of a program,
a) Writ ability
b) Readability
c) Reliability
d) All of the given choices

15.MVC stands for
a) Model View Controller
b) Modern View Center
c) Model View Center
d) Modern View Controller

16. Which of the following is not a possible server in client server environment?
a) Database Server
b) Transaction Server
c) File Server
d) Time Server

17. In case of using unrelated operators in a single expression,     would be the best choice to
prevent the logical errors.

a) Comments
b) Indents
c) parenthesis
d) Short Cuts
18. In case of header files, construction is to avoid     _ errors, the construction should
appear in the top of the file (before the file header).
a) Compilation
b) run time
c) logical
d) All of the given

19. A self-documenting code is a code that explains itself without the need of comments and
extraneous documentation, like_
a) Flowcharts
b) UML diagrams
c) Process-flow state diagrams
d) All of the given choices

20. Which one of these represents the Krutchen's 4+1 architectural view model
a) Logical view, Process view. Physical view. Development view. Use case view
b) Logical view. Dynamic view. Physical view. Development view. Use case view
c) Logical view. Process view, Physical view. Development view. Sequence view
d) Dynamic view, Process view. Physical view, Development view. Use case view

21. Client server is a    system model.
a) Integrated
b) Distributed
c) Heterogeneous

d) Homogeneous

22. Vertical partitioning is also known as
a) Balancing
b) Mutating
c) Parallelizing
d) Factoring

23. "is" prefix should be used for   variables and methods.
a) General
b) Boolean
c) Constant
d) None of the given

24. Thin client model places a heavy processing load on       _
a) Only server
b) Only network
c) Both server and network
d) Neither server not network

25. C++ header files should have the extension . Source files can have the extension
a) .c and .h
b) .cc and .h
c) .h and .cpp
d) All of the given

26. Which of following is among ten things, which the basic template of GOF design pattern
includes.
a) IQ
b) context
c) Performance
d) Requirements

27. Vertical partitioning divides the architecture application from a making perspective.
a) decision
b) Design
c) Conclusion
d) Move

28. Issues like system performance, availability, scalability, and security are analyzed in
a) Logical View
b) physical view
c) Code View
d) Concurrency View

29. Class variables should never be declared public. Public variables violate which of the
following:
a) Information hiding
b) Encapsulation
c) Information hiding and Encapsulation
d) None of the give

30. Charles Simonyi first discussed Hungarian Notation, He was of

a) Microsoft
b) IBM
c) Dell
d) Cisco

31. Patterns are devices that allow programs to share knowledge about their
a) Code
b) design
c) Analysis
d) Implementation

32. Process view in Krutchen's 4+1 architectural view model captures
a) Object model of the design
b) Concurrency and synchronization aspects of the design
c) Mapping(s) of the software onto the hardware and reflects its distributed aspect
33. In the N-Tire architecture, the idea is to enhance scalability and    _ by
disturbing both the date and the application using multiple server machines
a) Usability
b) performance
c) Interoperability
d) Integrity

34. Names representing methods and functions should be        and written in mixed case starting
with case
a) Noun        lower
b) Verb        lower page
c) Noun        upper
d) Verb        upper

35. Floating point constant should always be written with decimal point and at
a) one decimal
b) Two decimals
c) Three decimals
d) none of the given

36. Static structural model shows the major system
a) Leaks
b) Components
c) Activates
d) Objectives

37. Distributing the responsibilities to different subsystems so that we get a software system
which is easy to maintain, is called _ the architecture
a) Subtracting
b) partitioning
c) Cloning
d) Balancing

More CS504 files

All CS504 files · Midterm Prep 2026 · MCQs Bank