軟硬體基礎

軟硬體

電腦之種類

分類方法

基本架構

Common Unit Abbreviations

主機板

記憶體 and 匯流排 (Bus)

界面卡

顯示卡

音效卡

AC-3 5.1 Surround System

連接埠

USB

CRT Monitor

LCD Monitor

Peripherals

Memory

Digital Camera

Digital VideoCam

Hard Disk

CD

Client - Server Model

軟體

作業系統 (Operating System)

程式語言

Programing

Word Processing

中文電腦


Untitled Document
軟硬體

♦ 電腦包含硬體 (Hardware) 及軟體 (Software):

⊕ 硬體(Hardware):

♦ 有形的電腦元件,組成電腦的各項機械、電子設備

⊕ 軟體(Software): 程式(Program):

♦ 用以控制電腦動作指令、程式

    使用者用一步一步的指令引導去作使用者要作的事

Sat Feb 5 07:26:52 CST 2011

Untitled Document
電腦之種類

⊕ Micro Computer 微電腦 ( phased out )

♦ 由 Microprocessor 所組成之電腦,本名詞已漸漸不適合現況

⊕ Mini Computer 迷你電腦 ( phased out )

♦ 相較於 Mainframe 而言,容量較小,設備較不齊全

    早期 Mainframe 太貴時,由DEC (Digital Equipment Co.) 主導生產的小型主機, 以運算為主。

⊕ Workstation 工作站 (phased out)

♦ 介於 Minicomputer 及 PC 之間,供專業人士使用,

♦ 為多人多工,有強大的網路功能

♦ 常使用UNIX作業系統,具齊全的軟體,需專人維護

⊕ Server (伺服器)

♦ 上兩款電腦之轉型,

♦ 除了單人模式可以直接接上伺服器操作之外,一般使用者必須透過網路連上伺服器

♦ File Server, Name Server, Mail Server, priner server, Compute Server etc.

⊕ Mainframe 大型主機

♦ 設備齊全,專供大量資訊處理之系統,

♦ 非常可靠,需專人負作業,為各級資訊單位採用。

大型電腦中心

⊕ Super Computer 超級電腦

♦ 運算速度極快之系統,專供科學計算使用。

⊕ Personal Computer 個人電腦

♦ 唯一不需專人維護之系統,供個人使用,價格低廉

♦ 廣大的非專業人士作個人資訊處理

♦ 近年出現很多種類

DeskTop 迷你準系統
Notebook 筆記型電腦 mininote subnote
Desknote
Tablet PC Webpad Mira

⊕ PDA (Personal Digital Asistant) 個人數位助理

Newton 神寶 PDA Zaurus etc.
Palm (Palm OS) WinCE, Pocket PC

⊕ Handheld/Palm Computer (掌上型電腦)

♦ WinCE, Handheld PC,

♦ 逐漸為高性能 PDA 取代

Sat Feb 5 07:26:52 CST 2011 Untitled Document
分類方法

⊕ 早年以速度,容量,價格做分類

♦ 現已漸不適用。

♦ 分類方法逐年演進

⊕ 大分類:

♦ 專業用高可靠度資訊處理系統

♦ 高速運算電腦

♦ 個人用電腦

⊕ 細分類:

♦ 資訊處理速度之性能以 TPS (Transaction Per Second)衡量

♦ 運算的速度以 MIPS (Million Instruction Per Second)或 SpecMark 衡量

Sat Feb 5 07:26:53 CST 2011 Untitled Document
基本架構



⊕ CPU (Central Processing Unit)中央處理單元

    CPU是電腦裡面相當重要的元件,幾乎大大小小的工作,都要靠CPU來打理; 舉凡運算、控制、邏輯處理等,無一不經過CPU。 因此選用的CPU速度越快,電腦的整體效率自然越高;

Processor 網頁

⊕ Memory (記憶體)

♦ 作為主儲存區 (primary storage),

    通常為半導體製品,速度高,容量小,暫時性,價格高。

Disk 網頁

⊕ Disk (磁碟)

♦ 作為副儲存區 (Secondary storage)

    通常為磁製品,速度較慢,容量大,永久性,價格較 Memory 便宜。

⊕ Input 及Output 統稱為 I/O (輸出及輸入裝置)

♦ IO 設備常稱為 週邊設備 (Peripheral)

♦ keyboard, monitor, mouse 幾乎已經是必備周邊裝置

♦ 其他設備,例如 printer, scanner, sound system, 等也都是常見配備

♦ 需要界面卡(可能內建),或界面電路 (serial/parallel/usb ports)

I/O 網頁

⊕ 電腦執行程式之步驟

♦ CPU 執行程式時,首先把程式自 Disk 中放到 Memory

♦ 然後依次執行 Memory 中的指令,

