This document discusses C programming and computer graphics. It covers hardware components like display devices (CRT, LCD), input devices (keyboard, mouse, trackball, joystick), and output devices (dot matrix printer, laser printer, plotter). It also discusses algorithms, flowcharts, and different control structures in programming like sequence, selection, and repetition. Flowcharts are used to document the program logic and algorithm. Examples of algorithms and flowcharts for problems like finding the largest of three numbers are included.
C Prog. - Introduction to Hardware, Software, Algorithm & Flowchart
1. C Programming- Hardware, Software,
Algorithm, Flowchart
Organized By: Vinay Arora
Assistant Professor, CSED
Thapar University, Patiala
2. 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 Baker
Schaum'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
3. 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
26. 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