Software Requirements Specification: Version 1.0 Approved

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 17

Software Requirements

Specification
for

Calculator using GUI

Version 1.0 approved

Prepared by: Faizan sharif (007), Rana Usama Arif(025), Umair Raza(028)

Comsats University Islamabad Sub Campus Vehari

Date:13-04-2022

.
Software Requirements Specification for <Project> Page ii

Table of Contents
Table of Contents...........................................................................................................................ii
Revision History.............................................................................................................................ii
1. Introduction..............................................................................................................................1
1.1 Purpose...........................................................................................................................................1
1.2 Document Conventions..................................................................................................................1
1.3 Intended Audience and Reading Suggestions.................................................................................1
1.4 Project Scope..................................................................................................................................1
1.5 References.......................................................................................................................................1
2. Overall Description..................................................................................................................2
2.1 Product Perspective........................................................................................................................2
2.2 Product Features.............................................................................................................................2
2.3 User Classes and Characteristics.....................................................................................................2
2.4 Operating Environment...................................................................................................................2
2.5 Design and Implementation Constraints.........................................................................................2
2.6 User Documentation.......................................................................................................................2
2.7 Assumptions and Dependencies......................................................................................................3
3. System Features.......................................................................................................................3
3.1 System Feature 1............................................................................................................................3
3.2 System Feature 2 (and so on)..........................................................................................................4
4. External Interface Requirements...........................................................................................4
4.1 User Interfaces................................................................................................................................4
4.2 Hardware Interfaces........................................................................................................................4
4.3 Software Interfaces.........................................................................................................................4
4.4 Communications Interfaces............................................................................................................4
5. Other Nonfunctional Requirements.......................................................................................5
5.1 Performance Requirements.............................................................................................................5
5.2 Safety Requirements.......................................................................................................................5
5.3 Security Requirements....................................................................................................................5
5.4 Software Quality Attributes............................................................................................................5
6. Other Requirements................................................................................................................5
Appendix A: Glossary...................................................................................................................5
Appendix B: Analysis Models.......................................................................................................6
Appendix C: Issues List.................................................................................................................6

Revision History
Name Date Reason for Changes Version
Calculator using 13-04- Modify the Calculator using GUI 1.0
GUI 2022
Software Requirements Specification for <Project> Page 1

1. Introduction

1.1 Purpose
This application is Basically for Solution of mathematics problems. It Contain the Graphical user
interface. It helps the user solve problems easily. Purpose of this document is to describe
requirement specifications for Calculator and is to inform the readers and students of the class of
the significant details and background of our project. This project is simulating the basic
calculations.

Purpose of this document is to


describe requirement
specifications for Scientific
Calculator and
is to inform the readers and
students of the class of the
significant details and
background of
our project. This project is
simulating the basic algebraic
Software Requirements Specification for <Project> Page 2

and trigonometric and


engineering
calculations.
Purpose of this document is to
describe requirement
specifications for Scientific
Calculator and
is to inform the readers and
students of the class of the
significant details and
background of
our project. This project is
simulating the basic algebraic
and trigonometric and
engineering
Software Requirements Specification for <Project> Page 3

calculations.
Purpose of this document is to
describe requirement
specifications for Scientific
Calculator and
is to inform the readers and
students of the class of the
significant details and
background of
our project. This project is
simulating the basic algebraic
and trigonometric and
engineering
calculations.
Software Requirements Specification for <Project> Page 4

Purpose of this document is to


describe requirement
specifications for Scientific
Calculator and
is to inform the readers and
students of the class of the
significant details and
background of
our project. This project is
simulating the basic algebraic
and trigonometric and
engineering
calculations.
Software Requirements Specification for <Project> Page 5

1.2 Document Conventions

For this SRS PDLC standards


will be used. As of yet there are
no special sections which needs
to be specifically pointed out.
For this SRS PDLC standards
will be used. As of yet there are
no special sections which needs
to be specifically pointed out.
For this SRS PDLC standards
will be used. As of yet there are
no special sections which needs
to be specifically pointed out.
For this SRS PDLC standards will be used. As of yet there are no special sections which needs to
be specifically pointed out.

1.3 Intended Audience and Reading Suggestions


The user will get the GUI for implementation of numbers and integers. Also, the user will get the
clear the number easily and again write the number and get the history too.
Software Requirements Specification for <Project> Page 6

1.4 Project Scope


The scope of project includes the implementation of the functionality needed for calculating
arithmetic operations, memory operations setting and showing will be developed. The software
product also designed to include menus for selecting which function to compute, an options menu
for changing the options on the implemented machine. The software products will be interactive
with the client, in which they allow him/her to choose all of the options from the first display
screen.

2. Overall Description

2.1 Product Perspective

Proposed Scientific Calculator


shall be implemented in Visual
Basic. The design mimics the
calculator present in
Microsoft windows operating
systems with small
modifications. The
features provided by the
calculator include all features
Software Requirements Specification for <Project> Page 7

typical of a calculator. It can be


used in
place of the calculator program
which is included with the
operating system. There are two
views of a calculator. Basic
view provides the standard
functions of a calculator, and
the
scientific view allows access to
the advanced features. Input is
provided through GUI buttons
or the keyboard. Number formats
supported include Hex, dec, oct
and binary. Hex, Oct and bin
Software Requirements Specification for <Project> Page 8

numbers can be of size


QWord, DWord, Word, or
Byte (see glossary for
explanation).
Arithmetic operations are
supported. A set of trigonometric
operations is provided in
addition
to algebraic functions. A
memory is provided to hold
single number between
calculations.
Enter numbers either by clicking
on the buttons or using the
keyboard. To use the
Software Requirements Specification for <Project> Page 9