♦ 如有需要,自輸入裝置讀取外界資訊,而自輸出裝置展示結果。

Sat Feb 5 07:26:53 CST 2011 Untitled Document
Common Unit Abbreviations

⊕ Small Units

Name Scale Example
mili 10 -3 milisecond (ms)
micro 10 -6 microsecond ( m s)
nano 10 -9 nanosecond (ns)
pico 10 -12 picosecond (ps)

⊕ Large Units

Name Scale Example
kilo 10 3 kilobyte (Kbyte)
mega 10 6 megabyte (Mbyte)
giga 10 9 gigabyte (Gbyte)
tera 10 12 terabyte (Tbyte)
Sat Feb 5 07:26:53 CST 2011 Untitled Document
主機板
Sat Feb 5 07:26:53 CST 2011 Untitled Document
記憶體 and 匯流排 (Bus)
Sat Feb 5 07:26:53 CST 2011 Untitled Document
界面卡
記憶卡
網路卡
顯示卡
音效卡
電視卡

♦ 很多界面卡都已經內建,例如網路卡、顯示卡及音效卡

♦ 以往很多高速設備都需要特殊的界面卡,但近年來都已經漸漸採用標準的 USB (1.0 or 2.0) 或 IEEE 1394

Sat Feb 5 07:26:54 CST 2011 Untitled Document
顯示卡

⊕ 接到 螢幕 用

♦ 目前的標準是 VGA

⊕ 規格

解析度 (1024x768)
色彩深度 (24 bits)
記憶體大小 (2.25 Mbyte 以上)
Sat Feb 5 07:26:54 CST 2011 Untitled Document
音效卡
Sat Feb 5 07:26:54 CST 2011 Untitled Document
AC-3 5.1 Surround System
Sat Feb 5 07:26:54 CST 2011 Untitled Document
連接埠

⊕ RS-232 (Serial Port), Parallel Port

RS232 Cable (Old) RS232 Cable (New) Parallel Port Cable

⊕ USB (Univeral Serial Bus)

Sat Feb 5 07:26:54 CST 2011 Untitled Document
USB
Sat Feb 5 07:26:55 CST 2011 Untitled Document
CRT Monitor
Sat Feb 5 07:26:55 CST 2011 Untitled Document
LCD Monitor
Sat Feb 5 07:26:55 CST 2011 Untitled Document
Peripherals

⊕ Scanner, Printer, Scanner+Printer+Copier

三合一 Printer 大型Printer Plotter

⊕ Mouse

⊕ MiniMouse/Optical Mouse/Wireless Mouse

Sat Feb 5 07:26:55 CST 2011 Untitled Document
Memory

⊕ Flash Memory

⊕ Flash Memory (行動碟)

Sat Feb 5 07:26:55 CST 2011 Untitled Document
Digital Camera

⊕ Digital Camera/VideoCam

⊕ WebCam

Sat Feb 5 07:26:56 CST 2011 Untitled Document
Digital VideoCam
Sat Feb 5 07:26:56 CST 2011 Untitled Document
Hard Disk
Sat Feb 5 07:26:56 CST 2011 Untitled Document
CD

Sat Feb 5 07:26:56 CST 2011 Untitled Document
Client - Server Model

⊕ 定義

♦ Client送 Request給Server

♦ Server提供服務,把 Result送回 Client

    原意係一種合作的工作方式,

    現已因運用的環境而有特定的含意。

⊕ PC-Server


♦ 主要在模擬 Mini Computer 多人多工的環境

♦ 由 Server 提供大容量的磁碟空間,

♦ 並存放公用軟體供多人分享,

♦ 有專人維護,個人所需維護可降低

⊕ 用在資訊處理領域時

    通常Server不只是File Server而已, 而必須有Database 及 Transaction 之功能, 其目的是要取代 Mainframe 。

Sat Feb 5 07:26:56 CST 2011 Untitled Document
軟體

⊕ 套裝軟體(Packaged Software):

    軟體廠商為了銷售給大量的客戶, 而把軟體作適當的包裝, 附上完整的說明, 透過經銷商賣給一般大眾, 使用者可以按說明書輕易的安裝, 並學習操作, 製造商與使用者之間並無密切之連繫。

⊕ 特定軟體(專用軟體)(Customized Software):

    軟體廠商專為某客戶設計的軟體 (或設計給自己用), 由於只供少數人使用故價格昂貴, 而且由於開發成本太高, 以致於無法撰寫完整的說明書, 安裝手續也比較麻煩, 廠商的售後服務非常重要。

⊕ 系統程式/系統軟體(System Software)

♦ 控制電腦系統讓使用者方便的使用電腦,作為使用者與電腦之間的媒介,

    根據使用者的命令指揮電腦系統作事,

    控制及管理系統資源。

    例如: 作業系統 (Operating System), Compiler, etc.

      UNIX, DOS, Windows, Compiler, Loader, ....等。

