PSP2.1 | Personal Software Process Stages | 预估耗时(分钟) | 实际耗时(分钟) |
---|---|---|---|
Planning | 计划 | 600 | 720 |
? Estimate | ? 估计这个任务需要多少时间 | 600 | 720 |
Development | 开发 | 600 | 900 |
? Analysis | ? 需求分析 (包括学习新技术) | 30 | 40 |
? Design Spec | ? 生成设计文档 | 30 | 40 |
? Design Review | ? 设计复审 | 30 | 40 |
? Coding Standard | ? 代码规范 (为目前的开发制定合适的规范) | 30 | 40 |
? Design | ? 具体设计 | 60 | 70 |
? Coding | ? 具体编码 | 300 | 400 |
? Code Review | ? 代码复审 | 10 | 30 |
? Test | ? 测试(自我测试,修改代码,提交修改) | 20 | 40 |
Reporting | 报告 | 10 | 40 |
? Test Repor | ? 测试报告 | 30 | 40 |
? Size Measurement | ? 计算工作量 | 30 | 40 |
? Postmortem & Process Improvement Plan | ? 事后总结, 并提出过程改进计划 | 20 | 40 |
合计 | 900 |
经过分析,我认为,这个程序应当:
比如:
private static int n1,n2,x; //定义三个静态成员
private static String[] str1 ;
private static String sun; //创建新对象字符串
public static void main(String args[]) throws FileNotFoundException, InterruptedException {
// TODO Auto-generated method stub
int i =Integer.valueOf(args[0]).intValue(); //题目
int g =Integer.valueOf(args[1]).intValue(); //年级
//输出保存在文件中
File file = new File("out6388.txt");
PrintStream ps = new PrintStream(file);
System.setOut(ps);
choiceGrade(i, g);
原文:https://www.cnblogs.com/Yinhaichuan/p/9631669.html