Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Pro Blog
  • Users
  • Groups
  • Unsolved
  • Solved
Collapse
Secnto AI
  1. Secnto AI
  2. Categories
  3. Virtual University
  4. CS504 - Software Engineering - I
  5. CS504 Assignment 2 Solution and Discussion
CS504 Assignment 1 Solution and Discussion Spring 2020
M
Re: CS504 Assignment 1 Solution and Discussion Assignment No. 01 Semester: Spring 2020 Software Engineering-1 (CS504) Total Marks: 20 Due Date: 28th May 2020 Instructions: Please read the following instructions carefully before submitting assignment:  You should submit your assignment before or on due date through the VULMS.  Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books.  Your Assignment must be in Microsoft Word document. Assignment in other than Microsoft Word document will not be accepted.  Assignment sent via Email will not be replied and accepted.  If the submitted assignment does not open or file is corrupt, it will not be marked and hence awarded zero marks. Objectives: • To improve the learning of students related to software requirements analysis. • To have hands on experience of use case diagrams. For any query about the assignment, contact at CS504@vu.edu.pk Total Questions : 02 Total Marks: 20 Scenario Under the current pandemic situation of Covid-19, an XYZ university wants to change its conventional education system into Distance learning mode of education, so that students can continue their academic activities during this pandemic era. University aims to handle all administrative, academic and staff related issues with the help of desired software system. On priority, the main focus is the continuity of academic session to facilitate both students and teachers. Using this software, students will be able to attend virtual class sessions and they can query regarding lecture contents which will be responded by the teacher during the session. Major system requirements for the proposed software system are: • Provision of Login interface to the teachers and enrolled students for login to their account. All the class contents and functionalities will be available to the authenticated users only. • Teacher will be allowed to upload lecture contents (video lectures and lecture slides) while students will be able to download the lecture contents. • Teacher will initiate a class meeting session and students should have option to join and attend the meeting session. • Teacher can present lecture slides and enable/disable mics of all participants during the meeting session. • System should provide video streaming of the teacher presentation to all its participants without any delay. • Lecture slides will be visible to all the students during the session and class attendee will also have option of turning on/off their mic. • It should be very easy for the users to understand and use the software system. • Teacher will have an option to generate class quizzes and upload/download class assignments. • Student should be able to attempt class quizzes, and download/upload their class assignments. • System should be designed to support future enhancements so that any improvements and features can be incorporated easily and effectively. Question No. 1: (15) Using the above mentioned scenario, you are required to draw use case model from the given functional requirements. Question No. 2: (05) Also identify at least four user requirements (non-functional) from the above mentioned scenario that would not be modeled in the use case diagram. Note: You can use Microsoft Visio or some other drawing tool (supporting the UML notations) for depicting the required diagram(s). Assignment No. 1 covers handouts contents from lecture-01 to lecture-07.
CS504 - Software Engineering - I
CS504 Assignment 1 Solution and Discussion Fall2020
K
Re: CS504 Assignment 1 Solution and Discussion Assignment No. 01 Semester: Fall 2020 Software Engineering-1 (CS504) Total Marks: 15 Due Date: 27th Nov 2020 Assignment No. 1 covers lecture-01 to lecture-07. § You should submit your assignment before or on due date through the VULMS. § Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books. § Your Assignment solution must be in Microsoft Word document format. Assignment solution in other than Microsoft Word document will not be accepted. § Assignment sent via Email will not be replied and accepted. § If the submitted assignment does not open or file is corrupt, it will not be marked and hence awarded zero marks. Instructions: Please read the following instructions carefully before submitting assignment: Objectives: · To improve the learning of students related to software requirements analysis. · To have hands on experience of Use Case Modeling. For any query about the assignment, contact at CS504@vu.edu.pk Scenario We want to develop a mobile App “Light Wave” that offers sensor-based services to end users about nearby restaurants, café, and coffee shops for breakfast, brunch, lunch / dinner etc. A combination of sensors works with this context-aware app to change themselves according to their external environment. Major system requirements for the proposed Mobile App are: This Mobile App should provide a user-friendly interface to user to view nearby restaurant, café, and coffee shops This Mobile App can find nearby restaurants by taking advantage of sensors like GPS, accelerometer, time, etc. This App should provide user with interface for setting priorities for his mealtime (lunch, dinner etc.) alerts using time. The App will take context aware decision based on user’s location, activities, etc. The App should be able to detect if the person is busy or free to use the App. Admin can maintain, update, repair and add modules in this App User of the App can open interface, view list, set/edit mealtime, set/edit Schedule Question: (15) Using the above mentioned scenario, you are required to draw use case model from the given functional requirements. Note: · Only one diagram (model) is required which should cover the whole scenario. · You should use Microsoft Visio or some other drawing tool (supporting the UML notations) to develop the required diagram. · The diagram should be pasted in the MS Word file as an image, and the MS Word (.docx) file should be uploaded on VULMS. Your solution must be uploaded on or before 27th Nov 2020
CS504 - Software Engineering - I
Scenario Assignment No. 01 Semester: Fall 2020 Software Engineering-1 (CS504)
Muhammad Habib Ur RehmanM
Question: (15) Using the above mentioned scenario, you are required to draw use case model from the given functional requirements.
CS504 - Software Engineering - I
CS504 GDB 1 Solution and Discussion
zareenZ
Now a days, Chinese authorities are planning to establish strategies for disaster management to counter incidents like coronavirus in the future. They are allocating a massive budget to build automated and semi-automated robotic machines for their hospitals, which can be used by the medical staff to treat the patients with minimum exposure to the fast-spreading viruses. These robots can be programmed to work in the real-time environment for treating the patients carrying deadly viruses. Semi-automated robotic machines can be controlled from the control room by the medical staff. Some high quality software engineering is required to realize these machines so that these can used in the real environment with high precision of control. Being a software engineer, you are asked to develop a well-engineered software for these machines. If there is a conflict between certain characteristics like Usability, Reliability and Cost of the software; which characteristic will you more prefer for this kind of software? Justify your choice within 4-5 lines with solid reason.
CS504 - Software Engineering - I
CS504 Assignment 3 Solution and Discussion
zareenZ
Assignment No. 03 Semester: Fall 2019 Software Engineering-1 (CS504) Total Marks: 15 Due Date: 21 January 2020 Instructions: Please read the following instructions carefully before submitting assignment:  You should submit your assignment before or on due date on VULMS.  Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books.  Your Assignment must be in Microsoft Word document. Assignment in other than Microsoft Word document will not be accepted.  Assignment sent via Email will not be replied and accepted.  If the submitted assignment does not open or file is corrupt, it will not be marked and hence awarded zero marks. Objectives: • To improve the learning of students related to software and system architecture. • To have hands on experience of writing self-documenting code following best programming practices. For any query about the assignment, contact at CS504@vu.edu.pk Total Questions : 03 Total Marks: 15 Question No. 1: (04) A company wants to develop an image scanner and editor application for their office work which can be used on smartphones and PCs. This application will provide multiple functionalities like image capturing, image editing, printing and sharing. Image editing involves features like cropping, adjusting brightness/sharpness/contrast, and image rotation etc. All the features should work independently. A user will capture the image and can apply any of image transformations to improve the image quality. A user should be able to print the output image or share it using email services. Currently, the software designers are assigned to develop the system architecture model for this application. By analyzing the above mentioned system features and various system models, suggest the most suitable architecture model for this application. Also justify your choice for the system model. Question No. 2: (04) A software organization “CitrusBits” has developed an enterprise software architecture. The software architecture contains the blueprint and fundamental structure of the software system including all the software elements and relation among them. Being an enterprise architecture, the developed architecture is a complex one as it covers all the systems of the organization in which it is being deployed. In this architecture, the system’s overall responsibility is not distributed among its components which will make it difficult to maintain and extend the system in future. Reading the above scenario which type of architecture technique will be best suitable for distributing the responsibilities to different subsystems which will help in maintaining the software system. Also justify your choice. Question No. 3: (07) A programmer has written following piece of code for a class and it is not written according to the best programming practices. Code: class rightangletriangle{ constant int e = 3; // number of edges of the shape private: int a; // Length of Triangle height int b; // Length of triangle base public: float function1(){ // Method to calculate triangle area float z= (a*b)/2; // Formula for area calculation return z; } void function2(int x){ // method to set value for triangle height a = x; } void function3(int y){ // method to set value for triangle base b = x; } } ; Write self-documenting code for the given class by following the naming conventions and best programming practices mentioned in the course contents. Note: You need to only transform the given code to the self-documenting code. Don’t add any extra method or attribute in the solution code.
CS504 - Software Engineering - I
CS504 Assignment 2 Solution and Discussion
zareenZ
Assignment No. 02 Semester: Fall 2019 Software Engineering-1 (CS504) Total Marks: 20 Due Date: 29th November 2019 Instructions: Please read the following instructions carefully before submitting assignment:  You should submit your assignment before or on due date on VULMS.  Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books.  Your Assignment must be in Microsoft Word document. Assignment in other than Microsoft Word document will not be accepted.  Assignment sent via Email will not be replied and accepted.  If the submitted assignment does not open or file is corrupt, it will not be marked and hence awarded zero marks. Objectives: • To improve the learning of students related to Logical System Models. • To have hands on experience of Maintainable design approaches with regard to Coupling and Cohesion. This assignment covers course contents from Lecture no. 8 to Lecture no. 15. For any query about the assignment, contact at CS504@vu.edu.pk Total Questions : 02 Total Marks: 20 Scenario These days, online shopping is very popular. Different online shopping sites offer variety of products to its customers. A customer can visit the website and purchase the desired items. Store management expands its product line time to time by adding new items. A product item in the system may go through any of five states during its life cycle. Store management adds new items in the system which becomes available for purchase to the customers. They can also remove or disable any item which becomes unavailable to the customers. Customers can select an item to their cart and they can also remove it from the cart to be available for purchase again. Item is purchased after confirmation of the order from the customer and it will be queued for shipment. A product item might become unavailable if it runs out of stock after a purchase. A queued item can also be cancelled by the customer before it is dispatched, which will become available for purchase again. Purchased item will be dispatched to the customer after confirming the status of the product item. Question No. 1: (10) Carefully read the above mentioned scenario and identify the five possible states of product item life cycle. Also draw the State Transition Diagram for the mentioned scenario with proper labelling of the transitions. Question No. 2: (10) Suppose you are hired as a software engineer in an XYZ organization for maintaining design of an existing educational institute system. For this purpose, you will need to apply the software design principles for a good maintainable design. All the changes in the system design should be localized, so that, it should have a minimal effect on other parts of the system. A small portion of code from the existing system is given below. This code is observed to be loosely cohesive. You are required to apply the software design principles and make the code highly cohesive. class course { private: string course_code; string course_name; int credit_hours; int enrolled_student; int student_id; string student_name; int studentCurrentSemster; float student_gpa; public: void setCourseCode(string); void setCourseName(string); void setCreditHours(int); void countEnrolledStudent(); void setStudentId(int); string getCourseCode(); string getCourseName(); int getCreditHours(); int getStudentId(); int getStudentCurrentSemster(); };
CS504 - Software Engineering - I
CS504 Assignment 1 Solution and Discussion
zareenZ
Assignment No. 01 Semester: Fall 2019 Software Engineering-1 (CS504) Total Marks: 20 Due Date: 12th November 2019 Instructions: Please read the following instructions carefully before submitting assignment:  You should submit your assignment before or on due date on VULMS.  Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books.  Your Assignment must be in Microsoft Word document. Assignment in other than Microsoft Word document will not be accepted.  Assignment sent via Email will not be replied and accepted.  If the submitted assignment does not open or file is corrupt, it will not be marked and hence awarded zero marks. Objectives: • To improve the learning of students related to software requirements analysis. • To have hands on experience of use case diagrams. For any query about the assignment, contact at CS504@vu.edu.pk Total Questions : 02 Total Marks: 20 Scenario AlphaTech is a renowned organization for developing embedded systems. Company wants to install a bio-metric attendance system that will allow the employees to mark their time-ins and time-outs based on their biometric verification. Interface of system should be very simple for the employees to mark their attendance. This system should be designed in such a way that the employee first has to register into the system. The system will capture an item of biometric data from the employees for attendance purpose which can be a photo of their face, a record of their voice or an image of their fingerprint. The administrator should be able to manage the details of registered employees in the system. The system should restrict the unauthorized users from using the system and only the company employees should have access to the system functionalities. Company also wants to integrate this system with the already established payroll system. Attendance system should generate employee attendance report required by the payroll system on monthly basis for calculating the salary of the employee. System should be fast enough that it should not take more than one second to mark the attendance for an employee. Question No. 1: (08) Carefully read the above mentioned scenario and classify the functional and non-functional requirements of the Attendance system? Question No. 2: (12) Also draw the use case diagram for the above mentioned scenario? Note: You can use Microsoft Visio or some other drawing tool (supporting the UML notations) for depicting the required diagram(s).
CS504 - Software Engineering - I

CS504 Assignment 2 Solution and Discussion

Scheduled Pinned Locked Moved Solved CS504 - Software Engineering - I
cs504assignment 2solutiondiscussionfall 2019
3 Posts 3 Posters 867 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • zareenZ Offline
    zareenZ Offline
    zareen
    Cyberian's Gold
    wrote on last edited by
    #1
    Assignment No. 02
    

    Semester: Fall 2019
    Software Engineering-1 (CS504)
    Total Marks: 20

    Due Date: 29th November 2019

    Instructions:
    Please read the following instructions carefully before submitting assignment:
     You should submit your assignment before or on due date on VULMS.
     Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books.
     Your Assignment must be in Microsoft Word document. Assignment in other than Microsoft Word document will not be accepted.
     Assignment sent via Email will not be replied and accepted.
     If the submitted assignment does not open or file is corrupt, it will not be marked and hence awarded zero marks.

    Objectives:

    • To improve the learning of students related to Logical System Models.
    • To have hands on experience of Maintainable design approaches with regard to Coupling and Cohesion.

    This assignment covers course contents from Lecture no. 8 to Lecture no. 15.

    For any query about the assignment, contact at CS504@vu.edu.pk

    Total Questions : 02 Total Marks: 20

    Scenario

    These days, online shopping is very popular. Different online shopping sites offer variety of products to its customers. A customer can visit the website and purchase the desired items. Store management expands its product line time to time by adding new items. A product item in the system may go through any of five states during its life cycle.

    Store management adds new items in the system which becomes available for purchase to the customers. They can also remove or disable any item which becomes unavailable to the customers. Customers can select an item to their cart and they can also remove it from the cart to be available for purchase again. Item is purchased after confirmation of the order from the customer and it will be queued for shipment. A product item might become unavailable if it runs out of stock after a purchase. A queued item can also be cancelled by the customer before it is dispatched, which will become available for purchase again. Purchased item will be dispatched to the customer after confirming the status of the product item.

    Question No. 1: (10)
    Carefully read the above mentioned scenario and identify the five possible states of product item life cycle. Also draw the State Transition Diagram for the mentioned scenario with proper labelling of the transitions.

    Question No. 2: (10)
    Suppose you are hired as a software engineer in an XYZ organization for maintaining design of an existing educational institute system. For this purpose, you will need to apply the software design principles for a good maintainable design. All the changes in the system design should be localized, so that, it should have a minimal effect on other parts of the system. A small portion of code from the existing system is given below. This code is observed to be loosely cohesive. You are required to apply the software design principles and make the code highly cohesive.

    class course {
        private:
             string course_code;
             string course_name;
             int credit_hours;
             int enrolled_student;
             int student_id;
             string student_name;
             int studentCurrentSemster;
             float student_gpa; 
                  
       public: 
          void setCourseCode(string);
          void setCourseName(string);
          void setCreditHours(int);
          void countEnrolledStudent();
          void setStudentId(int);
         
          string getCourseCode();
          string getCourseName();
          int getCreditHours();
          int getStudentId(); 
          int getStudentCurrentSemster();
    };
    

    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
    %(red)[NOTE: Don't copy or replicating idea solutions.]
    Quiz Copy Solution
    Mid and Final Past Papers
    Live Chat

    1 Reply Last reply
    0
    • mehwishM Offline
      mehwishM Offline
      mehwish
      Cyberian Publisher's
      wrote on last edited by zareen
      #2

      Q. 1 Solution
      b9d2de8b-ef79-40ac-9785-08f570c63887-image.png

      Q. 2 Solution

      class course { 
           private:
               string course_code;
               string course_name;
               int credit_hours;
               int enrolled_student;
           public:
             void setCourseCode(string);
             void setCourseName(string);
             void setCreditHours(int);
             void countEnrolledStudent();
      
             string getCourseCode();
             string getCourseName();
             int getCreditHours();
      
      };
      
      class student {
         private:
               int student_id;
               string student_name;
               int studentCurrentSemster;
               float student_gpa;
      
         public:
                void setStudentId(int);
                int getStudentId(); 
                int getStudentCurrentSemster();
      };
      
      

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      %(red)[NOTE: Don't copy or replicating idea solutions.]
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      1 Reply Last reply
      1
      • zaasmiZ Offline
        zaasmiZ Offline
        zaasmi
        Cyberian's Gold
        wrote on last edited by zareen
        #3

        https://m.youtube.com/watch?v=4_H2xc0P96Q&feature=youtu.be

        https://youtu.be/qVw5CQdcg08

        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
        [NOTE: Don't copy or replicating idea solutions.]
        VU Handouts
        Quiz Copy Solution
        Mid and Final Past Papers
        Live Chat

        1 Reply Last reply
        0

        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
        File Sharing
        Earn with File Sharing

        1

        Online

        3.0k

        Users

        2.8k

        Topics

        8.2k

        Posts
        solution
        1235
        discussion
        1195
        fall 2019
        813
        assignment 1
        428
        assignment 2
        294
        spring 2020
        265
        gdb 1
        238
        assignment 3
        79
        • PM. IMRAN KHAN
          undefined
          4
          1
          4.0k

        • Are the vaccines halal or not?
          undefined
          4
          1
          3.8k

        • All Subjects MidTerm and Final Term Solved Paper Links Attached Please check moaaz past papers
          zaasmiZ
          zaasmi
          3
          26
          75.1k

        • CS614 GDB Solution and Discussion
          M
          moaaz
          3
          3
          8.1k

        • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
          Y
          ygytyh
          3
          28
          23.9k
        cyberianC
        cyberian
        | |
        Copyright © 2010-26 RUP Technologies LLC. USA | Contributors
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Pro Blog
        • Users
        • Groups
        • Unsolved
        • Solved