SlideShare una empresa de Scribd logo
1 de 43
Descargar para leer sin conexión
C Programming- Hardware, Software,
       Algorithm, Flowchart

  Organized By: Vinay Arora
                 Assistant Professor, CSED
                 Thapar University, Patiala
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
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…



  Vinay Arora
  TU, CSED

Más contenido relacionado

Más de vinay arora (20)

Search engine and web crawler
Search engine and web crawlerSearch engine and web crawler
Search engine and web crawler
 
Use case diagram (airport)
Use case diagram (airport)Use case diagram (airport)
Use case diagram (airport)
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Lab exercise questions (AD & CD)
Lab exercise questions (AD & CD)Lab exercise questions (AD & CD)
Lab exercise questions (AD & CD)
 
SEM - UML (1st case study)
SEM - UML (1st case study)SEM - UML (1st case study)
SEM - UML (1st case study)
 
6 java - loop
6  java - loop6  java - loop
6 java - loop
 
4 java - decision
4  java - decision4  java - decision
4 java - decision
 
3 java - variable type
3  java - variable type3  java - variable type
3 java - variable type
 
2 java - operators
2  java - operators2  java - operators
2 java - operators
 
1 java - data type
1  java - data type1  java - data type
1 java - data type
 
Uta005 lecture3
Uta005 lecture3Uta005 lecture3
Uta005 lecture3
 
Uta005 lecture1
Uta005 lecture1Uta005 lecture1
Uta005 lecture1
 
Uta005 lecture2
Uta005 lecture2Uta005 lecture2
Uta005 lecture2
 
Security & Protection
Security & ProtectionSecurity & Protection
Security & Protection
 
Process Synchronization
Process SynchronizationProcess Synchronization
Process Synchronization
 
CG - Output Primitives
CG - Output PrimitivesCG - Output Primitives
CG - Output Primitives
 
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
 
A&D - UML
A&D - UMLA&D - UML
A&D - UML
 
A&D - Object Oriented Design using UML
A&D - Object Oriented Design using UMLA&D - Object Oriented Design using UML
A&D - Object Oriented Design using UML
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

C Prog. - Introduction to Hardware, Software, Algorithm & Flowchart