录取系统Java,JAVA学生录取系统Word版

44cb7578e1df5412b94317daaa3307ba.gifJAVA学生录取系统Word版

传播优秀Word版文档 ,希望对您有帮助,可双击去除!要求:Java编程/*编写程序实现如下功能:已知学生类变量(姓名、考号、综合成绩、体育成绩)和方法(获取综合成绩、获取体育成绩、显示基本信息),学校类有变量(录取分数线)和方法(设置录取分数、获取录取分数线),录取类有方法(获取学生是否符合录取条件,其中录取条件为综合成绩在录取分数线之上,或体育成绩在96分以上并且综合成绩大于300分)。现要求编写程序输出一组学生对象中被某学校录取的学生基本信息。*/1.Schools类import java.util.*;public class Schools private double scoreLine; /录取分数线private String schoolName; /学校名称private int number; /入取人数public int getNumber() return number;public void setNumber(int number) doif(number0)this.number = number;break;传播优秀Word版文档 ,希望对您有帮助,可双击去除!elseSystem.out.println(录取人数错误,请重输);continue;while(true);Scanner sc=new Scanner(System.in);public String getSchoolName() return schoolName;public void setSchoolName(String schoolName) this.schoolName = schoolName;public double getScoreLine() return scoreLine;public void setSchoolLine(double SchoolLine) public void setScoreLine(Schools schools) 传播优秀Word版文档 ,希望对您有帮助,可双击去除!for(int i=0;i300)setSchoolLine(scoreLine1);elseSystem.out.println(录取分数线错误,请重新输入);i=i-1;continue;public Schools()2. Students类import java.util.*;public class Students Scanner sc=new Scanner(System.in);private String name; /姓名传播优秀Word版文档 ,希望对您有帮助,可双击去除!private int ID; /考号private double allScore; /综合成绩private double sportScore; /体育成绩private String firstHope; /第一志愿private String secondHope; /第二志愿public String getFirstHope() return firstHope;/确定第一志愿public void setFirstHope(String setFirstHope)this.firstHope=setFirstHope;public void setSecondHope(String setSecondHope)this.secondHope=setSecondHope;public void setFirstHope(Students student) doSystem.out.println(请输入第一志愿1.北京大学;2.南京大学);int choice=Integer.parseInt(sc.nextLine();if(choice=1)student.setFirstHope(北京大学);break;传播优秀Word版文档 ,希望对您有帮助,可双击去除!else if(choice=2)student.setFirstHope(南京大学);break;elseSystem.out.println(无此学校,请重输);continue;while(true);public String getSecondHope() return secondHope;/确定第二志愿public void setSecondHope(Students student) doSystem.out.println(请输入第二志愿1.北京大学;2.南京大学);int choice=Integer.parseInt(sc.nextLine();if(choice=1&!student.getFirstHope().equals(北京大学)student.setSecondHope(北京大学);传播优秀Word版文档 ,希望对您有帮助,可双击去除!break;else if(choice=2&!student.getFirstHope().equals(南京大学)student.setSecondHope(南京大学);break;elseSystem.out.println(无此学校,或者与第一志愿重复,请重输);continue;while(true);public String getName() return name;public void setName(String name) this.name = name;public int getID() return ID;public void setID(Students students) do传播优秀Word版文档 ,希望对您有帮助,可双击去除!System.out.println(请输入学生考号);int ID=Integer.parseInt(sc.nextLine();for(int i=0;i=0)传播优秀Word版文档 ,希望对您有帮助,可双击去除!setAllScore(allscore1);break;elseSystem.out.println(综合成绩错误,请重新输入);continue;while(true);public double getSportScore() return sportScore;public void setSportScore(double score) public void setSportScore() doSystem.out.println(请输入体育成绩);double sportscore1=Double.parseDouble(sc.nextLine();if(sportscore1=0)setSportScore(sportscore1);break;elseSystem.out.println(体育成绩错误,请重新输入);continue;传播优秀Word版文档 ,希望对您有帮助,可双击去除!while(true);public void showInformation(Students student)System.out.println(学生姓名为:+student.getName()+ 学生考号为:+student.getID()+ 综合成绩为+student.getAllScore()+ 体育成绩为+student.getSportScore();/构造器public Students(String name,int ID,double allScore,double sportScore)this.name=name;this.ID=ID;this.allScore=allScore;this.sportScore=sportScore;public Students() / TODO Auto-generated constructor stub3. Enter类(录取类)public class Enter Students student1=new Students();传播优秀Word版文档 ,希望对您有帮助,可双击去除!/判断录取public void enter(Students students,Schools schools)for(int i=0;i96)studentsi.setAllScore(0);for(int i=1;istudentsj+1.getAllScore()Students temp;temp=studentsj;studentsj=studentsj+1;studentsj+1=temp;int sum=0;int sum1=0;for(int i=0;ischools0.getScoreLine()sum=sum+1;System.out.println(恭喜被北大录取);传播优秀Word版文档 ,希望对您有帮助,可双击去除!student1.showInformation(studentsi);else if(studentsi.getFirstHope().equals(南京大学)&sum1schools1.getScoreLine()sum1=sum1+1;System.out.println(恭喜被南京大学录取);student1.showInformation(studentsi);else if(sumschools0.getNumber()&studentsi.getSecondHope().equals(南京大学)&studentsi.getAllScore()schools1.getScoreLine()sum1=sum1+1;System.out.println(恭喜被南京大学录取);student1.showInformation(studentsi);else if(sum1schools1.getNumber()&studentsi.getSecondHope().equals(北京大学)&studentsi.getAllScore()schools0.getScoreLine()sum=sum+1;System.out.println(恭喜被北大录取);student1.showInformation(studentsi);else if(sumschools0.getNumber()&sum1schools1.getNumber()System.out.println(学校人数已满无法录取);break;传播优秀Word版文档 ,希望对您有帮助,可双击去除!4. Demo类(操作类)import java.util.*;public class Demo Scanner sc=new Scanner(System.in);Students students; Schools schools=new Schools2 ;Schools school=new Schools();Enter en=new Enter();/确定两所大学分数线public void main()schools0=new Schools();schools0.setSchoolName(北京大学);System.out.println(请输入北京大学录取人数);int num1=Integer.parseInt(sc.nextLine();schools0.setNumber(num1);schools1=new Schools();schools1.setSchoolName(南京大学);System.out.println(请输入南京大学录取人数);int num2=Integer.parseInt(sc.nextLine();schools1.setNumber(num2);school.setScoreLine(schools);/输入学生信息传播优秀Word版文档 ,希望对您有帮助,可双击去除!doSystem.out.println(请输入学生位数);int num=Integer.parseInt(sc.nextLine();if(num0)students=new Studentsnum;for(int i=0;istudents.length;i+)studentsi=new Students();System.out.println(请输入学生姓名);String name=sc.nextLine();studentsi.setName(name);studentsi.setID(students);studentsi.setAllScore();studentsi.setSportScore();studentsi.setFirstHope(studentsi);studentsi.setSecondHope(studentsi);/break;elseSystem.out.println(学生个数错误,请重输);continue;while(true);en.enter(students,schools);传播优秀Word版文档 ,希望对您有帮助,可双击去除!public static void main(String args) / TODO Auto-generated method stubDemo de = new Demo();de.main(

近年来,高职院校招生类别繁多,包含普招、注册入学、自主单招、对口单招、中职注册等形式,考生类型也呈现多样化趋势。在短短的招生录取时间内、高职院校负责招生工作的老师面临数据多、任务重、时间紧的压力,之前传统的招生方式已无法满足当前招生工作的需求。 与此同时,随着计算机网络的广泛应用,运用计算机网络和信息处理技术有效解决学生注册填报和学校招生录取工作已然成为趋势和必然结果,也在某种程度上彰显了一个学校的专业技术实力。因此,高职院校招生报名系统应运而生,它的出现帮助学校准确处理所有报考学生的信息,实现招考双方的有效交流和沟通,也大大减轻了招生老师的工作压力、提高了招生工作效率、节约了成本。 本文以常州纺织服装职业技术学院为应用实例,描述了高职院校招生报名系统的分析、设计、实现和测试全过程,并对开发系统采用的相关技术进行了简单介绍。系统以Visual Studio 2010为开发平台,采用了B/S和C/S模式混合模式作为软件系统体系结构。前台运用Javascript技术进行控制,对表单进行实时验证、利用Ajax技术实现页面异步传输;后台以SQL Server 2008为数据库,数据库利用角色权限控制、使用安全接层协议SSL技术保证信息安全,实现多级安全机制。 本系统主要功能模块包括网上注册、报名、信息审核、数据整理、录取查询、考务管理等。系统实现了相关功能:考生登录系统完成招生注册报名和信息审核;学校招生办公室登录系统对考生的报名数据进行整理、审核、确认工作等。经2016年招生工作实践测试,本系统运行效果良好。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值