cs504 2....pdf
Verified academic study resource for CS504 (Software Engineering - I) under the Software Engineering at Virtual University of Pakistan. This PDF document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 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
- Type
- Study Resource
- Coverage
- Full Course Curriculum
Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.
What this file covers — CS504 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)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download cs504 2....pdf for free?
You can preview and download "cs504 2....pdf" (CS504 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs504-2-pdf-3) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS504 file?
This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), 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
Spring 2022_CS504_2.docx
Assignment No. 02 Total Marks: 20
Semester: Spring 2022 Due Date: 24-08-2022
Software Engineering-1 (CS504)
By:SobanCanCode
Subscribe to Support My Work!!!!!!!
Total Questions: 02 Total
Marks:20
Question 1: (15)
Entertainment Corner
One very interesting feature in the entertainment corner of this app is the weather-sensed
auto-generated playlist of songs. Users can relax and enjoy the weather by listening to her
playlist. For that mobile internet and location service should be enabled. The app uses
location coordinates (longitude, latitude) to extract humidity, precipitation, air temperature,
air pressure, and wind speed to predict the current weather. A playlist of songs is created to
match the current weather forecast. The user can save the playlist for later with the title of
her choice. The user has also been given the liberty to search, add or remove any song by
entering the song’s title. The device's music player will be used to play, pause, shuffle or
repeat playlist songs.
Read the paragraph above to identify the classes and attributes and create a class
diagram using UML object model notations (as discussed in Lecture 15) on StarUML
or MS Visio.
Question
2: (1)
Choose the most appropriate architectural style for the ‘HomeAide’ mobile app from the
following options.
Options:
• Client-Server Architecture
• Layered Architecture
• Pipe and Filter Architecture
• Repository architectures
Question 3: (4)
1. #include <iostream>
2. #include<string>
3. #include<cmath>
4. using namespace std;
5. int main() {
6. // Write C++ code here
7.
8. int key, age, input = 0;
9. double weight = 0; //declaring and initializing weight
10. double h = 0.0; //declaring height initializing height
11. double bodymassindex = 0.0;
12. string n; //declaring name
13.
14. cout << "Menu" << endl;
15. cout << "Press 1 for Reminder Corner " << endl;
16. cout << "Press 2 for Kitchen Corner " << endl;
17. cout << "Press 3 for Entertainment Corner " << endl;
18. cout << "Press 4 for Family Corner " << endl;
19. cout << "Press 5 for Self-Care Corner " << endl;
20. cout << "Press 6 for Groceries Corner " << endl;
21. cout << "Press 7 for Budget Corner " << endl;
22. cout << "Press 8 for Life Hacks Corner " << endl;
23. cout << "Press 9 for Housekeeping Corner " << endl;
24. cout << "Press 10 for Events Corner " << endl;
25.
26. cin >> key;
27. switch (key)
28. {
29. case 1:
30. cout << "Welcome to Reminder Corner";
31. break;
32. case 2: cout << "Welcome to Kitchen Corner"; break;
33. case 3:
34. cout << "Welcome to Entertainment Corner";
35. case 4:
36. cout << "Welcome to Family Corner";
37. break;
38. case 5:
39. cout << "Welcome to Self-care Corner" << endl;;
40. cout << "Press 1 to calculate your Body Mass Index
(BMI)" << endl;
41. cin >> input;
42.
43. if(input == 1)
44. {
45.
46. cout << "***BMI Calculator***" << endl;
47. cout << "Enter your name" << endl;
48. cin >> n;
49. cout << "Enter your age" << endl;
50. cin >> age;
51. cout << "Enter your Height (centimeters)" <<
endl;
52. cin >> h;
53. cout << "Enter your weight (kg)" << endl;
54. cin >> weight;
55. bodymassindex = weight/pow((h/100),2);
56. cout << "Dear " << n << ", your BMI is " <<
bodymassindex << " " << endl;
57. cout << "Healthy BMI range: 18.5 kg/m2 - 25
kg/m2" << endl;
58. break;
59. }
60. else
61. {
62. break;
63. }
64. case 6:
65. cout << "Welcome to Groceries Corner";
66. break;
67. case 7:
68. cout << "Welcome to Budget Corner";
69. break;
70. case 8:
71. cout << "Welcome to Life Hacks Corner";
72. break;
73. case 9:
74. cout << "Welcome to Housekeeping Corner";
75. break;
76. case 10:
77. cout << "Welcome to Events Corner";
78. break;
79. default:
80. cout << "Settings";
81. break;
82. }
83. return 0;
84. }
Keeping in view the best coding style guidelines discussed in lectures, identify any 4 coding
style mistakes that violate best coding practices in the above code and write them in the table
below. Also, mention the line number/s where you encountered the mistake.
Sr. Line number/s Coding Style MistakesMore CS504 files
- CS504 - 1.pdf (PDF · Study Resource)
- CS504 - 1.pdf (PDF · Study Resource)
- CS504 - 2.pdf (PDF · Study Resource)
- CS504 - 2.pdf (PDF · Study Resource)
- CS504 - 3.pdf (PDF · Study Resource)
- CS504 - 3.pdf (PDF · Study Resource)
- CS504 - MS CreatiVe PlatForm.png (IMAGE · Study Resource)
- CS504 MID by Attiq Kundi.pdf (PDF · Study Resource)