當前位置:首頁 » 考試成績 » java學生成績管理系統課程設計

java學生成績管理系統課程設計

發布時間: 2021-01-24 22:08:54

『壹』 java設計一個學生成績管理系統

public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);

String exit="";
Map<String, List<Float>> map1=new HashMap();
while(!exit.equals("exit")) {
System.out.println("請出入學生姓名");
List<Float> list = new ArrayList<Float>();
map1.put(sc.next(), list);
for(int i=0;i<3;i++) {
System.out.println("請出入學生成績");
list.add(sc.nextFloat());
}
System.out.println("輸入 exit 退出成績錄入,其他則繼續錄入");
exit=sc.next();
}
for(String key :map1.keySet()) {
List<Float> list =map1.get(key);
float avage =0l;
for(Float box :list) {
avage += box;
}
System.out.println(key+"的平均成績:"+ avage/list.size());
}

}
//只做了第一題,追加分數,可得第二題答案

『貳』 用Java實現學生成績管理系統

這個很簡單的 你可以自己先動手做做

『叄』 java課設 「學生成績管理系統設計」1、問題描述學生信息包括:學號、姓

你去騰訊課堂或者網路傳課搜一下,有學生管理系統的Java視頻教程,但是不知道有沒有完全符合你要求的。

『肆』 基於java設計一個學生成績管理系統

你這一句話,做系統的要花上多少心思啊~~哎現在的孩子。。。。。。。。。。。。

『伍』 java課程設計:學生成績管理系統

學生成績管理抄
功能要求:
1、輸入十個同學的學號,姓名,四科成績(應用數學、大學英語、Java程序設計、計算機應用基礎)
2、計算出平均成績。以平均成績降序輸出成績表。
3、輸出全組各科平均分,最高分和最低分。
4、輸入姓名查詢成績
界面要示:用字元界面實現、也可用圖形界面實現

『陸』 java編寫學生成績管理系統課程設計,有好的源代碼的幫幫忙

WEB程序
還是GUI程序

『柒』 急求JAVA課設(學生成績管理信息系統)高手請進!!

要的是web程序吧,來這個源都沒寫清楚····
有什麼技術限制也沒寫·· MVC serlvet jsp JNDI Jstl jdbc El Struts等等都沒說明··· 你是BDQN的吧? 哪個校區的?

『捌』 用Java圖形化界面和SQL設計學生成績管理系統(課程設計)

有學生成績管理系統
-----------------------------------------------------------------
代做JAVA,JSP.J2EE(Struts2+Hibernate+Spring)程序畢業設計.
不收取定金.完成驗收後回付款.
支持第三方託管答付款..

『玖』 求用Java編寫的學生成績管理系統的完整代碼

packagejdbcproj;
importjava.sql.*;
importjava.awt.BorderLayout;
importjava.awt.EventQueue;

importjavax.swing.JFrame;
importjavax.swing.JPanel;
importjavax.swing.border.EmptyBorder;
importjavax.swing.JLabel;
importjavax.swing.JOptionPane;
importjavax.swing.JTextField;
importjavax.swing.JButton;
importjava.awt.event.ActionListener;
importjava.sql.Connection;
importjava.sql.PreparedStatement;
importjava.sql.SQLException;
importjava.awt.event.ActionEvent;

