KEMBAR78
Programming Concepts 01 | PDF
Programming concepts




    Fady Mohammed Osman
 
    Mail: Fady_moa@yahoo.com
                
Programming concepts
       What is a computer program??
       Program structure.
       Variables declaration.
       Comparision Operators.
       Flow control.
       Iterative statements (loops).
       Functions.
       Event­driven or non Event­driven.
                                  

       Generic or special­purpose.
What is computer program?

       Computer program is collections of instructions 
        that tell a computer how to interact with the user 
        interact with the computer hardware and 
        process data.




                                
Program structure

       Statements to establish the start of the program .
       Variable declaration.
       Program statements.




                                 
Variables

           Variables are places for holding data in 
             memory.
           Types of variables:
           Integer.
           Real(float).
           Characters.
           Strings.

                                    
Comparision and logical 
                 operators
       Comaparision (equal ,greater than,less than,not 
        equal).
       Logical (and,or,not).




                                 
Control flow

       If (condition).
       (statements).
       Else.
       (statements).




                                 
Iterative statements

       Used to repeate a section of code for certain 
        amount of times.




                                
Functions

       simply contain a series of computational steps 
        to be carried out. Any given procedure might be 
        called at any point during a program's 
        execution, including by other procedures or 
        itself.




                               
Event­driven and non event­
                    driven
       What is the difference??
       Examples of events:
       Program load.
       mouse click.
       Key press.
       Program end.


                               
Generic or special purpose??

       Generic or general purpose programming 
        language.
       Special purpose:
         ­SQL.
         ­Markup languages (HTML,XML).




                              
Useful sites

       Programming concepts:
➢       http://cisnet.baruch.cuny.edu/holowczak/classes/
        programming/
       Language categories:
➢       http://en.citizendium.org/wiki/Programming_langu
        age
       Programming language comparison:
➢       http://en.wikipedia.org/wiki/Comparison_of_progr
        amming_languages          

Programming Concepts 01

  • 1.
    Programming concepts Fady Mohammed Osman   Mail: Fady_moa@yahoo.com  
  • 2.
    Programming concepts  What is a computer program??  Program structure.  Variables declaration.  Comparision Operators.  Flow control.  Iterative statements (loops).  Functions.  Event­driven or non Event­driven.      Generic or special­purpose.
  • 3.
    What is computer program?  Computer program is collections of instructions  that tell a computer how to interact with the user  interact with the computer hardware and  process data.    
  • 4.
    Program structure  Statements to establish the start of the program .  Variable declaration.  Program statements.    
  • 5.
    Variables  Variables are places for holding data in  memory.  Types of variables:  Integer.  Real(float).  Characters.  Strings.    
  • 6.
    Comparision and logical  operators  Comaparision (equal ,greater than,less than,not  equal).  Logical (and,or,not).    
  • 7.
    Control flow  If (condition).  (statements).  Else.  (statements).    
  • 8.
    Iterative statements  Used to repeate a section of code for certain  amount of times.    
  • 9.
    Functions  simply contain a series of computational steps  to be carried out. Any given procedure might be  called at any point during a program's  execution, including by other procedures or  itself.    
  • 10.
    Event­driven and non event­ driven  What is the difference??  Examples of events:  Program load.  mouse click.  Key press.  Program end.    
  • 11.
    Generic or special purpose??  Generic or general purpose programming  language.  Special purpose:  ­SQL.  ­Markup languages (HTML,XML).    
  • 12.
    Useful sites  Programming concepts: ➢ http://cisnet.baruch.cuny.edu/holowczak/classes/ programming/  Language categories: ➢ http://en.citizendium.org/wiki/Programming_langu age  Programming language comparison: ➢ http://en.wikipedia.org/wiki/Comparison_of_progr   amming_languages