CSC101 - L1 - Intro To Computer Systems
CSC101 - L1 - Intro To Computer Systems
CSC101 - L1 - Intro To Computer Systems
INTRODUCTION TO
COMPUTER SCIENCE
AY 2014-2015 (Term 2)
Grading System
Exam
Laboratory Exercise/Quiz
HW/SW
Attendance
Passing Rate:
No Removal Exam
Main References:
60 %
25
10
5
60%
LECTURE 1
INTRODUCTION TO COMPUTER
SYSTEMS
Lecture Outline
What is a computer?
Hardware
and Software
Components of a Computer System
Starting a Program
Networks
Language of a Computer
Evolution of Computer Language
Programming
Programming Methodologies
What is a computer?
Variations:
embedded computers
PDA
Mainframe or Supercomputer
Hardware vs Software
Hardware
Software
Examples
CPU
System
Bus
Memory
Computer
I/O
CPU
System
Bus
Registers
ALU
Internal
Bus
Memory
Control
Unit
Secondary
Starting a Program
1.
2.
3.
The OS finds the files on the hard disk where the application and its data are
stored.
4.
The OS finds an unused section of main memory that is large enough for the
application.
5.
The OS makes a copy of the application and its data in that section of main
memory.
6.
7.
Computer Networks
Network
Computer Networks
Internet
World Wide Web, electronic mail, Internet phone, audio, video and file
transfer services
interrelated by hyperlinks
Language of a Computer
Electrical Signals
Analog
Digital
more reliable carriers of information than analog signals and can be copied from
one device to another with exact precision
Language of a Computer
binary digit or bit
digit 0 or 1
sequence of 0s and 1s
byte
8 bits
even though most computers perform the same kinds of operations, the designers of different
CPUs sometimes choose different sets of binary codes to perform those operations
010001
load
100100
010010
addition
100101
010011
store
100010
100100 010001
100101 010010
100010 010011
Assembly Language
LOAD a
ADD b
STOR c
High-Level Language
closer to spoken languages
Basic, FORTRAN, COBOL, Pascal, C, C++, and Java
Ex:
c = a + b;
Processing a JAVA
program
Programming
a process of problem solving
1.
analyzing a problem
2.
3.
Algorithm
programming process
rectangle
1. Get the length of the rectangle.
Programming Methodologies
Structured Programming
problem
also
Programming Methodologies
Object-Oriented Programming
first
Review
True or False:
1.
Assembly language is the language that uses mnemonics for its instructions.
2.
The arithmetic operations are performed inside CPU and, if an error is found, it outputs the
logical errors.
3.
4.
5.
6.
7.
8.
The operating system is the first program loaded into the computer when the power is turned
on.
9.
References