Git Product home page Git Product logo

se108a's People

Contributors

ccckmit avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

se108a's Issues

軟體工程 -- 合作專案 (同時也是期中考)

請以 3-5 人為一組進行程式合作,以 github 為平台,必須有完整的驗證程式,以及每一版的詳細 commit 紀錄!

請先提交分組名單,然後開設專案,將分組名單寫在 README.md 中並將專案網址貼到此處! (可以先開 organization 再開專案)

請寫清楚下列資訊:

  1. 專案成員
  2. 專案名稱與描述
  3. 合作模式 -- gitflow, github flow, gitlab flow, ...
  4. 測試方式 (mocha, mocha + supertest, mocha + puppeteer .... )

期中考繳交 (2019年11月6日下午 4:20 前繳交所有規劃成果)

  1. 自由發揮,越詳細清楚愈好 (可上傳到 github 上搭配紙本繳交)
    • 專案描述,規劃與分工
    • 系統分析與設計 (介面設計,使用個案, UML等等)
    • 測試方法與規格 (有 Mocha/SuperTest/Puppeteer/TDD/BDD 測試程式分數會高很多,包含『個人的單元測試』與『整組的整合測試』)
    • github 檔案資料夾規劃
    • 投影片或文件說明
    • 每個成員自己的規劃,分析,測試規格,程式碼檔案等等... (如果有 fork 的話,連自己版的 fork 也一併繳交貼上來)

參考:

  1. 軟體工程 -- 使用 JavaScript 實作
  2. 網站設計進階 -- https://github.com/ccccourse/ws
  3. 軟體工程與演算法 -- https://github.com/ccccourse/se
  4. http://www.ruanyifeng.com/blog/2015/12/git-workflow.html
  5. https://www.npmjs.com/package/blog6 (使用說明請看這版,github 上的是舊的)

演算法 -- 查表習題

請用不同方式寫三個程式解決下列遞迴問題:

f(n) = 3*f(n-1) + 2*f(n-2)
f(0) = 0, f(1) = 1

方式列表:

  1. 遞迴不查表 (慢)
  2. 遞迴要查表 (快)
  3. 不用遞迴 (快)

答案核對:

n    = 0  1  2  3   4    5  ....
f(n) = 0  1  3 11  39  139  ....

參考: 課本 -- 查表法 Table Lookup

第二章 測試與 TDD 習題 ,請將答案放入你 fork 的 se108a 專案貼到此處

https://gitlab.com/ccckmit/course/wikis/%E9%99%B3%E9%8D%BE%E8%AA%A0/%E6%9B%B8%E7%B1%8D/%E8%BB%9F%E9%AB%94%E5%B7%A5%E7%A8%8B/02-test

  1. 實作第一個函數並用你的方式進行測試。
  2. 練習使用 mocha 套件進行測試。
  3. 使用 mocha 測試你 01-mylodash 中寫的那個函數。
  4. 採用 TDD 的方式,先寫出第二個函數的測試程式。
    • TDD : 先寫測試,再寫程式
  5. 然後再撰寫第二個函數,並完成測試。
  6. 採用 chai/BDD 的方式撰寫第三個函數的測試程式。
  7. 然後再撰寫第三個函數,並完成測試。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.