Programming concepts




    Fady Mohammed Osman
 
    Mail: Fady_moa@yahoo.com
                
Programming concepts
       What is a computer program??
       Program structure.
       Variables declaration.
     ...
What is computer program?

       Computer program is collections of instructions 
        that tell a computer how to in...
Program structure

       Statements to establish the start of the program .
       Variable declaration.
       Progra...
Variables

           Variables are places for holding data in 
             memory.
           Types of variables:
    ...
Comparision and logical 
                 operators
       Comaparision (equal ,greater than,less than,not 
        equal...
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...
Event­driven and non event­
                    driven
       What is the difference??
       Examples of events:
     ...
Generic or special purpose??

       Generic or general purpose programming 
        language.
       Special purpose:
 ...
Useful sites

       Programming concepts:
➢       http://cisnet.baruch.cuny.edu/holowczak/classes/
        programming/
...
Upcoming SlideShare
Loading in …5
×

Programming Concepts 01

986 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
986
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Programming Concepts 01

  1. 1. Programming concepts Fady Mohammed Osman   Mail: Fady_moa@yahoo.com  
  2. 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. 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. 4. Program structure  Statements to establish the start of the program .  Variable declaration.  Program statements.    
  5. 5. Variables  Variables are places for holding data in  memory.  Types of variables:  Integer.  Real(float).  Characters.  Strings.    
  6. 6. Comparision and logical  operators  Comaparision (equal ,greater than,less than,not  equal).  Logical (and,or,not).    
  7. 7. Control flow  If (condition).  (statements).  Else.  (statements).    
  8. 8. Iterative statements  Used to repeate a section of code for certain  amount of times.    
  9. 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. 10. Event­driven and non event­ driven  What is the difference??  Examples of events:  Program load.  mouse click.  Key press.  Program end.    
  11. 11. Generic or special purpose??  Generic or general purpose programming  language.  Special purpose:  ­SQL.  ­Markup languages (HTML,XML).    
  12. 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  

×