Self-Evaluation Report

advertisement
CSCI 105 Final Programming Test Self-Evaluation Report
for Dr. Lin
Your name:________________________
Run your program to answer the following questions:
1. Use your program to check whether each of 102, 105, 108, 144, 945 is an abundant
number or not. What do you find?
2. Use your program to find all the abundant numbers less than 100. What do you get?
3. Use your program to find the 20th abundant number. What do you get?
4. Use your program to determine whether 9514 and 52327 are relatively prime to each other.
What do you get?
5. Use your program to determine whether 109568 and 715149 are relatively prime to each
other. What do you get?
6. Use your program to determine whether 328704 and 1430298 have the same collection of
prime factors. What do you get?
7. Use your program to determine whether 161229312 and 107486208 have the same
collection of prime factors. What do you get?
8. Use your program to factorize the number 2126696. What do you get?
9. Use your program to factorize the number 154389979. What do you get?
10. Use your program to convert the decimal number 1996 into the corresponding binary
number in 12 bits. What do you get?
11. Use your program to convert the 12-bit binary number 011111001100 into the
corresponding decimal number. What do you get?
For each of the four areas in the final programming test, please describe whether your program
runs well without a problem. If it does not work perfectly, please describe the problem you
encounter.
A1. Abundant number testing:__________
A2. Print all abundant numbers:__________
A3. Find the n-th bundant number testing:__________
B1. Relatively prime: __________
B2. Same collection of prime factors: __________
C1. Factorization of natural numbers: __________
D1. Decimal to binary and conversion: __________
D2. Binary to decimal conversion: __________
Evaluate your work on each problem and answer some questions regarding the finalprogramming test based on the following 0-6 grading scale.

0: (i) Nothing done about the problem. (ii) Or the code can compile and run to do
something, but it can not correctly function as required in the specification.

1: The code can correctly function in some special cases as required in the specification,
but it does not work appropriately for most valid cases.

3: The code can correctly function in almost all cases as required in the specification, but
it does not work appropriately in some special cases.

6: Program can compile and run to do all the things as required for all valid input cases.
A1. Abundant number testing:__________
A2. Print all abundant numbers:__________
A3. Find the n-th bundant number testing:__________
B1. Relatively prime: __________
B2. Same collection of prime factors: __________
C1. Factorization of natural numbers: __________
D1. Decimal to binary and conversion: __________
D2. Binary to decimal conversion: __________
Sum of the points above:_____________
Estimate the time you spent in the final programming test: _____ hours.
Are you able to write the programs from scratch now entirely on your own? ___________
While doing the final programming test,
Have you ever viewed or used any C++ code found on the Internet to help you? _________
Have you ever viewed or used any C++ code provided by other people? _________
Have you ever shown your C++ code to others or read their C++ code? _________
Have others helped you fix compile-time errors or run-time errors? ________
Download