Lec 5 input unit

44
WELCOME

Transcript of Lec 5 input unit

Page 1: Lec 5 input unit

WELCOME

Page 2: Lec 5 input unit

MIS – 104:

Computing Fundamentals

BBA Department of MISUniversity of Dhaka

Page 3: Lec 5 input unit

3

Books

1. Introduction to Computer Peter Norton

2. Computer Fundamentals Dr. M Lutfar Rahman

3. Computer Fundamentals Pradeep K. Sinha

Page 4: Lec 5 input unit

4

Last Class1. Computer:

Introduction Characteristics

Use (Specially in Business)HistoryGeneration

2. Classification of Computer: • Size & volume of data processing

– Micro, mini, mainframe, super• Working principle

– Analog, digital, hybrid• Purpose of use

– Special purpose, general purpose

Page 5: Lec 5 input unit

Today’s Class

Page 6: Lec 5 input unit

6

Outline

3. Basic Organization of Computer: Input Unit Output Unit Memory Unit Control Unit Arithmetic & Logic Unit (ALU)

CPU = ALU + CU

Page 7: Lec 5 input unit

7

Organization

CPUInput Unit Output UnitALU

Control Unit

Memory Unit

Page 8: Lec 5 input unit

Today’s Class

Page 9: Lec 5 input unit

9

Course Outline

4. Input UnitKeyboard, Mouse, Scanner, OMR, OCR, MICRBarcode readerMicrophoneJoystickDigital CameraLight PenTrack Ball

Page 10: Lec 5 input unit

10

Input unit: Keyboard

• One of the most common input device• Types: There are two types of keyboard- QWERTY • Number of keys: From 102 to 108/110• Function: Primary device for entering text and

numbering

Page 11: Lec 5 input unit

11

Input unit: Keyboard

Page 12: Lec 5 input unit

12

Input unit: Keyboard

• Description: `QWERTY` keyboard

• The name of this keyboard comes from the first 06 alphabets placed at the top

• Keyboard adapter contains `8-bit ASCII code`

• micro- processor sends keystroke through BUS.

Page 13: Lec 5 input unit

13

Keyboard

• There are 06 types of keys:

1. Alphanumeric key2. Modifier key3. Function Key4. Numeric Keypad5. Cursor Movement Key6. Special Purpose Key

Page 14: Lec 5 input unit

14

Input unit: Keyboard

• Description: Alphanumeric keys

• It includes over 50 keys consumes most of the area of keyboard

