freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

java課程設(shè)計(jì)---基于java的在線評(píng)測(cè)系統(tǒng)的設(shè)計(jì)與開發(fā)-免費(fèi)閱讀

  

【正文】 } package 。 } public String getName() { return name。 String 。A39。 } public int getIndex() { return index。import 。 } public void setLevel(int level) { = level。 int type。 } }Question類代碼:package 。 setJ(j)。 (null,空指針錯(cuò)誤)。 } private void showrule() { File questionTxt=new File()。 } private void init() { setTitle(title)。import 。import 。 ((), u3)。 } public MapInteger, ListQuestion getQuestions() { return questions。 return q。 (optionD)。 ListString options=new ArrayListString()。 (level, value)。 String line。 String txtPhone=lines[3]。 try { br = new BufferedReader( new InputStreamReader( new FileInputStream(userTxt)))。import 。 } }EntityContext類代碼:package 。//將本次的答案保存到當(dāng)前題目的用戶答案中 } public int getScore(){ int score=0。 i++) { int ranIndex=(())。//試卷 有 0題 MapInteger, ListQuestion qs= ()。 u=(userId)。import 。 } public ClientContext getClientContext() { return clientContext。 } })。 } })。 } })。 } })。 (createScoreBtn())。 return p。 (,createImageLabel())。 //給窗體設(shè)置初始大小(寬、高) (width, height)。public class MenuFrame extends JFrame{ //屬性 String title=選擇菜單界面。import 。 } public int getUserId(){ return (())。 ()。 return p。 (,new JLabel(編號(hào):))。 } //創(chuàng)建主面板的中間面板 public JPanel createCenterPane(){ JPanel p = new JPanel(new BorderLayout())。 centerFrame()。 int width=300。 (()/2, ()/2)。 } public JPanel createContentPane(){ JPanel p=new JPanel(new BorderLayout())。import .*。 } public JPasswordField getPwdField() { return pwdField。 } public void setExamFrame(ExamFrame examFrame) { = examFrame。 } public void examFrameExit(){ (false)。 (true)。 } public void pre(){ saveUserAnswer()。 (new TimerTask() { Override public void run() { ()。 final Timer timer=new Timer()。 curQuestion=().get(0)。 (())。 (true)。 int score。 //菜單界面 MenuFrame menuFrame。import 。 ()。 (clientContext)。 //登錄界面 LoginFrame loginFrame=new LoginFrame()。import 。 9設(shè)計(jì)心得體會(huì) 面向?qū)ο?java是面向?qū)ο蟪绦蛟O(shè)計(jì)語(yǔ)言,這次課程實(shí)踐.,我更加深刻地理解了面向?qū)ο蟮母拍?我覺得這是我這次實(shí)踐的第一個(gè)收貨.。 (1)當(dāng)考試時(shí),意外關(guān)閉窗口時(shí),考試答案不會(huì)保存。交卷保存答案:點(diǎn)擊“交卷”確認(rèn)后,考試結(jié)束,保存當(dāng)前試卷相關(guān)數(shù)據(jù),關(guān)閉當(dāng)前界面,顯示菜單選擇界面,意外點(diǎn)擊窗口關(guān)閉按鈕時(shí),也自動(dòng)進(jìn)行保存。 查看分?jǐn)?shù):點(diǎn)擊“分?jǐn)?shù)”,若還未開始,提示“考試未開啟”,若已完成考試, 顯示分?jǐn)?shù)結(jié)果。2. 開發(fā)環(huán)境硬件環(huán)境:微機(jī)系列,內(nèi)存在1G以上軟件環(huán)境:Microsoft Windows XP。裝載題目信息:將題目信息顯示到面板上。系統(tǒng)總體功能模塊圖如下:在線評(píng)測(cè)系統(tǒng)登錄響應(yīng)獲取登錄信息分?jǐn)?shù)統(tǒng)計(jì)開始考試菜單選擇用戶登錄裝載用戶信息分?jǐn)?shù)顯示統(tǒng)計(jì)分?jǐn)?shù)交卷保存答案考試倒計(jì)時(shí)上下翻題答題裝載題目信息退出考試系統(tǒng)查看考試規(guī)則查看分?jǐn)?shù)開始考試更新用戶信息系統(tǒng)功能點(diǎn)說(shuō)明如下:用戶登錄功能描述獲取登錄信息:獲取客戶端輸入用戶ID和用戶密碼pwd。登錄響應(yīng):根據(jù)登錄校驗(yàn)的結(jié)果,顯示相應(yīng)的界面;若登錄不成功,只在當(dāng)前頁(yè)面顯示錯(cuò)誤提示,若登錄成功,關(guān)閉當(dāng)前界面,顯示菜單界面。答題:選擇當(dāng)前題目答案,并自動(dòng)保存該答案數(shù)據(jù)到內(nèi)存中。3. 開發(fā)工具M(jìn)yEclipse IDE4. 完成時(shí)間2013.6. 系統(tǒng)的對(duì)象確定之后,應(yīng)該對(duì)系統(tǒng)進(jìn)行定性的分析,分析是為了了解系統(tǒng)應(yīng)達(dá)到的目和 系統(tǒng)應(yīng)具備的功能。 看考試規(guī)則:點(diǎn)擊“考試規(guī)則”,顯示考試規(guī)則面板。 統(tǒng)計(jì)分?jǐn)?shù):將答題結(jié)果與標(biāo)準(zhǔn)答案比對(duì),計(jì)算分?jǐn)?shù)。 解決方案:為窗口添加監(jiān)聽器, setDefaultCloseOperation()。 怎么說(shuō)呢,達(dá)內(nèi)的老師講課方法新穎,很有吸引力,我十分喜歡這種方式,在這種氛圍下學(xué)習(xí)我很有激情. 再說(shuō)說(shuō)我的感想吧,錯(cuò)誤,是啊,不斷的錯(cuò)不斷的錯(cuò),不斷的找不斷的找,好多次我都快發(fā)瘋了,但是呢,沒(méi)有真正用過(guò)心的去做一件事的認(rèn)識(shí)不能理解那種心情的,就是,你的努力,終于有收獲了,而這次的實(shí)驗(yàn)課,也是再一次讓我明白,只有不斷的犯錯(cuò),然后找錯(cuò),才能學(xué)到知識(shí),這真的是,讓人心里,既焦躁,淡定,細(xì)心,耐心,不要輕易放棄,相信自己,加油加油. 軟件知識(shí)的學(xué)習(xí),從來(lái)都不是意見容易的事,其實(shí)也是,任何的東西,想要學(xué)好學(xué)精,加油加油啊!不知不覺一個(gè)多星期實(shí)驗(yàn)就這樣結(jié)束了,感覺時(shí)間好快,時(shí)間就是知識(shí)時(shí)間就是金錢啊,而我不自覺的又想起了自己平時(shí),一次次浪費(fèi)時(shí)間,常立志不立長(zhǎng)志,哎,人也許就是這樣,需要壓力,和打擊,然后才能真正的長(zhǎng)大,懂事啊!本次課設(shè)也讓我明白了毅力與心態(tài)的重要性,無(wú)論如何時(shí)候都不要輕易放棄,也不要讓懶惰纏上自己,要抓住任何一個(gè)機(jī)會(huì)去學(xué)習(xí)更多知識(shí)。import 。 //菜單界面 MenuFrame menuFrame=new MenuFrame()。 (clientContext)。 }}ClientContext類代碼:package 。import 。 //考試界面 ExamFrame examFrame。 //構(gòu)造方法 public ClientContext(){} public ClientContext(WeleWindow weleWindow, LoginFrame loginFrame, MenuFrame menuFrame, ExamFrame examFrame) { = weleWindow。 } }, 2000)。 (true)。 (loginUser,curQuestion)。 (new TimerTask() { public void run() { long time=()。 (examFrame, 考試時(shí)間到!)。//點(diǎn)擊上一題,保存答案 QuestionInfo preQuestion=(()1)。 //考試已結(jié)束的狀態(tài) finish=true。 } public WeleWindow getWeleWindow() { return weleWindow。 } public ExamService getExamService() { return examService。 } public void setPwdField(JPasswordField pwdField) { = pwdField。import 。 URL url=()。 }}LoginFrame類代碼:package 。 int height=200。 setContentPane(createContentPane())。 (,createIdPwdPane())。 idTextField=new JTextField()。 } //創(chuàng)建主面板的底部面板 public JPanel createBottomPane(){ JPanel p = new JPanel()。 } })。 } public String getUserPwd(){ return new String(())。import 。 int width=580。 centerFrame()。 (,createCenterPane())。 } //創(chuàng)建中間面板 “上” 部分的圖片標(biāo)簽 public JLabel createImageLabel(){ JLabel imageLabel=new JLabel()。 (createRuleBtn())。 ()。 ()。 ()。 ()。 } public void setClientContext(ClientContext clientContext) { = clientContext。import 。 if(u==null){ throw new IdOrPwdException(查無(wú)此人!)。//題庫(kù) int index=1。//[0,10) [0,9] Question q=(ranIndex)。 //比較答案計(jì)算分?jǐn)?shù)for(QuestionInfo qi : paper){ if(().getAnswer().equals(())){ score+=().getScore()。import 。import 。 int flag=1。 String txtEmail=lines[4]。 while((line=())!=null){ if(() || ()){ continue。 } } } catch (Exception e) {
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1