Académique Documents
Professionnel Documents
Culture Documents
sg/~cs1104
Lecture 1: Introduction
Lecture 1: Introduction
Overview History of Computers Application Areas Types of Computers Computer Configurations Computers as Information Processors
CS1104-1
Lecture 1: Introduction
Lecture 1: Introduction
Basic Machine Hardware Architecture
CPU Memory/Storage Main Memory Input/Output Devices Flowcharts Languages Operating Systems System Utilities Applications
Whats in CS1104
CS1104-1 Lecture 1: Introduction 3
CS1104-1
Lecture 1: Introduction
Disk: storage techniques. Bus: internal communication. I/O: devices, technology, etc.
CS1104-1
Lecture 1: Introduction
CS1104-1
Lecture 1: Introduction
designed by John Mauchly 1944 Mark I: Howard Aiken 1946 EDVAC: first stored program computers, designed by John von Neumann
supercomputers
(http://www.computer.org/computer/timeline) The Virtual Museum of Computing (http://www.comlab.ox.ac.uk/archive/other/mus eums/computing.html) IEEE Annals of the History of Computing (http://www.computer.org/annals/) and others (surf the web)
CS1104-1 Lecture 1: Introduction 9
Telecommunication
Network, StarHub CableTV, Singapore One.
CS1104-1
Lecture 1: Introduction
11
Mainframes:
fast (>10mips) but expensive ($1m), high-throughput,
Mini-computers:
fast but affordable ($200k), used in medium-sized
Micro/Personal/Home Computers:
cheap and affordable ($3k), transportable, home use,
good for games and as educational tool, word processing, suitable for small enterprise.
CS1104-1
Lecture 1: Introduction
13
Modem connection
CS1104-1
Lecture 1: Introduction
14
CS1104-1
Lecture 1: Introduction
15
CS1104-1
Lecture 1: Introduction
16
A computer is a device capable of solving problems according to designed program. It simply augments our power of storage and speed of calculation.
CS1104-1 Lecture 1: Introduction
Programmer
17
computation/processing; should be simple, fast, reliable. Software: set of instructions to perform tasks to specifications; should be flexible, user-friendly, sophisticated.
CS1104-1
Lecture 1: Introduction
18
Data Units:
1 bit (binary digit): one of two values (0 or 1) 1 byte: 8-bits 1 word: 1, 2, or 4 bytes, or more (depends on ALU)
CS1104-1
Lecture 1: Introduction
19
Main Components:
CPU (Central Processing Unit: controls devices and
processes data). Memory: stores programs and intermediate data. Input Devices: accept data from outside world. Output Devices: presents data to the outside world.
expressions
CS1104-1 Lecture 1: Introduction 20
CS1104-1
Lecture 1: Introduction
23
CS1104-1
Lecture 1: Introduction
24
CS1104-1
Lecture 1: Introduction
25
CS1104-1
Lecture 1: Introduction
26
CS1104-1
Lecture 1: Introduction
27
M A R
address
memory cells
M B R
data
2m-3 2m-2 2m-1
CS1104-1
Lecture 1: Introduction
28
Units
1 KBytes = 1024 (or 210) bytes
CS1104-1
Lecture 1: Introduction
29
CS1104-1
Lecture 1: Introduction
31
Applications/User programs
CS1104-1
Lecture 1: Introduction
32
roots (b b2 4ac ) / 2a
CS1104-1 Lecture 1: Introduction 33
Write
not quadratic
<
Write
real root
Write
complex roots
CS1104-1
Lecture 1: Introduction
34
CS1104-1
Lecture 1: Introduction
35
CS1104-1
Lecture 1: Introduction
37
CS1104-1
Lecture 1: Introduction
38
etc.)
CS1104-1
Lecture 1: Introduction
40
applications.
Some examples
Editor: compose/edit user programs or data files Assembler: translates assembly to machine code Compiler: translates high-level language to
management of data at a more abstract level than files Window Management System: multiple windows can appear on single screen. These together with various graphical entities (e.g. menus,panels, buttons) can be managed by WMS.
CS1104-1
Lecture 1: Introduction
42
Software Applications
Word-Processors: compose/edit reports/articles Accounting Package: keeps track of accounting
transactions, produces daily/weekly/monthly (profit/loss) reports
Inventory System: keeps track of stock levels Personnel/Payroll System: staff records, monthly
salary
CS1104-1
Lecture 1: Introduction
43
Whats in CS1104
Software
Application (Netscape) Compiler Assembler Operating System (Windows XP)
Hardware
Digital Design
transistors
CS1104-1
Lecture 1: Introduction
44
End of file
CS1104-1
Lecture 1: Introduction
45