40923250 cp2020

  • Home
    • Site Map
    • reveal
    • blog
  • First
  • Hw1
    • PCH18
      • Laptop and Notebook Component Replacement
      • Troubleshooting Hard Drives
    • PCH19
      • Overview
      • AC Power
      • Proper Disposal Procedures
      • Security
  • HW2
    • 2-1 取得一甲分組數列
    • 2-2 是否有人加退選
    • 2-3 產生W3網頁html
  • Hw3
    • 14.移除重複項
    • 15.倒序
    • 16.密碼生成器
  • 學習日記
    • git clone
    • 刪除submodule
    • ORError
    • ssh keygen
  • python
    • Variables 變數
Security << Previous Next >> 2-1 取得一甲分組數列

HW2

來源:http:http://mde.tw/cp2020/content/HW2.html

有關作業二 (Due W12 各班上課之前):

由於部分學員在建立 Github 帳號時, 無法使用學號登記帳號, 因此造成 W3 部分分組組員的倉儲與網站連結產生錯誤, 今已知乙班的原始分組數列如下:

一乙:

[[40823148, 40923203, 40923208, 40923209, 40923210, 40923223, 40923225, 40923230, 40923238, 40923239, 40923244, 40923249], [40523148, 40923201, 40923202, 40923218, 40923219, 40923228, 40923231, 40923232, 40923240, 40923247, 40923248, 40923250], [40823152, 40923205, 40923212, 40923214, 40923217, 40923226, 40923236, 40923241, 40923242, 40923246, 40923251], [40723217, 40728238, 40923206, 40923216, 40923220, 40923227, 40923233, 40923237, 40923243, 40923252, 40923253], [40523138, 40923204, 40923207, 40923211, 40923213, 40923221, 40923224, 40923229, 40923234, 40923235, 40923245]]

但是一甲的分組數列當時並未能儲存.

另外, 從亂數分組頁面可以從教務處伺服器與 Heroku 上的網站結合下取得兩班最終修課學員名單:

四技設一甲計算機程式學員名單:

https://nfulist.herokuapp.com/?semester=1091&courseno=0762

四技設一乙計算機程式學員名單:

https://nfulist.herokuapp.com/?semester=1091&courseno=0776

請各組以協同討論但各自將以下題目的解題流程說明與程式放入個人網頁的方式完成作業二.

作業二之一:

請問該如何取得與上述一乙相同格式的一甲分組數列? 請詳細說明解題步驟後列出一甲的分組數列.

作業二之二:

請問根據上述原始分組資料與最終教務處的選課學員名單, 兩班課程中是否有人加選或者退選? 請說明解題方法與結果.

作業二之三:

從倉儲 downloads/hw2 目錄中可以找到兩班各學員實際登記 Github 的帳號資料, 例如: 一乙學號與 Github 帳號對照表, 請問該如何利用程式方法產生正確的 W3 網頁 html 資料?

參考資料:

變數: https://books.trinket.io/pfe/02-variables.html 

條件式: https://books.trinket.io/pfe/03-conditional.html 

重複迴圈: https://books.trinket.io/pfe/05-iterations.html 

數列: https://books.trinket.io/pfe/08-lists.html 

開啟檔案: https://books.trinket.io/pfe/07-files.html 

超文件: https://www.w3schools.com/html/ 

bs4: https://readthedocs.org/projects/beautiful-soup-4/downloads/pdf/latest/ 

解題參考: https://www.kaggle.com/mdecourse/cp2020-hw2 


Security << Previous Next >> 2-1 取得一甲分組數列

Copyright © All rights reserved | This template is made with by Colorlib