http://www.youtube.com/watch?v=AGPhXrc78Jg
 
LA 5 - PROGRAMMING 5.1 Basic Programming Concepts Prepared by: Norhasimah Mohamed, SMK Sungai Pusu, Gombak Selangor. 18032...
Learning Outcomes <ul><li>State the definition of  program . </li></ul><ul><li>State the definition of  programming langua...
Definition of Program <ul><li>A computer program is a series of organised instructions that directs a computer to perform ...
Definition of  Programming Language <ul><li>A programming language is a set of words, symbols and codes that enables human...
Example of  Programming Languages <ul><li>Hundreds of programming languages exist today. Each language has its own standar...
 
 
Generations of  programming languages
Levels of Programming Language
Task <ul><li>Work in group and collect information about generations of programming language. </li></ul><ul><li>First gene...
Learning Outcomes <ul><li>5.1.3 Programming Language Approaches </li></ul><ul><li>5.1.3.1 Define Structured Approach in pr...
STRUCTURED PROGRAMMING <ul><li>often uses a top-down design model where developers map out the overall program structure i...
STRUCTURED PROGRAMMING <ul><li>Structured programming is beneficial for organising and coding computer programs which empl...
OBJECT-ORIENTED PROGRAMMING <ul><li>The object-oriented approach refers to a special type of programming approach that com...
OBJECT-ORIENTED PROGRAMMING <ul><li>In an object-oriented program, the object have relationships with one another. </li></...
DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING <ul><li>Structured programming often uses a top-down design ...
QUIZ <ul><li>“ A series of organised instructions that directs a computer to perform tasks.” </li></ul><ul><li>Above state...
QUIZ <ul><li>“ A set of words, symbols and codes that enables humans to communicate with computers.” </li></ul><ul><li>Abo...
Generations of  programming languages 1 st  generation :  eg:_________________ 2 nd   generation :  eg:_________________ 3...
DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING <ul><li>Structured programming </li></ul><ul><li>Object-orie...
Upcoming SlideShare
Loading in …5
×

La 5 Programming1

2,935 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
2,935
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
116
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

La 5 Programming1

  1. 1. http://www.youtube.com/watch?v=AGPhXrc78Jg
  2. 3. LA 5 - PROGRAMMING 5.1 Basic Programming Concepts Prepared by: Norhasimah Mohamed, SMK Sungai Pusu, Gombak Selangor. 18032008
  3. 4. Learning Outcomes <ul><li>State the definition of program . </li></ul><ul><li>State the definition of programming language. </li></ul><ul><li>Identify the generations of low-level programming languages with examples. </li></ul><ul><li>Identify the generations of high-level programming languages with examples. </li></ul>
  4. 5. Definition of Program <ul><li>A computer program is a series of organised instructions that directs a computer to perform tasks. </li></ul>
  5. 6. Definition of Programming Language <ul><li>A programming language is a set of words, symbols and codes that enables humans to communicate with computers. </li></ul>
  6. 7. Example of Programming Languages <ul><li>Hundreds of programming languages exist today. Each language has its own standard or rules for writing the commands and/or instructions. </li></ul><ul><li>Examples of programming languages are: </li></ul><ul><ul><li>BASIC (Beginner’s All Purpose Symbolic Instruction Code) </li></ul></ul><ul><ul><li>Pascal </li></ul></ul><ul><ul><li>C </li></ul></ul><ul><ul><li>Smalltalk </li></ul></ul>
  7. 10. Generations of programming languages
  8. 11. Levels of Programming Language
  9. 12. Task <ul><li>Work in group and collect information about generations of programming language. </li></ul><ul><li>First generation of programming language </li></ul><ul><li>Second generation of programming language </li></ul><ul><li>Third generation of programming language </li></ul><ul><li>Fourth generation of programming language </li></ul><ul><li>Fifth generation of programming language </li></ul><ul><li>** Presentation on 01/04/2008 </li></ul><ul><li>must include example and explanation of generations of programming language. </li></ul>
  10. 13. Learning Outcomes <ul><li>5.1.3 Programming Language Approaches </li></ul><ul><li>5.1.3.1 Define Structured Approach in programming. </li></ul><ul><li>5.1.3.2 Define object-oriented approach in Programming. </li></ul><ul><li>5.1.3.3 Differentiate between structured approach and object-oriented approach in programming. </li></ul>01042008
  11. 14. STRUCTURED PROGRAMMING <ul><li>often uses a top-down design model where developers map out the overall program structure into separate subsections from top to bottom. </li></ul><ul><li>In the top-down design model, programs are drawn as rectangles. </li></ul><ul><li>A top-down design means that the whole program is broken down into smaller sections that are known as modules. </li></ul><ul><li>A program may have a module or several modules. </li></ul>
  12. 15. STRUCTURED PROGRAMMING <ul><li>Structured programming is beneficial for organising and coding computer programs which employ a hierarchy of modules. This means that control is passed downwards only through the hierarchy. </li></ul><ul><li>Examples of structured programming languages include Ada, Pascal and Fortran. </li></ul>
  13. 16. OBJECT-ORIENTED PROGRAMMING <ul><li>The object-oriented approach refers to a special type of programming approach that combines data with functions to create objects. </li></ul>
  14. 17. OBJECT-ORIENTED PROGRAMMING <ul><li>In an object-oriented program, the object have relationships with one another. </li></ul><ul><li>One of the earliest OOP languages is Smalltalk. Java, Visual Basic and C++ are examples of popular OOP languages. </li></ul>
  15. 18. DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING <ul><li>Structured programming often uses a top-down design model. </li></ul><ul><li>The object-oriented programming approach uses objects. </li></ul>
  16. 19. QUIZ <ul><li>“ A series of organised instructions that directs a computer to perform tasks.” </li></ul><ul><li>Above statement refers to definition of _______________. </li></ul>Computer program/ Program
  17. 20. QUIZ <ul><li>“ A set of words, symbols and codes that enables humans to communicate with computers.” </li></ul><ul><li>Above statement refers to definition of ___________________. </li></ul>Programming Language
  18. 21. Generations of programming languages 1 st generation : eg:_________________ 2 nd generation : eg:_________________ 3 rd generation : eg:_________________ 4 rd generation : eg:_________________ 5 th generation : eg:_________________ Prolog, Mercury Assembly Language COBOL, Pascal, C++ SQL Machine Language
  19. 22. DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING <ul><li>Structured programming </li></ul><ul><li>Object-oriented programming </li></ul><ul><li>Used top down design model </li></ul><ul><li>Example : ADA, Pascal, Fotran </li></ul><ul><li>Used a objects </li></ul><ul><li>special type of programming approach that combines data with functions to create objects </li></ul><ul><li>Example : C++, Visual Basic </li></ul>

×