Ayushi Yadav - 024 - Lab Work

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

LAB WORK

Software Engineering
&
Modeling
CSIT142

AMITY INSTITUTE OF INFORMATION TECHNOLOGY

AMITY UNIVERSITY UTTAR PRADESH, NOIDA


Session: 2020-21 (Even Semester)
LAB FILE: SOFTWARE ENGINEERING & MODELING

SOFTWARE ENGINEERING
&
MODELING

Name of Faculty: - Student Name:-


Mr Shambhu Kumar Jha Ayushi Yadav

Designation: - Enrollment No:-


Professor A1004919024

Institute: - Course:-
Amity University B.Sc. (IT)-4

AMITY INSTITUTE OF INFORMATION TECHNOLOGY


AMITY UNIVERSITY UTTAR PRADESH, NOIDA
Session: 2020 – 2021 (Even Semester)
LAB FILE: SOFTWARE ENGINEERING & MODELING

PSDA-1

PROGRAM TESTING
Test the program for four different input data (2 pass and 2 fail)
LAB FILE: SOFTWARE ENGINEERING & MODELING

Program to find the Transpose of a Matrix

Test Date on
Test Test case
Case Which Test Expected Actual
case Executed I/P Data set Remark
Written case is output o/p
id by
by developed

Enter rows and Transpose Transpos


columns: 3 3 of the e of the
Enter matrix matrix: matrix:
258 258
Pass
element:
TC1 Ayushi 05/1/2021 Ayushi element a11: 2 369 369
element a12: 3 471 471
element a13: 4
element a21: 5
element a22: 6
element a23: 7
element a31: 8
element a32: 9
element a33: 1

Please
TC2 Ayushi 05/1/2021 Ayushi Enter rows and enter
columns: 2 valid error Fail
99999 rows and
columns

Enter rows and Please


TC3 Ayushi 05/1/2021 Ayushi columns: 2 2 enter error Fail
a11: 2.2 valid
rows and
columns

Enter rows and Transpose Transpos


columns: 2 3 of the e of the
Enter matrix matrix: matrix:
elements: 10 40 10 40
TC4 Ayushi 05/1/2021 Ayushi 20 50 20 50 Pass
element a11: 10
30 60 30 60
element a12: 20
element a13: 30
element a21: 40
element a22: 50
element a23: 60
LAB FILE: SOFTWARE ENGINEERING & MODELING

Program to find the Biggest of three numbers

Test Date on
Test Test case
Case Which Test Expected Actual
case Executed I/P Data Remark
Written case is output o/p
id by set
by developed

num2 is num2 is the


a = 21
the greatest
TC1 Ayushi 05/01/2021 Ayushi b = 32 Pass
greatest among
c = 12
among three
three

num2 is num2 is the


a = 202
the greatest
TC2 Ayushi 05/01/2021 Ayushi b = 333 Pass
greatest among
c = 892
among three
three

a= num1 is num3 is the


TC3 Ayushi 05/01/2021 Ayushi Fail
847634 the greatest
5362 greatest among
b=456 among three
c= three
7632

num3 is num2 is the


TC4 Ayushi 05/01/2021 Ayushi a = 0.4 Fail
the greatest
b = 0.32
greatest among
c = 0.45
among three
three
LAB FILE: SOFTWARE ENGINEERING & MODELING

Program to find Roots of a Quadratic Equation

Test case Test Date on Test


id Case Which case I/P Data set Expected Actual o/p Remark
Written Test case Execute output s
by is d by
developed

TC 1 Ayushi 05/1/2021 Ayushi Enter root1 = root1 = Pass


coefficient -3.00 and -3.00 and
a, b and c: root2 = - root2 = -
1 4.00 4.00
7
12

Enter
coefficient root1 = root1 =
TC 2 Ayushi 05/1/2021 Ayushi a, b and c: root2 = root2 = Pass
1 1.00; 1.00;
-2
1

Enter Please enter root1 = -


TC 3 Ayushi 05/1/2021 Ayushi coefficient valid input 1.#R+1.#R Fail
a, b and c: i and root2
abc = -1.#R-
1.#Ri

TC 4 Ayushi 05/1/2021 Ayushi Enter Please enter root1 = - Fail


coefficient s valid input 0.00+0.00i
a, b and c: 9x and root2
= -0.00-
0.00i
LAB FILE: SOFTWARE ENGINEERING & MODELING

Program to determine the Type and Area of a Triangle

Test
Test case Date on Test I/P
Case Expected
id Which case Data Actual Remark
Written output
Test case Execut set o/p
by
is ed by
developed

Enter sides Triangle Triangle


of a is is
05/1/2021
TC1 Ayushi Ayushi triangle: scalene. scalene. Pass
a: 8 Area of Area of
b: 9 triangle triangle
c: 10 34.20. 34.20.

Enter sides Triangle Triangle


of a is is
05/1/2021
TC2 Ayushi Ayushi triangle: equilater equilatera Pass
a: 7 al. Area l. Area of
b: 7 of triangle
c: 7 triangle 21.22.
21.22.

Enter sides Please b: c:


05/1/2021
TC3 Ayushi Ayushi of a enter Sides Fail
triangle: valid don't
a: a input make a
triangle.

Enter sides b: c:
05/1/2021 Invalid
TC4 Ayushi Ayushi of a Sides Fail
input
triangle: don't
a: 4% make a
triangle.
LAB FILE: SOFTWARE ENGINEERING & MODELING

PSDA-2

SRS DOCUMENT
A Patient Information System for Mental Healthcare)
LAB FILE: SOFTWARE ENGINEERING & MODELING

INTRODUCTION

1.1 Purpose

The purpose of this document is to build an online system for a healthcare


to manage the information of mental health patients to facilitate their
treatment.

1.2 Intended Audience and Reading Suggestions

This project is a prototype for a patient information system for mental


healthcare and it is restricted within college premises. This is based on a
case study for the lab work. This project is useful for the healthcare staff,
government health service managers, patients and their relatives.

1.3 Project Scope

The purpose of the online patient information system is to facilitate the


treatment of the mental health patients and to create a convenient and easy-
to-use application for healthcare staff, trying to monitor the patients.

USER REQUIRMENTS

Name of User Group Description

Clinical Staff Includes (Doctor, Nurses


and other staff)
Doctor access and manage
your medical treatment
Nurses provide ongoing
care
LAB FILE: SOFTWARE ENGINEERING & MODELING

Health Visitor Providing health advice


and health education
programmes
Visiting Hospital on daily
basis
Promoting good mental
health.
Management Staff Using Advance
Technology
Develop managed care
system
Identify areas of
vulnerability

Receptionists Making appointments


Maintaining Record of
Patient
Making re-appointments

FUNCTIONAL REQUIRMENTS

 The system should be able to record all the details regarding the
appointment of the patient and its status if he/she missed the
appointment or not. It should be able to generate repeat prescriptions
for patients when these are requested.

 The system should be able to give access to the clinical staff to read
and update the records of the patient, who is attended for a
consultation, with details of the consultation and the treatment
prescribed. It should also allow the doctors to access these records
outside of consultations.

 The system must include a role-based access control system and must
only allow the system users to access the information of their
LAB FILE: SOFTWARE ENGINEERING & MODELING

concern. It should take regular backups of the system information and


store it at a secure location different from the main data server.

 The system shall generate weekly reports for each clinic showing the
number of patients attending the clinic on each day and the total
number of patients who have attended for mental health treatment.
The reports should also summarize the total number of patients
suffering from each condition and the total amount of each drug
prescribed as medication.

NON-FUNCTIONAL REQUIRMENTS

 Safety:

Patients may cause harm to themselves or others. The provisions of


the Mental Health Act must be considered.

 Usability:

The system must be used by a range of staff, often working under


time pressure and with different levels of experience using computer-
based information systems.

 Privacy:

System shall maintain the patient privacy according to the Data


Protection Act and local ethical guidelines.

 Operational Cost:

The maintenance costs which include hardware and software costs


and running costs should be reasonable.
LAB FILE: SOFTWARE ENGINEERING & MODELING

USE CASE DIAGRAM

View Gets
information information
from doctor
Register
Patient
Cashier
Generate
bills
Receptionist
Setup
Appointment Receives
Cash

Reports
details to
doctor
Sends bills
to cashier

Doctor
Generate
Report
View Patient
record

Edit record Give


treatment

Patients
Nurse
Makes an
Pays bill appointmen
t
LAB FILE: SOFTWARE ENGINEERING & MODELING

DATA FLOW DIAGRAM

PATIENT
INFORMATION
SYSTEM

CONCLUSION

This SRS document is used to give details regarding Patient


Information System for Mental health hospitals and clinics. In this all
the functional and non-functional requirements are specified in order
to get a clear-cut idea to develop a project
LAB FILE: SOFTWARE ENGINEERING & MODELING

PSDA-3

WEBSITE TESTING
Report based on testing of any two websites.
LAB FILE: SOFTWARE ENGINEERING & MODELING

Website: https://www.venturtechs.com

1. 464 Links were checked and 454 are ok but 10 Links are failed

2. This Website used Dynamic and modern GUI with large icon.
LAB FILE: SOFTWARE ENGINEERING & MODELING

3. There were no errors in the text on the pages, which used good
grammar and pronunciation.

4. Throughout all of the blog’s posts, the websites used a


consistent font.

5. Black, Grey, Red, White, Green, and Blue are used


consistently in the website. The website's design is really
soothing.

6. Title Bar is good and easily accessible and very user friendly
and every button leads to relevant page.

7. The status bar works well there is all recommended menu you
need.

8. The website has a scroll bar that fits well.

9. Opera GX, Microsoft Edge, and Chrome all have the same
interface. It is suitable for use on a desktop computer.
LAB FILE: SOFTWARE ENGINEERING & MODELING

Website: https://www.healthkart.com

1. Thirty-three links were examined, 14 of which were found to be


in good working order, but ten were found to be inoperable.

2. This website featured a dynamic and sleek user interface with


big icons.
LAB FILE: SOFTWARE ENGINEERING & MODELING

3. The text on the pages was error-free and used proper grammar
and pronunciation.

4. The websites used a consistent font in all of the blog entries.

5. The colours black, grey, red, white, green, navy blue, and
purple are used on the site.

6. The title bar is well-designed, readily available, and user-


friendly, with each button leading to a relevant tab.

7. The status bar is functional, with all of the suggested menus


available

8. The scroll bar on the website is well-placed.

9. The interfaces of Opera GX, Microsoft Edge, and Chrome are


all the same. It's designed to be used on a laptop computer.

You might also like