You are on page 1of 14

ACKNOWLEDGMENT

All praise to Almighty ALLAH, the most merciful and compassionate, who give us skills and
abilities to complete project successfully.
We are grateful to our parents who are always been a source of encouragement for us throughout
our lives and from start to end of this project.
We are expressing our greatest gratitude to our kindhearted project supervisor Sir Adeel Zahid ,
Lecturer College of Computer Science and Information Studies, who made us able to develop
this project, his enthusiasm shows the way forward to us to achieve this success and who kept us
in high spirit through her appreciation. He helped us a lot each time we went up to him.
We are very thankful to our all friends. We found every one co-operative and helpful for
providing us the theoretical as well as practical knowledge about the function and operation of
this project.

Mr. Bashir Hussain


Mr. Ali Athar

DEDICATION
This Thesis/Project work is dedicated to our parents and our teachers, who taught us different
roads of life and directed us towards our destinations. To all those friends and companions who
helped us while doing this work and made the journey of university career easier.

II

DECLERATION

The work reported in this thesis was carried out by us under the supervision of Sir Adeel Zahid
Lecturer, College of Computer Science & Information Studies GC University Faisalabad,
Pakistan.
We hereby declare that the Voice Scientific Calculator and the contents of thesis are
the product of our own research and on part has been copied from any published source (expect
the references, standard mathematical or genetic models / equations / formulas / protocols etc.).
We further declare that this work has not been submitted for award of any other degree /
diploma. The University may take action if the information provided is found inaccurate at any
stage.

Bashir Hussain s/o Khial Hussain


Registration No: 2009-GCUF-1955-526

And

Ali Athar s/o Tasaddaq Hussain


Registration No: 2009-GCUF-1934-526

III

STATEMENT OF SUBMISSION
This is to certify that Bashir Hussain s/o Khial Hussain Roll No. 1423 and Ali Athar s/o
Tasaddaq Hussain Roll No. 1401 have successfully completed the final project named as:
Voice recognition speech calculator, at the College of Computer Science and Information
Studies, GC University, Faisalabad, to fulfill the partial requirement of the degree of BS
(Software Engineering).

Internal Examiner

Name: ______________

Signature: ___________

External Examiner

Name: ______________________

Signature: ____________________

Principal
College of Computer Science
& Information Studies
GC University Faisalabad.

IV

ABSTRACT
Voice calculator is a tool for estimation of engineering, mathematical, physical, mechanical ideas
in digits. Modern science is complicated and estimation usually a formula, taking several lines
on paper. The following is voice scientific calculator is more complicated. It will assume the user
will speak for any operation then they will perform automatically without any faults and that
operation and display on the screen. It can perform different operation like add two number,
subtract two number, multiply two number, division of two number ,also calculate the geometric
function like sin, cos, tan, sec,cosec ,cot, Log etc.
This application is recognizing English ONLY.

Table of Content

Chapter No:1 ...................................................................................................................... 1


Software Requirement Specification ................................................................................... 1
1.1 The Purpose of the Project. .......................................................................................

1.2 Client, Customer and other Stakeholders .......................................................................2


1.2a. List of Stake Holders: ..................................................................................................2
1.2b.Client and Customer Contact ........................................................................................ 2
1.3 Users of the Product ....................................................................................................... 2
1.4 Mandated Constraints: .................................................................................................. 2
1.4a. Solution design constraints ......................................................................................... 2
1.4b. Implementation environment of the current system ................................................... 2
1.4c. Off-the-shelf software ................................................................................................. 2
1.4d Anticipated workplace environment ........................................................................... 2
1.4e How long do the developers have for the project? ...................................................... 2
1.4f What is the financial budget for the project? ............................................................... 3
1.5 Naming Conventions and Definitions ............................................................................ 3
1.6 Relevant Facts and Assumptions ................................................................................... 3
List of Facts and Assumptions: ........................................................................................ 3
1.7 The Scope of the product ............................................................................................... 3
1.8 Context Level Diagram .................................................................................................. 4
1.9 Functional Requirements ................................................................................................ 5
1.9a List of requirements ..................................................................................................... 5
1.9b. Description of each Requirement (Requirement Shell) ............................................. 6
1.10 Look and Feel Requirements ....................................................................................... 13
1.10a. The interface ..............................................................................................................13
1.10b. The style of the product ............................................................................................ 13
1.11. Usability and Humanity Requirements ....................................................................... 13
11a. Ease of use. ...................................................................................................................13
11b. Personalization and internationalization requirements ................................................. 14

