Question
C++ Personal Software Process Spreadsheet fill-in. Hello there, there is a program I made for my class assignment that relates to various recursion functions. This
C++ Personal Software Process Spreadsheet fill-in.
Hello there, there is a program I made for my class assignment that relates to various recursion functions.
This code is already completed, but I was supposed to write a PSP spreadsheet as I build up my program.
I'm asking you to simply fill in my PSP spreadsheet with your own imagination and actual results since I dont quite understand the concept of the PSP..
It just needs to make sense so you can just make things up for estimates.
Here is the code for my completed recursion testing program:
------------------------------------
#include
using std::string;
int sum_evens(unsigned int n);
int multiply(unsigned int a, unsigned int b);
int smallest(int* arr, int length);
bool is_palindrome(string s);
bool is_element_of(int i, int* array, int length);
bool is_subset(int* a, int length_a, int* b, int length_b);
int main() { using std::cin; using std::cout;
int a; // testing sum_evens cout > a; cout
int aa; //multiplication using addition. int bb; cout > aa >> bb; cout
int c[] = {3,5,2,1,5}; cout
//tests is_palindrome(string s); string d; cout
// tests functions 7 and 8 int x[] = {5, 2, 1}; int y[] = {1,2,5,1,2}; bool istrue = is_subset(x,3,y,5); cout
int sum_evens(unsigned int n){ if(n == 0) return 0; if(n % 2 == 0) return n + sum_evens(n - 2); else return sum_evens(n - 1); }
int multiply(unsigned int a, unsigned int b){ if(b == 0) return 0; if(b == 1) return a; else return a + multiply(a, b - 1); }
int smallest(int* arr, int length){ if(length == 1) return arr[0]; length--; return smallest(arr + (arr[0] > arr[length]) , length);
}
bool is_palindrome(string s){ if(s.length()
return true; }
bool is_element_of(int i, int* array, int length){ if(length
bool is_subset(int* a, int length_a, int* b, int length_b){ if(length_a
-------------------------------------------------
And below is the spreadsheet I ask you to fill in.
(fields that you should fill in are highlighted in light blue)
I am keep getting trolled in this Q&A section and I know that there are many experts that really have passion in helping students in this website.
If you don't think you understand my question, please skip it.
I desperately need expert-level help on this assignment.
Thank you in advance.
Final LOC/Hour Program Size (LOC) Created A Lines Final LOC Time in Phase (min) Planning Design Code Compile Test Postmortem TOTAL Defects injected Planning Design Code Compile Test TOTAL Estimate #DIV/0! Estimate (estimated) (estimated) Estimate Estimate Actual #DIV/0! Actual (counted) (counted) (counted) Actual Actual
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started