arithmetic functions, click their


buttons. If the function is unary
(only one operand) the display
is updated to the result. If the
function is binary (two operands)
enter the second number and
click = or another arithmetic key.
An optional menu bar (or
command bar) can be used to
give access to additional
functions. All
the menu bar functions can be
obtained in other ways.
Proposed Calculator shall be implemented in Visual Studio Code. The design mimics the calculator
present in Microsoft windows operating systems with small modifications. The features
provided by the calculator include all features typical of a calculator. It can be used in place of the
calculator program which is included with the operating system. There are two views of a
calculator. Basic view provides the standard functions of a calculator. Input is provided through
GUI buttons or the keyboard. A memory is provided to hold single number between calculations.
Software Requirements Specification for <Project> Page 10

2.2 Product Features


It can Easily add, multiply, subtract and divide two number. The most appropriate feature is GUI
which gives the user Easy Access.

2.3 User Classes and Characteristics

Scientific Calculator shall be


implemented in Visual Basic.
The design mimics the calculator
present in Microsoft
windows operating systems
with small modifications.
The features
provided by the calculator
include all features typical of a
calculator. Below figure shows
user
classes diagram.
Software Requirements Specification for <Project> Page 11

Scientific Calculator shall be


implemented in Visual Basic.
The design mimics the calculator
present in Microsoft
windows operating systems
with small modifications.
The features
provided by the calculator
include all features typical of a
calculator. Below figure shows
user
classes diagram.
Scientific Calculator shall be implemented in Visual Studio Code. The design mimics the calculator
present in Microsoft windows operating systems with small modifications. The
features provided by the calculator include all features typical of a calculator. Below figure shows
user classes diagram.

2.4 Operating Environment


It will implement in the Visual Studio code. It will contain the python code.
Software Requirements Specification for <Project> Page 12

2.5 Design and Implementation Constraints


1) Arithmetic calculations: As a calculator, it seems obvious that this machine will be able to perform
basic arithmetic calculations. Addition, subtraction, multiplication. This function will provide the
“standard calculator” single memory operations including: MC Memory Clear. Memory store,
memory clear, operations where the memory unit is one of the operands and the result is stored back into
memory.4) Output: This function will display the results of a calculation or memory. Results should be
displayed under the following conditions:1. Whenever the equals sign (=) is input.2. Optionally, whenever
the ENTER key is pressed.3.2 Design and Implementation The calculator has the following keys: 0……9, .,
+, -, *, /. If the calculation is impossible the calculator has to display information helping the
user to resolve the erroneous situation, like: • On encountering a division by 0 the display should read
"Cannot divide by 0" and typing the key “C” should reset the calculator

2.6 User Documentation


All the information about the software is contain python and it is learnt from code with harry.

2.7 Assumptions and Dependencies


Sometimes it contains some bugs. It can be implemented or fixed by change in the code or change
in GUI. It will give the write order of number. So, it will not make more assumptions. It depends
upon the GUI. Because It’s important factor of calculator.

3. System Features
The main function of calculator is Addition, Multiplication, Subtraction and Division.

3.1 System Feature 1

3.1.1 Stimulus/Response Sequences

It will shave done his work just in few secs. It also saves the pervious calculations as history
in data base.

3.1.2 Functional Requirements

It is suitable for carry out the different calculation on the other end it will also use
GUI.
Software Requirements Specification for <Project> Page 13

4. External Interface Requirements

4.1 User Interfaces


1.Arithmetic: the system will use the built in ALU to compute all the arithmetic that will be done
for the calculator.
2.Upper level Calculations: The programmers of the machine will write in functions
that the machine will be able to call to produce upper level calculations.

4.2 Hardware Interfaces

The following Hardware


configuration at least: -
A PC with Pentium IV Processor
128 MB RAM & ABOVE
40 GB HDD & ABOVE
A 640x480 screen resolution
with a minimum of 256 colors
The following Hardware configuration at least: -
A PC with Pentium IV Processor128 MB RAM & ABOVE
40 GB HDD & ABOVE
A 640x480 screen resolution with a minimum of 256 colors

4.3 Software Interfaces

Software
Programming Language: VB
Software Requirements Specification for <Project> Page 14

Platform: VB 6.0
Operating System: Windows
Software Programming Language: VB
Platform: VB 6.0
Operating System: Windows

4.4 Communications Interfaces


N/A

5. Other Nonfunctional Requirements

5.1 Performance Requirements


It gives the performance according to the user requirements
And it will implement in the box like which can be chosen easily. It can be used every person
easily.

5.2 Safety Requirement


Avoid from using more operator in the calculation because it is design for single calculation one
time.

5.3 Security Requirements


N/A

5.4 Software Quality Attributes

5.4.1 Maintain ability

The design will be updated based on any changes, which are done during coding stage to maintain
proper trace ability

5.4.2 Availability

Once initialized, it is available till the operating system is shut down.


Software Requirements Specification for <Project> Page 15

5.4.3 Scalability

N/A

5.4.4 Installation

Users need to start executing file.

6. Other Requirements
It contains the clear function button also which help I n many things.

Appendix A: Glossary
It will be implement in visual studio code. It will use the python as calculation and Tkinter as GUI.

Appendix B: Analysis Models


N/A

Appendix C: Issues List


It contains bugs if code is not implement in the right way.

6.1 References

1.https://www.youtube.com/watch?
v=gfDE2a7MKjA&ab_channel=CodeWithHarry (harry,Sep 24.2022)

You might also like