星期二, 5月 26, 2009

第二次小考 預告 6/8/2009

第一次小考答對6題(含)以上者,不須參加第二次小考。

Format: closed book, no computer, simple problem
Running time: 45 min.
Scope: Chap.4~Chap. 5

歷年小考

一位校友對「為什麼在大學練習寫程式」留下新意見

畢業校友寫給我的回應,轉貼給各位參考。

Franson 已針對您的文章「為什麼在大學練習寫程式」留下新意見:

老師說得沒錯,程式真的很重要,
我在網通相關領域業界工作了半年多,碰到很多資工領域背景的同仁,他們寫code能力真的很強。RD幾乎人人都要碰程式,就如英語一樣是目前業界工作基本要求。

但電子電機相關科系的同學也不用擔憂未來或是羨慕資工領域的學生,因為我們有嚴謹的理論訓練。在業界理論才是研發和解決問題的根基,就如同一本好書,想當然作者一定有很好的語言能力,但在他背後的一切才是構成這本好書的原動力。

所以,理論課程非常重要。

關於專題,老師在前面有很多很棒文章^^看了很有感觸阿!對我來說專題是全人教育的一部分,而非單純實作課程。在大學幾乎沒有白學的課程,選了就好好修,一定有會有收穫的。

星期一, 5月 25, 2009

為什麼在大學練習寫程式

寫程式是種邏輯訓練,頭腦體操,就算以後你不走這行,你還是因此變聰明了。並不會有所謂白學的問題。

事實上,很多電子系校友也不從事電子這行,例如有個管理顧問公司總經理就是我們系友,他雖然早就不碰電子,但是他還是覺得電子系給他的紮實工程背景訓練,是非常寶貴的一段學習經驗,並不會因為以後不走電子,現在學的東西全部白學。

電子系同學大多不重視寫程式,想不透是誰給他們寫程式不重要的錯誤概念,事實上寫程式對電子系同學的重要性絕對不亞於資工系,無論是通訊,數位,用到程式 的機會極高。現在的系統講究智慧,智慧從哪裡來? 當然是軟體。以手機為例,手機硬體大同小異,功能差異性主要來自軟體。所謂科技來自人性,軟體居功厥偉。

電子系不等於焊電路接麵包板而已,所以千萬不要輕視寫程式。寫程式的好處如下:
  • 以後工作用得上。現在的世界是買硬體送軟體,以後是買軟體送硬體。
  • 訓練清晰頭腦,培養邏輯思考能力。
  • 快速試做一個概念,因為你在耗時耗費實做之前,即可先用軟體程式模擬。如果結果不錯,再去實做不遲。

Homework 5.25.2009 User Test

請比較新舊電子系網頁

www.el.cycu.edu.tw
cycu-el.blogspot.com

將比較結果寫在測試區。

謝謝你提供第一手回饋意見!

Lab: Static Method II

Define a Complex class with a static method for computing complex addition. Use (2+3i)*(4+5i) in your test.

程式能力

國外公司如微軟,Google應徵新人會考程式,國內手機, NB, GPS大廠其實也類似,最近我們的學生找Firmware Engineer工作,臨時被考程式能力。今年中央大學網路學習所的甄試在複試時也是當場測驗程式。

Lab Magic Parking Tower

A parking tower is out of order someday. If you park a Benz, you will end up with a Torben. Write a program to simulate this scenario. First create a class called CarParked which has a static method called outOfOrder. Name an object called yourCar, which happens to be a Benz. Your program should contain a class called CarParked and a test program called CarParkedDemo which test the method by CarParked.outOfOrder(yourCar).

Hint: You may study Display 5.14 to get some ideas.

星期三, 5月 20, 2009

小考成績




成績公布
(不公布姓名)

看考卷者請至電學512室

星期一, 5月 18, 2009

Quiz 5-18-2009

1. Design a non-static method that can compute the addition of complexes. You must first define Complex class then write a demo program to verify the class program.
2. Design a static method that can compute the multiplication of fractions. You must first define Fraction class then write a demo program to verify the class program.
3. 列舉至少三個Java程式風格
4. 列舉至少三個Java記憶體管理特性
5. 6. Design a method that can compute the vector inner product. You must define Vector class in the first place. Write a demo program to verify your program works.
7. Give three examples of ADT (Abstract Data Type).
8. Give three examples of API (Application Programming Interface).
9. 10. Define a class called Counter whose objects count things. An object of this class records a count that is a nonnegative integer. Include methods to set the counter to 0, to increase the count by 1, and to decrease the count by 1. Include an accessor method that returns the current count value and a method that outputs the count to the screen.
11. 為什麼static method 不能呼叫 nonstatic method?詳細說明之。
12. 請解釋 public static final PI = 3.141592654 中, public, static, final 的意義。
13. 舉三個例子說明 Overloading
14. 舉三個例子說明 Constructor

星期六, 5月 16, 2009

第二次小考 預告 6/8/2009

Format: closed book, no computer, simple problem
Running time: 45 min.
Scope: Chap.4~Chap. 5

小考目的主要在測驗學生基本能力,能夠面對問題,獨立去構思答案,不假他人既有成果。因此,不必求完美,只要掌握關鍵概念,就會給予高分。

歷年小考

星期三, 5月 13, 2009

賀: 電子系精障研究 "全程護送 有障無礙" 獲得三創(創意創新創業)比賽全校第一名(科技創新獎)

此獎開始於2007年,由教育部教學卓越計畫主辦,每年挑選全校各系最精華專題成果,選出精華中的精華。獲得獎金五萬元。 恭喜 馬瑱賢 彭書敏 陳虹綺 。

另外,彭書敏 陳彥儒 陳虹綺 熊嬡菁 楊秉霖 黃俊達 精障研究 "展招開道 室內導航" 獲得三創比賽全校第四名。近日內將接受主要媒體採訪。

再次,謝謝各位就服員,老師給這些同學們三年來不斷的支持,鞭策與鼓勵。更要感謝的是所有參與實驗的精障者,你們用樂觀面對生命給我們極大的啟示。

星期二, 5月 12, 2009

輔具科技夏令營 2009 開始報名

目的: 為了增進對國內外輔具科技認知視野,提升對輔具研發實做能力,特舉行此次輔具科技夏令營。

時間: 2009年6月30日

地點: 中原大學電學大樓 517 實驗室

對象: 研究生,專題生,大學部同學,專業工作者,對身心障礙科技有興趣者

議程

費用: 全免

報名方式: 將名字填寫於此張貼意見處

延續本實驗室傳統,將於6/30舉行。期末考結束了,暑假剛開始。大家團聚一起,
分享彼此經驗。除了研究生薪火傳承以及為了促進不同小組技術交流與相互觀摩。歡迎社會人士與專業從業人員與教師。

本實驗室研究成果

本實驗室精障服務績效

星期一, 5月 04, 2009

Lab Static Method

Define a Complex class with a static method for computing complex addition. Use (2+3i)+(4+5i) in your test.

Lab Math methods

Compute the following mathematical functions.

Math.round(3.2)
Math.round(3.6)
Math.floor(3.2)
Math.floor(3.6)
Math.ceil(3.2)
Math.ceil(3.6)

Lab Finding the max of three numbers

Write a static method that computes the maximum of three float numbers.

小考: 5-18-2009

Format: closed book, no computer, simple problem
Running time: 45 min.
Scope: Chap.4~Chap. 5

小考目的主要在測驗學生基本能力,能夠面對問題,獨立去構思答案,不假他人既有成果。因此,不必求完美,只要掌握關鍵概念,就會給予高分。

歷年小考

Homework 5-4-2009

Do Project 7 of Chapter 4.

Lab Java Constructor

Write constructors in the lab Fraction Addition.

Lab Method Overloading

依據Class definition 3,修改程式使其接受三種setDate

date1.setDate(1,2,2008);
date2.setDate("February",2, 2008);
date3.setDate(2008);