• Ex-A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z, -,=,+,<,>,$,{,[,},@,$,%,^,& etc

• Besides there are 04 keys whose have special purpose like `TAB,ENTER,CAPSLOCK,BACKSPACE`

Page 15: Lec 5 input unit

15

Input unit: Keyboard

• Description: Modifier keys

• Some keys modifies the input of other keys

• Example: – Shift, – Alt, – Ctrl

• Application: In MS Word if you press (Ctrl and A) immediately then all the written text will be selected. Here alphabet `A` will be modified due to “Ctrl” key.

Page 16: Lec 5 input unit

16

Input unit: Keyboard

• Description: Numeric keypad

• Usually located at the right side of the keyboard like calculator keys

• There is a key called `Num Lock`. When it is off keypad performs as cursor movement

• Example: 1,2,3,4,5,6,7,8,9,0,/,*,.,-,+ etc

Page 17: Lec 5 input unit

17

Input unit: Keyboard

• Description: Function keys

• Located at the top row of the keyboard

• Usually with this we can input command without typing long strings

• Their function varies with the variation of running program

• There are 12 function keys like F1, F2, F3,……..F12

• For almost all programs, F1 = Help

Page 18: Lec 5 input unit

18

Input unit: Keyboard

• Description: Cursor-movement keys

• With the help of these keys we can move the cursor or Insertion point according to our desire

• Example: keys marked with arrows

• Others are: – Page up, Page down, Home,

End

Page 19: Lec 5 input unit

19

Input unit: Keyboard

• Description: Special purpose key

• They are desired to work with `Operating system`

• Example: “Windows logo key” usually used to start windows operating system

• Besides there is another key whose work is as like as ` Right button` of mouse

• Rests are: ESCAPE, INSERT, DELETE, PRINT SCREEN, SCROLL LOCK, PAUSE

Page 20: Lec 5 input unit

20

How keyboard works?

Page 21: Lec 5 input unit

21

How keyboard works?

• It's a complex function, described below-1. Suppose, a key is pressed on keyboard2. The` keyboard controller` sends the scan

code for that key to the `keyboard buffer`3. The keyboard controller sends an

`interrupt` request to the system software4. The `system software` responds to the

interruption.

Page 22: Lec 5 input unit

22

How keyboard works?

5. The system software can read the scan code from keyboard buffer that’s why it can respond.

6. The system software passes the scan code to CPU

7. Then for an input key we can see the output result

Page 23: Lec 5 input unit

23

Continuous pressing of key………..

• There is a standard & specific time to show output for a key ,

• when a key is pressed for more than that time, after a definite time it thinks that the key has pressed again.

• The same steps what it followed starts to follow again. Thus we see the same output consecutively.

Page 24: Lec 5 input unit

24

Input device: Mouse

• A mouse is a `pointing device`

• Used to control the position of the cursor

• There are 02 types of mouse-– Mechanical– Optical

• A standard mouse has 02 buttons and a scroll Mechanical mouse has a ball (also call `ball mouse`) and Optical mouse has 02 light sources

Page 25: Lec 5 input unit

25

Input device: Mouse

Page 26: Lec 5 input unit

26

Input device: Mouse

• Function: – A mechanical mouse has some sensors inside it,

with the help of ball they are touched and moved to change the position of the cursor

– An optical mouse has 2 sensory light sources, the amount of `light reflected` from surface determine the position of X-Y axis in the monitor

Page 27: Lec 5 input unit

27

Other functions of mouse

• Single click: – to select any file or folder

• Double click: – to open an icon/file/folder

• Dragging: (also called Drag-&-drop-editing) – To drag an item and place It in a new position for further

operation• Right click:

– Usually opens a shortcut menu which contains commands and options.

Page 28: Lec 5 input unit

28

Advantages of mouse

1. To select or open any file or folder without using cursor movement key

2. Sometimes to input command without using keyboard

Page 29: Lec 5 input unit

29

Input device: Scanner

• They are mostly used to input printers, photography etc directly inside the computer

• There are three types of scanner-1. Flatbed:

– Large, can't be carried but a large size image can be scanned2. Hand hold:

– Small, can be carried but a large size image can not be scanned3. Sheet fed:

– Used to scan single, ordinary size sheets

Page 30: Lec 5 input unit

30

Input device: Scanner (How it works?)

1. A light source is moved across the page2. The light bounces of the page & is passed through

a lens..3. Light sensitive Diodes convert reflected light into

electric signal.4. Circuit board converts the electric signals into

digital numbers & sends the information to the computers

5. Overall, sensing the intensity of light reflection is important here

Page 31: Lec 5 input unit

31

Colour Scanner

• The colour scanners use filters to separate the components into `Primary additive colours`( RGB- means Red, Green, Blue).

• RGB can be combined to produce any type of other colours.

Page 32: Lec 5 input unit

32

Input device: OCR

• Means `Optical Character Reader`

• Generally it is used in the banks, with the help of OCR the complex process of deposit & withdraw of money can be done easily & quickly

• OCR requires- 01. Specified symbol 02. Specified ink 03. Specified paper

Page 33: Lec 5 input unit

33

Input device: OCR (How it works?)

1. Light ray scan the paper and the light is reflected back

2. Reflected ray is converted into electric signal by light sensitive diodes

3. A circuit board converts the electric signal into digital numbers and send it to CPU

4. CPU taking data calculate it i.e. addition or deduction of numbers and show output

Page 34: Lec 5 input unit

34

Input device: OMR

• Means- `Optical Mark Reader`

• Generally used to examine the objective type questions, also do other functions

• Requires:– Specified paper– Specified ink

• Working procedure is as like as OCR

Page 35: Lec 5 input unit

35

Input device: MICR

• Means- `Magnetic Ink Character Reader`

• This system can read data pre-recorded on checks & deposit slips with a special ferrite-impregnated ink.

• The magnetized character can be read & interpreted by MICR equipment

• Primary means of processing checks

• Can read numeric characters and special symbols printed with magnetic ink

Page 36: Lec 5 input unit

36

Input device: MICR

Requirements:– Cheque routine symbol– Bankers transit number – Customer account number – Cheque number – Cheque account

Page 37: Lec 5 input unit

37

MICR: Advantages

• Human involvement is minimal• Error chance is less• It is fast, automatic and reliable• If there is any mistake, then automatic

detection of error

Page 38: Lec 5 input unit

38

Input device: Barcode reader

• A device for reading barcodes of different width and spacing with same length

• Generally used in the departmental stores & industries to identify goods

• Barcode reader has organized primarily with a light source & a light sensor which connected with the CPU through cable

Page 39: Lec 5 input unit

39

Barcode reader: (How it works?)

• When this machine is on then the ray falls on the printed bar & this light ray is reflected

• This ray is converted into the signals which is understable by the CPU

• Then database examine the incoming data & identify the products

• At last CPU shows result on monitor or print through special printer called `POS printer`

Page 40: Lec 5 input unit

Question...???

Page 41: Lec 5 input unit

Next Class

Page 42: Lec 5 input unit

42

Course Outline

5. Output UnitPrinterMonitorplotterSpeaker

Touch Screen

Page 43: Lec 5 input unit

43

Course Outline

6. Memory UnitDefinitions: Classification

Processor: RegistersPrimary: RAM, ROMSecondary: FDD, HDD, Tape

FDDHDDCDROMDVD ROMChache MemoryVirtual memory

Page 44: Lec 5 input unit

Thank You