logo

Software Process: Time and Effort Analysis for Writing Programs in Different Languages

   

Added on  2023-06-03

12 Pages1877 Words233 Views
 | 
 | 
 | 
Running head: SOFTWARE PROCESS
SOFTWARE PROCESS
Name of the Student
Name of the University
Author Note
Software Process: Time and Effort Analysis for Writing Programs in Different Languages_1

1SOFTWARE PROCESS
Introduction:
In this task the main objective is to perform task 1 and task 2 to have an insight about the
time needed to write problems in different languages when written repeatedly. In particular at
first 7 random students’ required time to write problem 1 in language A and B and problem 2
in language A is selected from a total of 14 students’ data. Then the average time is
calculated for each attempt for the three task and hence a total of 12 means are obtained.
Then two chosen models with respect to time(t) is fitted with each 4 set of effort(person-
minuites) data and the constants of the model is determined for which the model will
approximate the actual data. Additionally, some graphs about the comparison of effort for
different languages and different problems are drawn with respect to number of attempts to
compare the languages or problems.
1. Averaging data:
The time needed to do the task P1LA, P2LA and P1LB in four attempts at an interval 3
days by the 14 students are given below.
Tim
e 0 1 2 3 0 1 2 3 0 1 2 3
Problem 1 Language A
Problem 2
Language A
Problem 1 Language
B
1
17
5 140
21
1 73
20
8
15
4
14
4
12
8
13
7
11
1
11
3 101
2
37
0 110 30 25
28
6 53 36 27
10
0 44 32 13
3
27
0 170
11
7
11
4 50 59 45 40
10
5 80 60 60
4 80 35 16 13 78 42 39 19
11
3 50 29 29
5 80 23 30 13 59 33 20 13
13
9 63 28 22
6 55 20 19 18 83 15 13 13
11
5 35 29 41
7
12
7 46 50 56 97 46 67 39
11
5 50 56 52
8 26 70 63 21 10 42 44 31 14 97 92 58
Software Process: Time and Effort Analysis for Writing Programs in Different Languages_2

2SOFTWARE PROCESS
5 3 6
9
20
5 165 58 64
15
0
11
5
10
7
10
2
15
9
11
3 87 82
10 52 18 71 21 34 17 18 16 17 15 21 14
11
21
0 71 63 26 60 31 21 18 38 32 71 24
12
16
9 82 47 27 73 38 91 58
10
6 22 28 28
13
21
2 253 54 47 46 34 25 17 73 32 26 19
14
15
0 75 63 45 75 78 27 26 73
13
5 28 66
In this task 7 out of 14 students are selected at random in excel by using the excel
function (choose(randbetween(1,14),time 1, time 2,...time 14). Now, after generating the
time needed of a randomly chosen 7 students, the values are pasted to stop them from
updating. The generated times and the average is shown below.
Selected(0) Selected(1) Selected(2) Selected(3) Selected(0) Selected(1) Selected(2) Selected(3)Selected(0) Selected(1) Selected(2) Selected(3)
127 46 117 25 75 38 144 102 146 80 32 41
80 165 211 27 73 15 39 128 115 32 87 82
169 165 50 47 59 42 18 13 17 35 29 101
169 75 54 64 97 42 44 58 38 35 29 29
55 71 63 27 208 78 107 26 73 44 28 29
150 165 63 45 78 31 13 13 106 97 28 29
55 35 71 25 103 78 44 31 100 97 28 24
115 103.142857 89.8571429 37.1428571 99 46.2857143 58.4285714 53 85 60 37.2857143 47.8571429
Problem 2 Language A Problem 1 Language BProblem 1 Language A
The average times of 7 students in each attempt of solving three tasks are shown in bold
at the bottom row.
2. Curve Fitting:
Software Process: Time and Effort Analysis for Writing Programs in Different Languages_3

3SOFTWARE PROCESS
Now, in this task two models are chosen to fit the effort from each attempt with respect to
the time. Hence, each attempt has 4 data points which are fitted with the effort calculated
from models.
The chosen models are
1) Model M2= Effort = (a+bct)/(bt+1)
2) Model M4 = Effort = (a-c)(t+1)^(-b) + c
Now, the error for fitting is estimated by calculating the absolute value of model effort
and the obtained effort from the average time needed for 7 students (Wang et al. 2016).
3. Report
The values of a,b and c are calculated by using the excel solver in which the objective
function is the total error which is to minimized by varying the constants a,b and c
subjected to constraints a, b and c are greater than zero (Winston 2016).
P1LA M2 effort table:
Time Effort
Effort
(From
Model)
Error
0 115 141.032646 26.03265
1 103.1429 75.2949115 27.84795
2 89.85714 52.536914 37.32023
3 37.14286 40.9924855 3.849628
95.05045TOTAL
The a,b,c constants are
a b c
141.03264
6
0.944278 5.677957
Software Process: Time and Effort Analysis for Writing Programs in Different Languages_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents