0% found this document useful (0 votes)
525 views14 pages

#Practical 1 - Select and Write Down The Problem Statement For A Real Time System of Relevance

Uploaded by

lalit saini
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)
525 views14 pages

#Practical 1 - Select and Write Down The Problem Statement For A Real Time System of Relevance

Uploaded by

lalit saini
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/ 14

#Practical 1: Select and write down the problem statement for a real time

system of relevance .

House Price Prediction Model

• Software Tools Used For Diagrams:


- CREATELY
- VISUAL DIAGRAMS

Problem Statement:
Investment is a business activity in which most people are interested in this
globalization era. There are several objects that are often used for investment, for
example, gold, stocks and property. In particular, property investment has increased
significantly. Housing price trends are not only the concern of buyers and sellers, but
it also indicates the current economic situation. There are many factors which have
an impact on house prices, such as the number of bedrooms and bathrooms. Even
the nearby location, a location with great accessibility to highways, expressways,
schools, shopping malls and local employment opportunities contribute to the rise in
house price.
Manual house prediction becomes difficult, hence there are many systems
developed for house price prediction. We have proposed an advanced house
prediction system using linear regression. This system’s aim is to make a model
which can give us a good house pricing prediction based on other variables. We are
going to use Linear Regression for this dataset and hence it gives good accuracy.
#Practical 3: To perform the users view analysis for the suggested system:
Use Case Diagram.
TEMPLATE :

House Price Prediction Model:


Manual house prediction becomes difficult, hence there are many systems
developed for house price prediction. We have proposed an advanced house
prediction system using linear regression. This system’s aim is to make a model
which can give us a good house pricing prediction based on other variables. We are
going to use Linear Regression for this dataset and hence it gives good accuracy.

List of Actors:
1. User
2. Admin

Flow of events:
1. User:
● Logs in to the platform.
● Select a prefer broker and can contact them.
2. Admin:
● Registers on the platform or logs in if already registered.
● Update property details and broker contact.

Special requirements:
● Secure Login Credentials: Ensure that login credentials are required for
accessing the platform to maintain data security and privacy.
● Forget password: Ensure if User or admin Forget password then they can
forget password using their phone number verification through OTP.

Pre-condition:
● Users must have valid login credentials to access the platform.

Post-Condition:
● Admin must update real time data of properties .
#Practical 4: To create the function oriented diagram: Data Flow Diagram
(DFD)

●Data Flow Diagrams (DFD) :

A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system, modelling its process aspects. Often they are a preliminary step used
to create an overview of the system which can later be elaborated. DFDs can also be used
for the visualization of data processing (structured design).

There are different types of DFD : 0 level , 1 level , 2 level.

● 0 level DFD

DFD Level 0 is also called a Context Diagram. It’s a basic overview of the whole system or
process being analyzed or modeled. It’s designed to be an at-a-glance view, showing the
system as a single high-level process, with its relationship to external entities.
● 1 level DFD
Level 1 DFDs are still a general overview, but they go into more detail than a context
diagram. In level 1 DFD, the single process node from the context diagram is broken down
into sub-processes.

● 2 level DFD

This level provides an even more detailed view of the system by breaking down the
sub-processes identified in the level 1 DFD into further sub-processes. Each sub-
process is depicted as a separate process on the level 2 DFD.
#Practical 5: To draw the structural view diagram for the system : Class
Diagram.
#Practical 6: ER(Entity relationship) diagram.
#Practical 7: To draw the behavioral view diagram : Activity diagram.
#Practical 8: To perform the behavioral view diagram for the suggested system
: Sequence diagram.
#Practical 9: Draw the component diagram.
#Practical 10:Draw the Deployment diagram.
#Practical 11: Perform Measurement of complexity with Halstead Metrics for
chosen system.
Code Snippet: Program to sort an array
int sort (int x[ ], int n)
{
int i, j, save, im1;
/*This function sorts array x in ascending order */
If (n< 2) return 1;
for (i=2; i< =n; i++)
{
im1=i-1;
for (j=1; j< =im1; j++)
if (x[i] < x[j])
{
Save = x[i];
x[i] = x[j];
x[j] = save;
}
}
return 0;
}

Now, let’s calculate the Halstead metrics for this


Program length (N):
Total number of operators = 53
Total number of operands = 38
N = Total number of operators + Total number of operands = 53 + 38 = 91

Program vocabulary (n):


Unique operators = 14
Unique operands = 10
n = Unique operators + Unique operands = 14 + 10 = 24

Program volume (V):


V = N * log2(n) = 91* log2(24) ≈ 417.23

Program difficulty (D):


D = (Unique operators / 2) * (Total number of operands / Unique operands)
= (14/ 2) * (53/ 10) ≈ 37.1

Program effort (E):


E = D * V = 37.1 * 417.23 ≈ 15,479.24

You might also like