c prog. - introduction to hardware, software, algorithm & flowchart
TRANSCRIPT
C Programming- Hardware, Software,
Algorithm, Flowchart
Organized By: Vinay Arora
Assistant Professor, CSED
Thapar University, Patiala
Vinay Arora
TU, CSED
Disclaimer
This is NOT A COPYRIGHT MATERIAL
Content has been taken mainly from the following books & websites:
Computer Graphics C Version By Donald Hearn, M. Pauline BakerSchaum's outline of theory and problems of computer graphics By Zhigang Xiang, Roy A. Plastock
Computer Graphics: Principles and Practice By James D. Foley
http://en.wikipedia.org/wiki/Computer_graphics
http://www.howstuffworks.com/3dgraphics.htm
http://www.graphics.cornell.edu/online/tutorial/
http://www.cgarena.com/
etc…
Vinay Arora
TU, CSED
Display Devices
� A Display Device is an Output device for presentation of Information for Visual reception.
� The Display Systems are often referred to as Video Monitor or Video Display Unit (VDU).
� Display Devices having CRT:-
DVST – Direct View Storage Tube
Random Scan
Raster Scan
Vinay Arora
TU, CSED
Computer Monitor - External View
Vinay Arora
TU, CSED
Brands of CRT
Vinay Arora
TU, CSED
Input Devices
� Keyboard
� Mouse
� Trackball
� Joystick
� Data Glove
� Digitizer
� Image Scanner
� Touch Panel
� Light Pen
� Voice System
Vinay Arora
TU, CSED
Keyboard (Virtual)
Vinay Arora
TU, CSED
Keyboard (Foldable)
Vinay Arora
TU, CSED
Keyboard (Foldable)
Vinay Arora
TU, CSED
Mouse (Ring Optical)
Vinay Arora
TU, CSED
Mouse
Vinay Arora
TU, CSED
Wire Free Keyboard/Mouse
Vinay Arora
TU, CSED
Trackball – In Mouse
Vinay Arora
TU, CSED
Trackball – In Mobiles
Vinay Arora
TU, CSED
Trackball – In Remote Controls
Vinay Arora
TU, CSED
Joystick
Vinay Arora
TU, CSED
Data Glove
Vinay Arora
TU, CSED
Data Glove
Vinay Arora
TU, CSED
Image Scanner/ Scanner
Vinay Arora
TU, CSED
Touch Panel
Vinay Arora
TU, CSED
Touch Panel
Vinay Arora
TU, CSED
Output Devices/Hardcopy Devices
� Dot Matrix Printer
� Laser Printer
� Plotter
Vinay Arora
TU, CSED
Dot Matrix Printer
Vinay Arora
TU, CSED
Laser Printer
Vinay Arora
TU, CSED
Plotter
Vinay Arora
TU, CSED
Algorithm & Flowchart
� A sequence of instructions is called an Algorithm.
� Algorithms are a fundamental part of computing.
� There are two commonly used tools to help to document program logic
(the algorithm).
� These are Flowcharts and Pseudocode.
Vinay Arora
TU, CSED
Program
Vinay Arora
TU, CSED
Algorithm
Vinay Arora
TU, CSED
Algorithm – Example (Largest among 3 no.)
Vinay Arora
TU, CSED
Flowchart Symbol
Vinay Arora
TU, CSED
Flowchart Symbol (contd.)
Vinay Arora
TU, CSED
Flowchart Symbol (contd.)
Vinay Arora
TU, CSED
Advantages
Vinay Arora
TU, CSED
Drawbacks
Vinay Arora
TU, CSED
Sequence Control Structure
Vinay Arora
TU, CSED
Flowchart & Pseudocode
Vinay Arora
TU, CSED
Selection Control Structure
Vinay Arora
TU, CSED
Repetition Control Structure
Vinay Arora
TU, CSED
Flowchart & Pseudocode
Vinay Arora
TU, CSED
Flowchart - example
Vinay Arora
TU, CSED
Flowchart - example
Vinay Arora
TU, CSED
Flowchart - example
Vinay Arora
TU, CSED
Thnx…