Your SlideShare is downloading. ×
LA5_Generation of Programming Languages
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

LA5_Generation of Programming Languages

1,061

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
1,061
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
53
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Learning Outcomes
    • 5.1.3 Programming Language Approaches
    • 5.1.3.1 Define Structured Approach in programming.
    • 5.1.3.2 Define object-oriented approach in Programming.
    • 5.1.3.3 Differentiate between structured approach and object-oriented approach in programming.
    Prepared by: Norhasimah Mohamed, SMK Sungai Pusu, Gombak Selangor. 04042008
  • 2. STRUCTURED PROGRAMMING
    • often uses a top-down design model where developers map out the overall program structure into separate subsections from top to bottom.
    • In the top-down design model, programs are drawn as rectangles.
    • A top-down design means that the whole program is broken down into smaller sections that are known as modules.
    • A program may have a module or several modules.
  • 3. STRUCTURED PROGRAMMING
    • 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.
    • Examples of structured programming languages include Ada, Pascal and Fortran.
  • 4. OBJECT-ORIENTED PROGRAMMING
    • The object-oriented approach refers to a special type of programming approach that combines data with functions to create objects.
  • 5. OBJECT-ORIENTED PROGRAMMING
    • In an object-oriented program, the object have relationships with one another.
    • One of the earliest OOP languages is Smalltalk. Java, Visual Basic and C++ are examples of popular OOP languages.
  • 6. DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING
    • Structured programming often uses a top-down design model.
    • The object-oriented programming approach uses objects.
  • 7. QUIZ
    • “ A series of organised instructions that directs a computer to perform tasks.”
    • Above statement refers to definition of _______________.
    Computer program/ Program
  • 8. QUIZ
    • “ A set of words, symbols and codes that enables humans to communicate with computers.”
    • Above statement refers to definition of ___________________.
    Programming Language
  • 9. 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
  • 10. DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING
    • Structured programming
    • Object-oriented programming
    • Used top down design model
    • Example : ADA, Pascal, Fotran
    • Used a objects
    • special type of programming approach that combines data with functions to create objects
    • Example : C++, Visual Basic

×