Module 1
Module 1
Introduction to C:
Content
Introduction to computers
input and output devices
designing efficient programs.
Introduction to C
Structure of C program
Files used in a C program,
Compilers,
Compiling and executing C programs,
variables,
constants,
Input/output statements in C
Introduction to computers
2.1.Input Devices
1.Keyboard
2.Pointing Devices
3.Handheld Devices
4.Optical Devices
5.Audiovisual Input Devices
2.2.Output Devices
1.Soft Copy Devices
2.Hard Copy Devices
2.1 Input devices
Keyboard
Pointing Devices
Handheld devices
Optical devices
Audiovisual input devices
2.1 Input devices
• 1:Keyboard:The keyboard is the main input device for
computers
• Using a keyboard, the user can type a document, use keystroke
following
1) Typing keys
2) Numeric keys
3) Function keys
4) Control keys
2.1 Input devices
2.1 Input devices
2:Pointing Devices: Example- Mouse,Trackball,Touchpad
Mouse:
The mouse is an input device that was invented in 1963.
Mechanical mouse
Optical mouse
Cordless mouse/wire
less
Trackball:It is a pointing device. It is similar to a mouse.
This is mainly used in notebook or laptop computer, instead of
a mouse.
This is a ball which is half inserted, and by changing fingers
on the ball, the pointer can be moved.
The user rolls the ball with their thumb, fingers or the palm of
their hand to move a cursor without moving their arm.
Touchpad:A touchpad is a small,flat, rectangular stationary
pointing device with a sensitive surface of 1.5-2 square inches.
User has t slide his or her fingertips across the surface of the
pad to point to a specific object on the screen
Input devices
3:Handheld devices: Example
Joystick
Stylus
touchscreen
4:Optical devices:
Example: Barcode Reader, Image scanner, OCR device and
OMR Device
4:Audiovisual input devices
Audio devices,Video input devices are Examples of
Audiovisual input devices
2.2 Output devices
Soft copy devices
Hard copy devices
pseudocodes
Types of errors
Testing and debugging approaches