Java Programming
Time: 0930 ~ 1230, from Monday to Friday
Location: Room 223B, 德田館
``Java is C++ without the guns, knives, and clubs.''
-- James Gosling, co-inventor of Java (1955-)
Course Description
To the students,
This course is designed for the students who want to learn Java without any programming experiences before. We will start with the very beginning of program design and fundamental concepts about programs and machines. You are expected to be capable to implement your idea in Java independently after 30 hours of lectures. Furthermore, I wish you could learn other programming languages without suffering from starting over.
Enjoy your coding time.
- Textbook
- References
- Java (basic level)
- Roselyn Teukolsky M.S., Barron's AP Computer Science A, 7/e, 2015
- Kishori Sharan, Beginning Java 8 Fundamentals, 2014
- Y. Daniel Liang, Introduction to Java Programming: Comprehensive Version, 10/e, 2014
- Prof. HT Lin, Fundamental Object Oriented Programming, Dept of Computer Science and Information Engineering, National Taiwan Univerisity, Taiwan, 2015fa
- Chua Hock Chuan, Programming notes, Nanyang Technological University, Singapore
- Java (advanced level)
- Java Platform, Standard Edition (Java SE) 8, Oracle
- Benjamin J Evans and David Flanagan, Java in a Nutshell, 6/e, 2014
- Herbert Schild, Java: The Complete Reference, 9/e, 2014
- Joshua Bloch, Effective Java, 2/e, 2008
- Scott Oaks, Java Performance: The Definitive Guide, 2014
- Robert Sedgewick and Kevin Wayne, Introduction to Programming in Java, Dept of Computer Science, Princeton University
- Jeanne Boyarsky and Scott Selikoff, OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide: Exam 1Z0-809, 2016
- Data structures and algorithms
- Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser, Data Structures and Algorithms in Java, 6/e, 2014
- Mark Allen Weiss, Data Structures and Problem Solving Using Java, 4/e, 2010
- Clifford A. Shaffer, Data Structures and Algorithm Analysis, 2013 (online resource)
- David Galles, Data Structure Visualizations, Dept. of Computer Science, University of San Francisco, 2011 (online resource)
- Justin Zhao, Data Structures for Interviews, 2014
- Prof. Wing-Kai Hon, 2016 Introduction to Data Structure, Department of Computer Science, National Tsing Hua University, 2016sp
- Eric Rowell, bigocheatsheet
- Object-oriented analysis and design (OOAD)
- Grady Booch, Robert A. Maksimchuk, Michael W. Engle, Bobbi J. Young, Jim Conallen, and Kelli A. Houston, Object-oriented Analysis and Design with Applications, 3/e, 2007
- Prof. Kenneth M. Anderson, Object-Oriented Analysis & Design, Department of Computer Science, University of Colorado, 2012fa
- Network programming
- Additional readings
- NiwaSho Lin, 為什麼要學各種程式語言,2012.11.21
- 資深開發者給後輩的七個 Coding 學習心得, TechOrange, 2013.11.29
- 大企業都在用哪些程式語言?圖解程式語言編年史, T客邦, 2013.12.16
- 關於工程師 59 條搞笑但卻真實無比的語錄, INSIDE, 2013.12.20
- The reason everyone should learn to code, Mike Loukides, 2014.1.22
- 如何成為一個偉大的開發者?, TechOrange, 2014.6.20
- 沒神奇公式和捷徑,這11步驟就是成為頂尖Coder的必備條件, TechOrange, 2014.7.9
- 高生產力工程師的兩個特徵:聰明、懶惰, INSIDE, 2014.7.14
- 笑傲「演算法」江湖的獨孤九劍, INSIDE, 2014.8.14
- Google工程師親授:菜鳥開發者一定要投資的十大標的, TechOrange, 2014.9.17
- Re: [討論] 所以練acm都底有啥好處?, coquelicot, ptt, 2014.9.23
- 在美國,寫什麼程式收入最高?答案是:Java, T客邦, 2014.10.9
- 我們之前說錯了嗎?Coding 竟不是新世代必備能力, TechOrange, 2015.2.6
- 學 Coding 很簡單,但想要靠它吃飯你必須經過這4大階段, TechOrange, 2015.4.7
- The top ten technology skills at BAML, Barclays, Credit Suisse, Citi, Goldman Sachs, JPMorgan, Morgan Stanley and UBS, efinancialcareers, 2015.4 16
- 你自己選吧:當工程師不需數學好,但神級工程師的數學都很好, TechOrange, 2015.5.4
- code 海無涯,不想溺斃就快抓緊這 6 個緊急救生圈吧!, TechOrange, 2015.5.26
- 程式初學者的失落之鑰 - ``Computational Thinking'', 程式教育的唐吉訶德, 2015.6.2 (Original: Computational thinking and thinking about computing, Jeannette M Wing, 2008.10.28)
- 一個平庸工程師的自白, TechOrange, 2015.6.12
- 24 小時學會 Java 程式?想成為武林高手,還是先花 10 年磨一劍吧!, TechOrange, 2015.8.19
- 【洪士灝 v.s 蘇文鈺】真正的資訊教育不在學寫程式,關鍵在學用電腦解決問題, TechOrange, 2016.1.4
- AlphaGo: using machine learning to master the ancient game of Go, Google, 2016.1.27
- 人工智慧有多恐怖?聽聽「天才」Demis Hassabis 怎麼說!, INSIDE, 2016.2.21
- 葉丙成:學程式者,能成麒麟之才?, 翻轉教育, 2016.2.26
- 程式自學十年心得:想吃這行飯,學好演算法與資料結構才能讓你站穩腳步, TechOrange, 2016.4.13
- 會寫程式還不夠,矽谷傑出軟體工程師都有的5種能力, 數位時代,
2016.5.2
- Arthur Liao, 程式員求生指南:關於寫程式的二三事, 2016.5.9
- Al Sweigart, Why is Object-Oriented Programming Useful? (With a Role Playing Game Example), 2014.12.2
- Misc
- 高中生程式解題系統 (An Online Judge System For Beginners)
- Michael Hicks and Anwar Mamat, Organization of Programming Languages, Dept. of Computer Science, University of Maryland, 2015sp
- Introduction to Artificial Intelligence -- Pacman Project, Dept. of Computer Science, UC Berkeley, 2014sp
- LeetCode Online Judge
- CodeChef
- openjdk/8u40-b25, GrepCode
- maoyang, 程式語言面試考題集錦, 2016.2.21
- code.org
- CMU 15-112: Fundamentals of Programming and Computer Science, Computer Science Department, Carnegie Mellon University, 2016sp
- Understanding Just-In-Time Compilation and Optimization, Oracle
- Java Technology Tutorials, tutorialspoint.com
- w3schools.com
- Java Tips
- Randal E. Bryant and David R. O’Hallaron, Computer Systems: A Programmer's Perspective, 3/e, 2015
- Prof. Martha Kim, Fundamentals of Computer Systems, 2016sp, Columbia University
- Prof. Chih-Jen Lin, Floating-point operations, Numerical Methods, 2016 winter, National Taiwan University
- WiFi service
- SSID: CSIE_guest
- Account: JavaMatC
- PWD: 85W577WK
Overview
The major topics covered in the short course, time permitting, are listed below for your reference.
- Programming basics (procedural programming)
- Overview: preliminary knowledge of computer science, Eclipse
- Data types and declaration
- Operators
- Control structures: selections, iterations
- Analysis of algorithms (O-notation)
- Arrays
- Methods (functions) and recursion
- Object-oriented programming
- Objects and classes
- HAS-A relationship: aggregation, and composition
- IS-A relationship: inheritance and interfaces
- Polymorphism
- Exception handling
- Generics
I will give a simple tutorial for Object-Oriented Analysis and Design (OOAD), including some design patterns and diagrams used in Unified Modeling Language (UML 2.0).
- Applications
- String and regular expressions
- File input and output
- Multi-threaded programming
- Fundamentals of network programming
- GUI design using Swing
- Applets, servlets, and JSP
These topics will be covered if we does continuously run ahead of schedule. Historically, we did finish the lecture notes for multi-threaded programming.
Sample Codes
As a beginner, avoid copying. Please write the code on your own.
Grading Policy