VI

11c. Ease of learning. ........................................................................................................... 14


11d. Understandability and Politeness requirements. ...................................... .. 14
11e. Accessibility requirements. ............................................................................... . 14
.12. Performance Requirements ................................................................................. 14
1.12a. Speed and latency requirements...... 14
1.12b. Reliability and Availability requirements ....................................................... . 14
1.12c. Scalability or extensibility requirement.............. 14
1.12d. Longevity requirements .................................................................... .. 15
1.13. Operational Requirements ....................................................................... . 15
1.13a. Expected physical environment .......................................................... .... 15
13b. Expected technological environment .................................................. .. 15
13c. Partner applications ............................................................................. . .. 15
1.14. Maintainability and Support Requirements ................................................. . 15
1.14a. Maintenance requirements .................................................................... ....... 15
1.14b. Special conditions that apply to the maintenance of the Product ........... 15
1.15 Security Requirements ............................................................................... 15
1.16. Legal Requirements ................................................................................. . 15
1.16a. Standards requirements ....................................................................... 15
1.17. Open Issues .............................................................................................. . 15
1.18. Off-the-Shelf Solutions ............................................................................ . 16
1.19. Risks ..... 17
1.20. Schedule ....... 18
1.21. Giant chart .. 19

Chapter No:2 ............................................................................................................20


Use Case diagram ......................................................................................... 21
2.1. Abstract Level Use case Model ........................................................................... 21
2.2 Detailed Level Use Case Model .............................................................................. 22
2.3 Use case diagram for scientific operations

23

VII

2.3 Use Case Description . 24


UCD#01:Add .................................................................................... . 24
UCD#02:Substract .................................................................................... ......... 25
UCD#03:Multiplication .................................................................................... .... 26
UCD#04:Divide .................................................................................... ..... 27
CD#05: Sine value .......................................................................................... . 28
UCD#06:Cos value .................................................................................... ....... 29
UCD#07: Tan value .................................................................................... ....... 30
UCD#08:Sec value .................................................................................... ..31
UCD#09:Cosec value .................................................................................... ..... 32
UCD#10:Cot value .................................................................................... .. ...33
CD#11:Log .................................................................................... ...... ... 34
UCD#12:ln value .................................................................................... .... 35
UCD#13:Square root value ................................................................................ . .. 36
UCD#14:Floor value .................................................................................... ...... 37
UCD#15:Ceiling value .................................................................................... .. 38
UCD#16:Pi value .................................................................................... ... 39

Chapter No:3 .............................................................................................. 40


3.1: Domain model .................................................................................................. .. 41
3.2: Sequence Diagram.............................................................................................. .. 42
3.3: System Sequence Diagram ......................................................................................... 43
SSD#01: Addition.......... 43
SSD#02: Subtraction..44
SSD#03: Multiplication..... 45
SSD#04: Division.. 46
SSD#05: Sine value....... 47
SSD#06: Cos value.... 48
SSD#07: Tan value.... 49
SSD#08: Cosec value. 50
SSD#09: Cot value. 51

VIII

SSD#10: Sec v... 52


SSD#1. value..... 53
2: Ceiling value ..... 54
SSD#13: Square root value.... 55
SSD#14: Log value.... 56
SSD#15: ln value... 57
SSD#16: Clean ...... 58
SSD#05: Pi value... 59

Chapter No:4 ...................................................................................... ... 60


4.1Implementation................................................................................................................. 61
4.2 Tools & Technology Used................................................................................ . 61
4.3 Hardware Used ............................................................................................61
4.4 Code.... 61

Chapter No:5 .............................................................................................. 67


Software Testing............................................................................................................ 68
Test Cases for Different Operation ..............................................................................

69

TC-01 Add ............................................................................................. .......

69

TC-02 Subtraction ............................................................................................ 70


TC-03 Multiplication ........................................................................................ 71
TC-04 Division ............................................................................................. .. 72
TC-05 Sin value ............................................................................................. ..... 73
TC-06 Cos value ................................................................................................... 74
TC-07 Tan value ........................................................................................... 75
TC-08 Sec value ........................................................................................ 76
TC-09 Cosec value .................................................................................... .... 77
TC-10 Cot value ............................................................................................ 78
TC-11 Log value .......................................................................................... 79
TC-12 ln value ...................................................................................... ..... 80
TC-13 Square root value ..................................................................................... . 81

