Professional Documents
Culture Documents
INTRODUCTION TO COMPUTERS
AND PROGRAMMING
Mr.Viknesh Ramamoorthy
Computer Programming (BFC 20802)
Why Program?
Computer programmable machine designed to follow
instructions
Program instructions in computer memory to make it do
something
Programmer person who writes instructions (programs) to make
computer perform a task
Computer Systems:
Hardware and Software
Hardware
Main Hardware Component Categories:
Central Processing Unit (CPU)
Main Memory
Figure 1-1
Main Memory
In Figure 1-3, the number 149 is stored in the byte with the address 16, and the number
72 is stored at address 23.
Secondary Storage
Input Devices
Output Devices
Software
Program
Machine Language
Machine Language
Programming Languages
Types of languages:
Key Words
Programmer-Defined Identifiers
Operators
Punctuation
Syntax
Key Words
Key Words
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Programmer-Defined Identifiers
Programmer-Defined Identifiers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Operators
- ex: +,-,*,/
Assignment ex: =
Operators
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Punctuation
Punctuation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Syntax
Variables
Variable Definitions
Variable Definitions
Variable Definitions
THANK YOU