Introduction to Computer Science

210036 計算機概論

Programming Environment

Tips for Visual C++ 2010

  1. Tools - Options - Text Editor - C++
  2. Tools - Options Projects and Solutions
  3. Alt-F7 to Open the Property Page
  4. After you download a solution (.ZIP), if Visual C++ keeps complaining "This project is out of date", you may remove all files (.exe, .ilk, .pdb) under the Debug directory.
  5. Enable on-line help so that you can press F1 to look up the syntax of a command in Visual C++
    1. Launch Help Library Manager from the "Help" menu in your software application. Click "Help" - "Manage Help settings".
    2. After HLM launches, click "Install content from Online".
    3. Choose "Visual C++", "Visual Studio Fundamentals", "Visual Studio SDK"

FAQ

  1. Q: I cannot build a new EXE file after I modified the source code, but I believe the syntax of my program is correct.
    A: Please check whether you are currently running the EXE file. If so, close the window and try to compile again. When the EXE file is running, it is locked so that Visual C++ cannot overwrite it with a new one.
  2. Q: When I tried to create a new project, I saw a pop-up window complaining "The project cannot be created ...."
    A: The error message is clear: "... because another project already exists in the folder." Try to choose a different project name and it will work.

Code Writing

  1. Draw a flowchart
  2. Prepare a test case so that you will verify when your code is complete.
  3. Keyin your code and check it is correct or not.
  4. If the outcome differs from what you expect, ask yourself why.

How will your programming assignments be evaluated

課程評量方式:

Syllabus

Week 1 9/14
9/16
  1. Introduction to Web Surfing
  2. Introduction to Email system
    • Concept of client/server architecture
    • 介紹三種 Mail User Agent (e.g. Thunderbird)
    • Subscribe to CS101 mailing list





Week 2 9/21
  1. Number Representation
  2. Chapter 2: Data, Variables, and Calculations
  3. Quiz 1
9/23 
Week 3 9/28
  1. Quiz 2
  2. Operation on BitsPDF
  3. Chapter 3: Decisions and Loops
9/30 Floating-Point Representation
Week 4 10/5 校慶運動會
Steve Jobs of Apple dies at 56
10/7 (no class)
Week 5 10/12 Quiz 3
Chapter 3: Decisions and Loops (cont.)
  1. Easy flow chart creation with Dia
  2. How to Create a Flow Chart in Microsoft Word
  3. Unix creator Dennis Ritchie dies aged 70


10/14 Quiz 4
Chapter 4 Arrays, Strings
Week 6 10/19 Quiz 5
Quiz 6
Exchange Sort, Fibonacci Sequence Decimal to binary conversion
10/21


Babbage designs to be digitised
五 月天 戴立忍 張芸京 與你心靈對話video
Week 7 10/26 Midterm Exam (1) 10/28 檢討考卷

專 注─王建民成長紀實 (上)
How we Teach Introductory Computer Science is Wrong
Week 8 11/2 Chapter: 4 Pointer 11/4 Quiz 7
Homeworks of Chapter 4
C Pointer Tutorial
Cybercrime 2.0: When the Cloud Turns Dark
年 輕人職場求生法則--閱讀空氣 (Youtube)video
Week 9 11/9
Quiz 8
Quiz 9
Chapter 5: Functions
11/11 Homework:
  1. ID Number Verification
  2. Riffle Shuffle
第 1 集:本事,周杰倫成長記實(Youtube)
Week 10 11/16 Passing Arguments to a Function


11/18
String Functions [PPT]
Quiz 10
Quiz 11


洪蘭:如 何提升學習效果video
Week 11 11/23 Midterm Exam (2),
NTHU Midterm
11/25
檢討考卷

張鈞甯不當傀儡 勇敢做自己video
桂綸鎂——幸福就是走難走的路video
Week 12 11/30
Movie: Coach Carter
Quiz 12
12/2


王 浩威:給年輕人的「挫折管理」兩堂課 video
MIT 媒體實驗室創新的5把金鑰video
Week 13 12/7 
Chapter 6: More about Program Structure
12/9
Function Pointers and Callback Functions
Some Websites Judge You by the Kind of Computer You Usevideo
Week 14 12/14 Chapter 7: Defining Your Own Data Types
Chapter 4: Dynamic Memory Allocation
12/16 Quiz 13
HW: Linked List , Binary Tree
迎 向未來的關鍵能力:品格教育
迎 向未來的關鍵能力:「動手做」的實踐
迎 向未來的關鍵能力:運用資訊科技
迎 向未來的關鍵能力:美感體驗
迎 向未來的關鍵能力:學習知的能力
Week 15 12/21 Quiz 14
Functions for Screen Handling [PPT]
  1. NCURSES Programming HOWTO
  2. Public Domain Curses Library and its User's Guide
  3. Using a DLL
12/23 NCURSES: Color and Keyboard

印 度 —— 兩條走廊改變世界
心 靈走廊,到印度尋找自己
台 灣IT產業在印度
印 度,貧窮中的創新
印 度,台商全球化的練兵場
Week 16 12/28 File Functions [PPT]
Quiz 15
12/30 Rotation in HW:TETRIS 人生的最後一堂課,該 說什麼?
Randy Pausch Last Lecture: Achieving Your Childhood Dreams
Week 17 1/4 軟體工程與創意設計營
Quiz 16
1/6 argc, argv
Quiz 17
Quiz 18

Week 18 1/11 Final Exam,
NTHU Final




 

Lab

  1. Logo Interpreter
  2. Scratch! Open source programming for kids
  3. e-Tutor
  4. Creating C++ Console Applications in Visual Studio .NET 2003
  5. CodeGuru: Visual C++ and MFC
  6. Coding4Fun (MSDN Blogs)
  7. Code4Fug.org
  8. 線上解題系統 (NKNUSH)
  9. Advanced Programming (NSYSU)
  10. Google Code University
  11. Windows Mobile Technologies (http://msdn.microsoft.com/en-us/library/bb847935.aspx)
  12. Pthread
  13. aMSN @ SourceForge
  14. W3C Open Source Software
  15. Flowchart Drawing:
  16. Dia
  17. Dia for Windows
  18. Socket Programming

Exercise

  1. 9x9 Multiplication Table
  2. Christmas Tree
  3. Prime Number
  4. Factorization
  5. Greatest Common Divisor
  6. Sorting
  7. Matrix Multiplication
  8. 請問下面的這行數字中,有多少組連續的數字和為15?
    7356432633183741
  9. Card Shuffling
  10. Calendar
  11. Dec2Float: 40 decimal = 0x42200000 IEEE Single Precision
  12. bwBASIC: readline, ncurse
  13. 蓊鬱錦簇科技二館 - 有蓊鬱的樹木圍繞著科技二館,使建築物融入大自然的美景中,更具生命力。
  14. 五子棋
  15. 踩地雷
  16. Ignore the block comments and line comments in a C program.
  17. What day is January 1?
  18. 光鮮亮麗的山中城堡 - 雲群波濤洶湧、山脈層巒疊嶂及蓊鬱樹木圍繞,暨南大學校園無疑是美麗的歐式莊園。

Reading

  1. Intel Labs Creating Robots of the Future
  2. 10 Ways Not to Be a Jerk Online
  3. 15 Windows Utilities You Can't Live Without
  4. The Best Free Software of 2011
  5. IBM at 100: From typewriters to the cloud