IX

TC-14 Pi value ..................................................................................... ... 82


TC-15 Floor value ...................................................................................... ..... 83
TC-16 Ceiling value ...................................................................................... ..... 84
TC-17 Clean ....................................................................................... . 85

Chapter No:6 ........................................................................................................... 86


User Manual ...

87

Add 87
Input ... 87.
Output ... 87
Log value... 88
Input. 88
Output ....... 88
Divide ... 89
Input ...... 89
Output ....... 89

Conclusion........................................................................................ 90

List of Figures

Figure 1.1: Context Level Diagram

Figure 1.2: Work Breakdown Structure .

16

Fig 1.3: Schedule

18

Figure 1.4: Gantt Chart

19

20

Figure 1.5: Gantt Chart (B)

Figure 2.1: Abstract Level Use Case Model


Figure 2.1:Detail Level Use Case Model

(for add, sub etc) .................

21
22

23

..

41

Figure 3.2: Sequence Diagram ....

42

Figure 3.3: System Sequence Diagram .

43

SSD 01: Add .

43

SSD 02: Subtr.action .

44

45

..

46

SSD 05: Sine Value. ..

47

SSD 06: Cos Value. .

48

SSD 07: Tan Value. ..

49

SSD 08: Cosec Value. ..

50

..

51

SSD 10: Sec Value. .

52

SSD 11: Floor Value. .

53

SSD 12: Ceiling Value

54

..

55

SSD 14: Log Value.

56

SSD 15: ln Value.

57

Figure 2.3: Use Cases For Scientific Operation


Figure 3.1: Domain Model

SSD 03: Multilipication


SSD 04: Division

SSD 09: Cot Value

SSD 13: Square root Value

XI

SSD 16: Clean (Clear screen) .

58

SSD 17: Pi Value.

59

Fig 6.1.Add

87

Fig 6.2.Add Output

87

Fig 6.3.Log value

...

88

Fig 6.3.Log value (Output) .

88

Fig 6.3.Division value

89

Fig 6.3.Division value (output) ..

89

XII

List of Tables

Table 1.1: Users of the Product and Responsibilities .

Table 1.2: Naming Conventions and Definitions ..

Table 1.3: Functional Requirement 01

Table 1.4: Functional Requirement 02

Table 1.5: Functional Requirement 03

Table 1.6: Functional Requirement 04

Table 1.7: Functional Requirement 05

Table 1.8: Functional Requirement 06

Table 1.9: Functional Requirement 07

Table 1.10: Functional Requirement 08

Table 1.11: Functional Requirement 09

..

10

Table 1.12: Functional Requirement 10

10

Table 1.13: Functional Requirement 11

11

Table 1.14: Functional Requirement 12

11

Table 1.15: Functional Requirement 13

12

Table 1.16: Functional Requirement 14

12

Table 1.17: Functional Requirement 15

13

Table 1.18: Risks Management Plan

17

Table 2.1: Use Case Description # 01

24

Table 2.2: Use Case Description # 02

25

Table 2.3: Use Case Description # 03

26

Table 2.4: Use Case Description # 04

27

Table 2.5: Use Case Description # 05

28

Table 2.6 Use Case Description # 06

29

Table 2.7: Use Case Description # 07

30

XIII

Table 2.8: Use Case Description # 08

31

Table 2.9: Use Case Description # 09

32

Table 2.10: Use Case Description # 10

33

Table 2.11: Use Case Description # 11

34

Table 2.12: Use Case Description # 12

35

Table 2.13: Use Case Description # 13

36

Table 2.14: Use Case Description # 14

37

Table 215: Use Case Description # 15

38

Table 2.16: Use Case Description # 16

39

Table 5.1: Test Case 01

..

68

Table 5.2: Test Case 02

............

69

Table 5.3: Test Case 03

70

Table 5.4: Test Case 04

71

Table 5.5: Test Case 05

72

Table 5.6: Test Case 06

73

Table 5.7: Test Case 07

74

Table 5.8: Test Case 08

75

Table 5.9: Test Case 09

76

Table 5.10: Test Case 10

77

Table 5.11: Test Case 11

78

Table 5.12: Test Case 12

79

Table 5.13: Test Case 13

80

Table 5.14: Test Case 14

81

Table 5.15: Test Case 15

82

Table 5.16: Test Case 16

83

Table 5.17: Test Case 17

84

XIV

You might also like