C Language course
Complete Tutorial
( lecture 1) Digital Computer ?
Answer :- digital computer is an electronic device which take input data from input unit and process it according to the set of instruction called program and produce the output using output device .
Notes :- it is called digital its take understand only 0 and 1.
Block diagram
1:- CPU :- central Processing Unit
2:-ALU:- arithmetical logical unit
3:- C.U:- control unit
Parts of digital computer
:- there are three types of digital computer.
1:- input and output unit .
2 :- CPU
3:-memory / axillary memory
a:-> input and output unit
(a):- Input unit :- input unit in the functional diagram of digital computer respect the various input device which are used input the real world data into computer the function of input unit is accept coded information from human operator or from an electronic machines device or from other computer connected to it by the internet or by any other medium Note :-input device convert human data into the from which is accepted by digital computer example for input unit Example :- keyboard , mouse , scanner barcode reader , Mic
(b) output unit :- output unit used to represent the function information processed by digital computer the function of output unit used is to store the processed information and display it when needed by the user.
Example:- monitor (monitor type CRT LCD LED TFT plasma )etc.
2. printer( types of printer :- inkjet printer drum printer laser .
3. speaker
4 projector
5.plotter:- it is used to print large data sheets and map.
2:- (Cpu):- central Processing Unit
CPU stands for central Processing Unit it is also called brain of computer where all kinds of processing is done this unit take the input data from unit unit or input device and process it according to the set of instruction called program.
Parts of CPU
There are four types of CPU.
1:- Alu
2:- Accumulator
3:- Gpr
4:- Control unit
(a):- A.l.U :- ( arithmetic and logic unit)
A l u stand for arithmetic and logic unit Alu is responsible for two types of operation.
(1):- airthmetic operation
(2):- logical operation.
(a):- arithmetic operation
In Arithmetic operation computer perform (+ add , -- subtract , / division, * multiplication %percent , % mod ,Mod is used to the calculate reminder.
(b):- logical operator
logical operator means (And &&, , or not logic operation always is true or false .
TRUTH TABLE OF GATE
a=3 d=3 + 4 + 5
b=4 d=7 + 5
c=5 d=12.
They are used for temporary storage of data and from Intermediate result execute program
.
(b) output unit :- output unit used to represent the function information processed by digital computer the function of output unit used is to store the processed information and display it when needed by the user.
Example:- monitor (monitor type CRT LCD LED TFT plasma )etc.
2. printer( types of printer :- inkjet printer drum printer laser .
3. speaker
4 projector
5.plotter:- it is used to print large data sheets and map.
2:- (Cpu):- central Processing Unit
CPU stands for central Processing Unit it is also called brain of computer where all kinds of processing is done this unit take the input data from unit unit or input device and process it according to the set of instruction called program.
Parts of CPU
There are four types of CPU.
1:- Alu
2:- Accumulator
3:- Gpr
4:- Control unit
(a):- A.l.U :- ( arithmetic and logic unit)
A l u stand for arithmetic and logic unit Alu is responsible for two types of operation.
(1):- airthmetic operation
(2):- logical operation.
(a):- arithmetic operation
In Arithmetic operation computer perform (+ add , -- subtract , / division, * multiplication %percent , % mod ,Mod is used to the calculate reminder.
(b):- logical operator
logical operator means (And &&, , or not logic operation always is true or false .
TRUTH TABLE OF GATE
Accumulator :- it is a register which contain enter value and final value and final result of earth medical logic operation .
d = a + b + ca=3 d=3 + 4 + 5
b=4 d=7 + 5
c=5 d=12.
GPR ( general purpose registered).
They are used for temporary storage of data and from Intermediate result execute program
.
0 Comments