⊕ 發展環境

    開發各種軟體所需的各種輔助工具軟體

♦ Compiler(編譯器)

    把電腦程式轉換成機器碼

♦ Editor(編輯程式)

⊕ 應用程式(Application Software):

♦ 專為某種特定用途而設計給使用者用的程式,

    通常係相對於某系統程式而言, 並未有絕對之分野。

♦ Word processor (MsWord, etc.)

♦ Spread Sheet 電子試算表 (Lotus 1-2-3, MS-Excel, etc.)

♦ Database Management Systems(DBMS) 資料庫系統 (Oracle, MS-SQL)

♦ Graphics 繪圖程式 (PhotoShop, PhotoImpact, Flash, AutoCAD, CorelDraw)

♦ Data Communication (PPP, PPPoE, Procomm, NCSA, Telix, Slip)

♦ Presentation Software (PowerPoint)

Sat Feb 5 07:26:57 CST 2011 Untitled Document
作業系統 (Operating System)

⊕ Text Based

♦ UNIX, DOS, etc.

♦ Use Keyboard as the only input device

♦ Require low communication speed, good for remote control

♦ In early days, multi-user computers had to use text based OS

⊕ Window Based

♦ Mac, MS Windows, etc.

♦ Use Keyboard and Mouse for input devices

♦ Require high communication speed, only good for local control

⊕ Clinet-Server Model

♦ Use windows-based OS for Client

♦ Use test-based OS for Server

Sat Feb 5 07:26:57 CST 2011 Untitled Document
程式語言

⊕ 低階語言

♦ 機械語言

    以 CPU/processor 之電子信號去控制電腦之運行

♦ 組合語言

    以 一對一 之方式將機械語言用較容易看懂之文字表示

⊕ 高階語言 (Basic, C, C++, PASCAL, Java, COBOL, FORTRAN, etc.)

♦ 以高級計算理論為基礎所設計接近人類用語之程式語言

♦ 需用編譯器(compiler)將程式翻譯成機械語言


for (i=0; i<=100; i++) {
   count = count + count;
}
Sat Feb 5 07:26:57 CST 2011 Untitled Document
Programing

⊕ Simple Programming Steps

問題分析
決定程式大致功能及設計理念
Coding
Debugging
Testing

⊕ 工具

♦ Flow Chart

♦ Compiler

♦ Debugger

⊕ Software Engineering

Problem Definition
System Analysis
System Engineering
System Development (including Coding and individual testing)
Testing (Unit Test, Integration Test, Regression Test, etc.)

♦ There are various software development process models

Sat Feb 5 07:26:57 CST 2011 Untitled Document
Word Processing

⊕ Font Family and Control

♦ 英文: Times, Helvetica, Courier, Symbol, etc

♦ 中文: 細明體、標楷體、隸書、等

♦ Special Symbols

    希臘字母、繪圖字元、其他符號、等

♦ Variations

    Bold, Italic/Oblique, and Roman

♦ Font size control

⊕ Page Control

Page Margin: Top, Bottom, Left, Right Text Filling and Centering
Automatic filing On/Off Center, Left Adjust, Right Adjust
Hyphenation Vertical Spacing
Indentation

⊕ Paragraph Control

♦ Indented Paragraph

⊕ Section Heading

Hierarchical Heading Structure Consistent Heading Style

⊕ Lists

Bullet List Numbered List List Indentation

⊕ Style

Single Column Two Coulum Multiple Column

⊕ Display

Static Display Floating Display

⊕ Miscellaneous

Footnotes Page Header Page Footer Table of Content
Sat Feb 5 07:26:57 CST 2011 Untitled Document
中文電腦

⊕ 中文輸出

    (Screen, printer, 語音)

♦ 繁體,簡體 字型

⊕ 中文輸入

    Keyboard:自然,注音,拼音,倉頡,無蝦米,等

    線上中文辨識, OCR, 語音輸入

⊕ 資料編碼方法 (Encoding)

    Big5, GB, 其他

    由於編碼不同,造成某些困難,例如資訊檢索

⊕ 系統環境

    (DOS/倚天, Windows, UNIX/Mitux)

⊕ 軟體工具

    (AWK, Perl, Sed, Sort, troff, TeX, Vi, Word .....)

    Unix 工具 僅有少數有中文化

⊕ 軟體系統

    (Database, 中文SQL?)

    大部分國內使用之商用軟體與中文可相容 (中文Windows 解決大半問題)

    但是仍有不足,例如 排序 ,中文如何排序? 可由內碼直接排序嗎?

    可以由內碼找出 金字邊的字出來嗎?

Sat Feb 5 07:26:58 CST 2011