Professional Documents
Culture Documents
Ddocp
Ddocp
Spreadsheet is very important and need to our life. As it is mainly used in business field. As it is very
difficult to make spreadsheet. It need many knowledge to make. Spreadsheet is a software which is
made by using various code. It contain 26 by 26 grid used for calculation. User are allowed to calculate
their work own it. With the help of this software it will be easier in our works.
TASK 1
This program Simple Spreadsheet contains many code/algorithm which makes the company
satisfy with all the requirement. This program contains many technique like function, objects,
classes, loop any many more.
Function: A function is a section of name in a program which perform specific task or we can
say it is a type routine.
Selection: This program allows us to expression or value to execute. It control flow of the
program
Loops: It help us in executing a statement until it is satisfied. It help in doing more amount of
task.
Class: It create a individual objects. We can say it a group of objects same type property.
Now, given below shows the all the code to create simple spreadsheet and all requiredments
are fullfilled which the assignments have asked. Below shows the screenshot of source code of
spreadsheet of 26 by 26 grid
Figure 1: Spreadsheet design
Figure 3: Spreadsheet
Figure 4: Class All Operation
Figure 5: class grid
Encapsulation: It gives us the knowledge of bundling of data and the work in one unit.
Figure 9: Encapsulation
Black Box Testing: It a testing which is tested by looking code structure, details and information of path.
In this testing simply the initial code is tested. If any problem are shown then they are re-tested. It will
test only the selected inputs given by the user.
Testing
Here are the 15 testing of spreadsheet with error and without as shown above
Now, testing the unit testing of all operation are shown below:
We can say that class diagram is a structural diagram which helps us to show their classes with
their relationship between them. Different class with different attributes is shown. Class Diagram
is very helpful to everyone and for the developers.