0% found this document useful (0 votes)
98 views3 pages

Your Assignment Solution Must Be in Microsoft Word Document Format

This document provides instructions for Assignment No. 2 for the course Software Engineering-1. It states that the assignment covers lecture material from lectures 8 to 17 and is worth 20 total marks. It provides details on submission requirements such as submitting through the learning management system by the due date of June 5, 2021. It lists the objectives of improving students' learning of logical system models and hands-on experience with data flow modeling. It includes two questions, with the first asking students to identify mistakes in a sample data flow diagram, and the second asking students to refactor a low cohesive class into more highly cohesive classes.

Uploaded by

ayesha arooj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views3 pages

Your Assignment Solution Must Be in Microsoft Word Document Format

This document provides instructions for Assignment No. 2 for the course Software Engineering-1. It states that the assignment covers lecture material from lectures 8 to 17 and is worth 20 total marks. It provides details on submission requirements such as submitting through the learning management system by the due date of June 5, 2021. It lists the objectives of improving students' learning of logical system models and hands-on experience with data flow modeling. It includes two questions, with the first asking students to identify mistakes in a sample data flow diagram, and the second asking students to refactor a low cohesive class into more highly cohesive classes.

Uploaded by

ayesha arooj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment No.

02
Total Marks: 20
Semester: Spring 2021
Software Engineering-1 (CS504) Due Date: 5-06-2021

Assignment No. 2 covers lecture-8 to lecture-17.

 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 Logical System Models.
 To have hands on experience of Data Flow Modeling.

For any query about the assignment, contact at [email protected]

Question#1: (5 Marks)

In DFD, the rectangle represents an external entity, the circle represents a process, and an
arrow represents the data flow. You are required to enlist at least any two mistakes in the
following DFD:
Question#2: (15 Marks)

Given the class StudentManager, which is identified as a low cohesive class, you are required to
create a highly cohesive class(es) out of this class comprising of all essential elements: class
name, attributes, and operations.

Your solution must be uploaded on or before 5th June 2021.

Solution no .1

 Two arrow head can’t use at once


 The process (P3) does not produce any output.
 The External entity x directly communicate with the external entity y which is
illegal in DFD

Solution no .2

class order {
public:
int getOrderID();
date getOrderDate();
float getTotalPrice();
int getCustometId();
void setOrderID(int oId);
void setOrderDate(date oDate);
void setTotalPrice(float tPrice);
void setCustometId(int cId);
void addLineItem(item anItem);
private:
int oredrId;
date orderDate;
float totalPrice;
item lineItems[20];
int customerId;
};
class customer {
public:
int getCustometId();
string getCustomerName();
string getCustometAddress();
int getCustometPhone();
int getCustomerFax();
void setCustometId(int cId);
void setCustomerName(string cName);
svoid setCustometAddress(string cAddress);
void setCustometPhone(int cPhone);
void setCustomerFax(int cFax)
private:
int customerId;
string customerName;
int customerPhone;
int customerFax;
}

You might also like