---
# System prepended metadata

title: 111-2 Computers Programming Midterm exam

---

# 111-2 Computers Programming Midterm exam

<style>
  body[style],
  body[style*="background-color: white;"]
  {
    background-color: #1e1e1e !important;
  }

  body
  {
    color: #abb2bf;
    background-color: #1e1e1e !important;
          stroke-width: 2;
      stroke: #aaf;
      fill: #aa6;
      font-family: 'Arvo', serif;
      #font-weight: 700;
      #font-style: italic;
  }
    .markdown-body pre.sequence-diagram.actor {

    }
</style>

### Problem 1 (25)
* 不符合題目要求(-15)
* 未檢查輸入值(-5)
### Problem 2 (20)
* 未依題目要求顯示(-20)
* 未使用二項分配(-20)
### Problem 3 (15)
* 出現多個答案(-15)
### Problem 4 (40)
* 未依題目要求顯示(各-10)
* 無法依照輸入值顯示/無輸入值(各-5)




---
### 林永,B10801024  (60)
* #### Problem 1 (25)
  ![](https://i.imgur.com/xuSuocK.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/weJ8kO8.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/VNRcoB3.png)
* #### Problem 4 (0)
  ![](https://i.imgur.com/AFluzuL.png)
  * 圖1~4錯誤(-40)


---
### 林幸子,B10806111 (0)未繳交
---
### 李玉瓊,B10806130 (0)未繳交
---
### 鄭子暘,B10830212 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/6zLtACf.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/aFUArdo.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/rA9cucj.png)
* #### Problem 4(40)
  ![](https://i.imgur.com/70vIQ4b.png)
  
  
  
---
### 張慶承,B10930206 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/CVoSXz8.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/tPJc84z.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/RhWxPm1.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/pqjnNkV.png)
  
  
  
---
### 潘思穎,B11001112 (80)
* #### Problem 1 (25)
  ![](https://i.imgur.com/TV6E2Qr.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/BNgKmqt.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/QsHSuza.png)
* #### Problem 4 (20)
  ![](https://i.imgur.com/xmrkYTJ.png)
  ![](https://i.imgur.com/7UZKF3c.png)
  * 未定義'num'，圖3&4無法顯示(-20)



---
### 沈芝羽,B11101001 (70)
* #### Problem 1 (5)
  ![](https://i.imgur.com/EDwmoMu.png)
  ![](https://i.imgur.com/DPNEALq.png)
  * 輸入'1'後無法break(-15)
  * 未檢查輸入值(-5)
* #### Problem 2 (20)
  ![](https://i.imgur.com/rATULPV.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/QQR42gb.png)
* #### Problem 4(30)
  ![](https://i.imgur.com/NogiHLG.png)
  ![](https://i.imgur.com/eX5dvwQ.png)
  ![](https://i.imgur.com/rQ5D42e.png)
  ![](https://i.imgur.com/RdwS8QY.png)
  * 圖4錯誤(-10)



---
### 高紹勛,B11101002 (0)未繳交
---
### 莊卉妤,B11101003 (85)
* #### Problem 1 (25)
  ![](https://i.imgur.com/E16VvCW.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/p58PEaj.png)
* #### Problem 3 (0)
  * 未上傳(-15)
* #### Problem 4 (40)
  ![](https://i.imgur.com/NtfW16l.png)
  
  
  
---
### 曾柔寧,B11101004 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/j7Reaq5.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/bUCffnG.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/dARvKm2.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/Lx3NdJ3.png)
  
  
  
---
### 郭玟秀,B11101005 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/DE3tR2D.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/x552mup.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/R8RrxFL.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/uTXNPhv.png)
  
  
  
---
### 張育慈,B11101006 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/HQ2rFZB.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/ptWviUn.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/J0cfWlx.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/sBRonUi.png)
  ![](https://i.imgur.com/5wrfvKZ.png)
  ![](https://i.imgur.com/zxatg5t.png)
  ![](https://i.imgur.com/sZfQ3c7.png)



---
### 陳柔亨,B11101007 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/oXQNt3D.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/mvR86t6.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/CsMq6kH.png)
* #### Problem 4(40)
  ![](https://i.imgur.com/vXqpd60.png)
  
  
  
---
### 黃荏榆,B11101008 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/sBVyTrI.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/vsIDkV6.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/eYcFWhG.png)
* #### Problem 4(40)
  ![](https://i.imgur.com/Cy11uBk.png)
  ![](https://i.imgur.com/61HYlwL.png)
  ![](https://i.imgur.com/o7hjSdi.png)
  ![](https://i.imgur.com/9NeOBF3.png)
  
  
  
---
### 徐翊臻,B11101009 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/qPfLoB1.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/B6ILarh.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/Bt7HEQq.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/wkg0OsF.png)
  ![](https://i.imgur.com/3tcfQpo.png)
  
  
  
---
### 林柏玟,B11101010 (80)
* #### Problem 1 (25)
  ![](https://i.imgur.com/NPVdWPV.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/D9HKgEm.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/tAR8uSL.png)
  * 34題合併上傳!
* #### Problem 4 (20)
  ![](https://i.imgur.com/9xdtK0A.png)
    * 圖3、圖4錯誤(-20)



---
### 胡博皓,B11101011 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/4kXKYZV.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/yoQHnA9.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/gmeMfY0.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/Uq16vU2.png)
  ![](https://i.imgur.com/ODxDRlw.png)
  ![](https://i.imgur.com/8gmXFk0.png)
  ![](https://i.imgur.com/ki1A8cx.png)
  
  
  
---
### 陳薇安,B11101012 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/tlp47Ei.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/Zzz9aFI.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/OFVMH25.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/KRvtvHL.png)
  ![](https://i.imgur.com/dTTyROd.png)
  ![](https://i.imgur.com/DlYhQG8.png)
  ![](https://i.imgur.com/ajBYhJJ.png)



---
### 林昱辰,B11101013 (65)
* #### Problem 1 (25)
  ![](https://i.imgur.com/8Bm29qb.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/BtqVcW5.png)
* #### Problem 3 (0)
  ![](https://i.imgur.com/JOEYtu6.png)   ![](https://i.imgur.com/imGVeoD.png)
  * 出現多個答案(-15)
* #### Problem 4 (20)
  ![](https://i.imgur.com/bgvhMOS.png)
    * 只能print 5，其他不行(-5)
  ![](https://i.imgur.com/oiIH3Yx.png)
    * 只能print 5，其他不行(-5)
  ![](https://i.imgur.com/dUAyMeq.png)
    * 圖4錯誤(-10)



---
### 謝亞欣,B11101014 (65)
* #### Problem 1 (25)
  ![](https://i.imgur.com/b7hUpXk.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/jB1zdPV.png)
* #### Problem 3 (0)
  ![](https://i.imgur.com/FHNrrz3.png)
  * 答案錯誤(-15)
* #### Problem 4 (20)
  ![](https://i.imgur.com/yaKEEEO.png)
  ![](https://i.imgur.com/pY5HPKl.png)

  ![](https://i.imgur.com/EQp59hB.png)
    * 圖1、2顯示錯誤(-20)



---
### 楊季柔,B11101015 (40)
* #### Problem 1 (25)
  ![](https://i.imgur.com/uuP4TdW.png)
* #### Problem 2 (0)
  ![](https://i.imgur.com/55rruTH.png)
    * 未使用二項分配方法(-20)
* #### Problem 3 (15)
  ![](https://i.imgur.com/zPk3jWJ.png)
* #### Problem 4 (0)
  ![](https://i.imgur.com/2kQUmGo.png)
  ![](https://i.imgur.com/xSjd5e6.png)
  ![](https://i.imgur.com/niy6Asm.png)
  ![](https://i.imgur.com/GsMCStY.png)
    * 圖1234未達題目要求(-40)



---
### 譚天皓,B11101016 (80)
* #### Problem 1 (25)
  ![](https://i.imgur.com/e6DKOQD.png)
* #### Problem 2 (0)
  ![](https://i.imgur.com/jhwazi1.png)
    * 未使用二項分配方法(-20)
* #### Problem 3 (15)
  ![](https://i.imgur.com/Xd2P83H.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/tgZ5CGt.png)



---
### 李侊穎,B11101017 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/OYWNTgn.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/NUtLr7n.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/LHVCho6.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/h0f0WSG.png)
  ![](https://i.imgur.com/9IelBxi.png)
  ![](https://i.imgur.com/hhdOQRK.png)
  ![](https://i.imgur.com/beeBlfG.png)



---
### 莊杰,B11101018 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/X6v9023.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/0wjdITC.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/wQ5dmAH.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/uZmUhYQ.png)



---
### 黃信融,B11101019 (95)
* #### Problem 1 (20)
  ![](https://i.imgur.com/nlRU48B.png)
  * 未檢查輸入值(-5)
* #### Problem 2 (20)
  ![](https://i.imgur.com/hlWtaql.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/9bQdlkS.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/7tglYf9.png)



---
### 鄭之豪,B11101020 (90)
* #### Problem 1 (15)
  ![](https://i.imgur.com/kuUgPPN.png)
  * 'Fahrenheit to Celsius'顯示錯誤(-5)
  * 未檢查輸入值(-5)
* #### Problem 2 (20)
  ![](https://i.imgur.com/BQldH0k.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/z0aSBRp.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/5lb8u1y.png)
  ![](https://i.imgur.com/yAcXK4k.png)
  ![](https://i.imgur.com/MAlO3oH.png)
  ![](https://i.imgur.com/4klxwNW.png)



---
### 姚宇玲,B11101022 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/w3skGRR.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/AZH02gY.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/ugq1FQZ.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/qVcflil.png)



---
### 黃語恩,B11101023 (50)
* #### Problem 1 (25)
  ![](https://i.imgur.com/ByApjh3.png)
* #### Problem 2 (10)
  ![](https://i.imgur.com/hmMydG9.png)
    * 未依照題目要求呈現(-10)
* #### Problem 3 (15)
  ![](https://i.imgur.com/EDZjJqd.png)
* #### Problem 4 (0)
  ![](https://i.imgur.com/rZghRDV.png)
  ![](https://i.imgur.com/TliDHuv.png)
  ![](https://i.imgur.com/LToC0V1.png)
  ![](https://i.imgur.com/KX4MpHO.png)
  ![](https://i.imgur.com/eIuO9QQ.png)
  ![](https://i.imgur.com/zWHaXzR.png)
  ![](https://i.imgur.com/BQzYoQD.png)
  ![](https://i.imgur.com/ay6X2tP.png)
  * 圖1234未達題目要求(-40)



---
### 范姜立翔,B11101024 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/aK5SBDF.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/mplrZWR.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/3kK0cvx.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/C8k8Veq.png)
  ![](https://i.imgur.com/Fn6EdHw.png)
  ![](https://i.imgur.com/QZaT6IT.png)
  ![](https://i.imgur.com/WdB0Fn9.png)
  
  
  
---
### 翁國程,B11101025 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/id2eQRq.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/TYjPESS.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/ba5Z4FJ.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/C8k8Veq.png)
  ![](https://i.imgur.com/Fn6EdHw.png)
  ![](https://i.imgur.com/QZaT6IT.png)
  ![](https://i.imgur.com/WdB0Fn9.png)
  
  
  
---
### 蔡佾霖,B11101027 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/4y6fMkV.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/5csQF1q.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/pEyrHB3.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/vKMrHpn.png)



---
### 潘松元,B11101028 (65)
* #### Problem 1 (10)
  ![](https://i.imgur.com/poCqYVL.png)
  * 未依題目要求，當輸入'0'時才退出(-15)
* #### Problem 2 (10)
  ![](https://i.imgur.com/eDXa0TM.png)
    * 未依照題目要求呈現(-10)
* #### Problem 3 (15)
  ![](https://i.imgur.com/bOrEm9H.png)
* #### Problem 4 (30)
  ![](https://i.imgur.com/C8k8Veq.png)
  ![](https://i.imgur.com/Fn6EdHw.png)
  ![](https://i.imgur.com/QZaT6IT.png)
  ![](https://i.imgur.com/b1pZK0K.png)
  ![](https://i.imgur.com/cs7ts74.png)
  * 圖4錯誤(-10)



---
### 詹子立,B11101029 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/ZTPvQXF.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/K79SAkj.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/hFZXDhE.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/0pDJA71.png)

---
### 劉書維,B11130104 (70)
* #### Problem 1 (25)
  ![](https://i.imgur.com/tqLvNi3.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/IkUu41P.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/6zbGdzv.png)

* #### Problem 4 (10)
  ![](https://i.imgur.com/5nAdK6f.png)
  ![](https://i.imgur.com/jZX2r8p.png)

  * 圖1無輸入值(-5)
  ![](https://i.imgur.com/kLVufKa.png)
  ![](https://i.imgur.com/6oZCuKh.png)

  * 圖2無輸入值(-5)
  
  ![](https://i.imgur.com/nIjznCw.png)
  ![](https://i.imgur.com/dUW2xbY.png)


  ![](https://i.imgur.com/4eYWGlW.png)
  ![](https://i.imgur.com/fIyKOgP.png)


  * 圖3,4顯示錯誤(-20)
---
### 徐瑋呈,B11130211 (45)
* #### Problem 1 (25)
  ![](https://i.imgur.com/ifnflJa.png)

* #### Problem 2 (0)
  ![](https://i.imgur.com/y7iwD4o.png)
    * 未使用二項分配(-20)
* #### Problem 3 (0)
  ![](https://i.imgur.com/KcObkDr.png)

    * 出現多個答案(-15)


* #### Problem 4 (20)
  * 圖1,2未上傳(-20)
  ![](https://i.imgur.com/Q8SNqJu.png)
  ![](https://i.imgur.com/mULCHQj.png)



---
### 張育成,B11130216 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/lGLVrZO.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/HQeqwYm.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/wfFlAXM.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/HNeqcNV.png)
---
### 陳叡逸,B11130217 (45)
* #### Problem 1 (10)
  ![](https://i.imgur.com/3h73Yfl.png)
  * 未依題目要求，未使用迴圈(-15)
* #### Problem 2 (10)
  ![](https://i.imgur.com/XTzbDCE.png)
    * 未依照題目要求呈現(-10)
* #### Problem 3 (15)
  ![](https://i.imgur.com/oKWaun4.png)

* #### Problem 4 (10)
  ![](https://i.imgur.com/uSQFehh.png)
  * 圖2,3,4未上傳(-30)
---
### 陳依,B10901136 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/CxaQJUV.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/xUsRbeh.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/o2BstzH.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/5IFtYgc.png)
---
### 姜星右,B11101030 (80)
* #### Problem 1 (25)
  ![](https://i.imgur.com/cBmTBke.png)
* #### Problem 2 (10)
  ![](https://i.imgur.com/PAhFD3r.png)
  * 未依照題目要求呈現,投擲次數為100~1000(-10)
* #### Problem 3 (15)
  ![](https://i.imgur.com/m8mvd3B.png)
* #### Problem 4(30)
  ![](https://i.imgur.com/BAzKBJm.png)
  ![](https://i.imgur.com/1JNpezP.png)
  ![](https://i.imgur.com/jb44B6T.png)
  * 圖4未上傳(-10)
---
### 高詳鈞,B11101031 (90)
* #### Problem 1 (25)
  ![](https://i.imgur.com/AROcqs6.png)
  * '3.exit'應改為'0.exit'(不扣分)
* #### Problem 2 (20)
  ![](https://i.imgur.com/gHtIhTu.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/1KCDL0A.png)
* #### Problem 4 (30)
  ![](https://i.imgur.com/agYMkVC.png)
  * 圖1,2無法依照輸入值顯示(-10)



---
### 謝尚潤,B11101032 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/Dc8Hq1M.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/LjESATW.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/v5krITh.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/Edmba8z.png)



---
### 呂學恩,B11101033 (55)
* #### Problem 1 (0)
  * 未上傳(-25)
* #### Problem 2 (20)
  ![](https://i.imgur.com/IML9Icp.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/tybMXOI.png)
* #### Problem 4 (20)
  ![](https://i.imgur.com/vyTULv7.png)
  * 圖3,4錯誤(-20)



---
### 吳易昕,B11101034 (100)
* #### Problem 1 (25)
  ![](https://i.imgur.com/LDWJIUU.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/rQVWy3J.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/kZf6zZK.png)
* #### Problem 4 (40)
  ![](https://i.imgur.com/yEHYwfO.png)



---
### 劉伊芸,B11101035 (60)
* #### Problem 1 (25)
  ![](https://i.imgur.com/PE6chU7.png)
* #### Problem 2 (20)
  ![](https://i.imgur.com/vujO5fy.png)
* #### Problem 3 (15)
  ![](https://i.imgur.com/jOJECz9.png)
* #### Problem 4 (0)
  * 未上傳(-40)
---
### 劉育慈,B11101036 (80)
* #### Problem 1 (25)
  ![](https://i.imgur.com/z9cIG4z.png)
* #### Problem 2 (10)
  ![](https://i.imgur.com/FcY3P6v.png)
    * 未依照題目要求呈現(-10)
* #### Problem 3 (15)
  ![](https://i.imgur.com/enqoDPy.png)

* #### Problem 4 (30)
  ![](https://i.imgur.com/xRSwddl.png)
  * 圖1,2無法依照輸入值顯示(-10)