{

privateJPanelcontentPane;
privateJTextFieldtxtname;
privateJTextFieldtxtpassword;


/**
*Launchtheapplication.
*/
publicstaticvoidmain(String[]args){
.invokeLater(newRunnable(){
publicvoidrun(){
try{
MainFrameframe=newMainFrame();
frame.setVisible(true);
}catch(Exceptione){
e.printStackTrace();
}
}
});
}

/**
*Createtheframe.
*/
publicMainFrame(){
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100,100,661,399);
contentPane=newJPanel();
contentPane.setBorder(newEmptyBorder(5,5,5,5));
setContentPane(contentPane);
contentPane.setLayout(null);

JLabellblNewLabel=newJLabel("u7528u6237u540D");
lblNewLabel.setBounds(114,51,72,18);
contentPane.add(lblNewLabel);

JLabellblNewLabel_1=newJLabel("u5BC6u7801");
lblNewLabel_1.setBounds(114,106,72,18);
contentPane.add(lblNewLabel_1);

txtname=newJTextField();
txtname.setBounds(261,48,86,24);
contentPane.add(txtname);
txtname.setColumns(10);

txtpassword=newJTextField();
txtpassword.setBounds(261,103,86,24);
contentPane.add(txtpassword);
txtpassword.setColumns(10);

JButtonbtnadd=newJButton("u589Eu52A0");
btnadd.addActionListener(newActionListener(){
publicvoidactionPerformed(ActionEvente){
if(txtname.getText().equals("")||txtpassword.getText().equals(""))
{
JOptionPane.showMessageDialog(getContentPane(),"用戶名和密碼不能為空","提示信息框",JOptionPane.WARNING_MESSAGE);
}
else{
Usersu=newUsers();
u.setPwd(txtpassword.getText());
u.setUsername(txtname.getText());
UserDAOusdo=newUserDAO();
usdo.addUser(u);
}
}
});
btnadd.setBounds(45,205,113,27);
contentPane.add(btnadd);

JButtonbtndelete=newJButton("u5220u9664");
btndelete.addActionListener(newActionListener(){
publicvoidactionPerformed(ActionEventarg0){
if(txtname.getText().equals(""))
{
JOptionPane.showMessageDialog(getContentPane(),"用戶名不能為空","提示信息框",JOptionPane.WARNING_MESSAGE);
}
else{
UserDAOusdo=newUserDAO();
usdo.delUser(txtname.getText());;
}
}
});
btndelete.setBounds(172,205,113,27);
contentPane.add(btndelete);

JButtonbtnupdate=newJButton("u4FEEu6539");
btnupdate.addActionListener(newActionListener(){
publicvoidactionPerformed(ActionEvente){
if(txtname.getText().equals("")||txtpassword.getText().equals(""))
{
JOptionPane.showMessageDialog(getContentPane(),"用戶名和密碼不能為空","提示信息框",JOptionPane.WARNING_MESSAGE);
}
else{
Usersu=newUsers();
u.setPwd(txtpassword.getText());
u.setUsername(txtname.getText());
UserDAOusdo=newUserDAO();
usdo.updateUser(u);;
}
}
});
btnupdate.setBounds(300,205,113,27);
contentPane.add(btnupdate);

JButtonbtnfind=newJButton("u67E5u8BE2");
btnfind.addActionListener(newActionListener(){
publicvoidactionPerformed(ActionEvente){
if(txtname.getText().equals(""))
{
JOptionPane.showMessageDialog(getContentPane(),"用戶名不能為空","提示信息框",JOptionPane.WARNING_MESSAGE);
}
else{
Usersu=newUsers();
UserDAOusdo=newUserDAO();
u=usdo.findUser(txtname.getText(),txtpassword.getText());
if(u!=null){
JOptionPane.showMessageDialog(getContentPane(),"該用戶存在!","提示信息框",JOptionPane.WARNING_MESSAGE);
}
else{
JOptionPane.showMessageDialog(getContentPane(),"該用戶不存在!","提示信息框",JOptionPane.WARNING_MESSAGE);
}
}
}
});
btnfind.setBounds(427,205,113,27);
contentPane.add(btnfind);
//記得要寫這個
setVisible(true);
}

}

熱點內容
武漢大學學生會輔導員寄語 發布:2021-03-16 21:44:16 瀏覽:612
七年級學生作文輔導學案 發布:2021-03-16 21:42:09 瀏覽:1
不屑弟高考成績 發布:2021-03-16 21:40:59 瀏覽:754
大學畢業證會有成績單 發布:2021-03-16 21:40:07 瀏覽:756
2017信陽學院輔導員招聘名單 發布:2021-03-16 21:40:02 瀏覽:800
查詢重慶2018中考成績查詢 發布:2021-03-16 21:39:58 瀏覽:21
結業考試成績怎麼查詢 發布:2021-03-16 21:28:40 瀏覽:679
14中醫醫師資格筆試考試成績查分 發布:2021-03-16 21:28:39 瀏覽:655
名著賞析課程標准 發布:2021-03-16 21:27:57 瀏覽:881
北京大學商業領袖高端培訓課程 發布:2021-03-16 21:27:41 瀏覽:919