Programming Techniques
Download
1 / 7

Programming Techniques Lecture-1 2 nd class Introduction Assistant lecturer: Alza A. Mahmood - PowerPoint PPT Presentation


  • 107 Views
  • Uploaded on

Programming Techniques Lecture-1 2 nd class Introduction Assistant lecturer: Alza A. Mahmood. Introduction. Programming languages are human-engineered languages developed to convey instructions to machines

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Programming Techniques Lecture-1 2 nd class Introduction Assistant lecturer: Alza A. Mahmood' - hazel


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript


Introduction
Introduction

  • Programming languages are human-engineered languages developed to convey instructions to machines

  • Languages arise, are found wanting, and are soon replaced by more clever or more flexible offspring

  • As programs became larger and more sophisticated, developers realized that some language types were easier to support in large systems. This has lead to greater use of objected-oriented and event-driven programming languages.


  • One of the most fundamental ways programming languages are characterize by programming paradigm.

  • A given language is not limited to use of a single paradigm. Java, for example, supports elements of both procedural and object-oriented programming, and it can be used in a concurrent, event-driven way.


Unstructured programming
Unstructured programming

  • Unstructured programming techniques provide tremendous disadvantages once a program gets sufficiently large. For example, if the same statement sequence is needed at different locations within the program, the same sequence of statements must be repeatedly copied to the new locations.


Procedural programming languages
Procedural Programming Languages

  • Each program has a starting state, a list of operations to complete, and an ending point. This approach is also known as imperative programming.

  • Procedures, also known as functions, subroutines, or methods, are small sections of code that perform a particular function.

  • By splitting the programmatic tasks into small pieces, procedural programming allows a section of code to be re-used in the program without making multiple copies.


Object oriented programming
Object-oriented programming

  • Object-oriented programming is one the newest and most powerful paradigms.

  • This pairing of a piece of data with the operations that can be performed on it is known as an object


Other paradigms
Other Paradigms

  • Concurrent programming provides for multiple computations running at once. This often means support for multiple threads of program execution.

  • Functional programming languages define subroutines and programs as mathematical functions

  • Event-driven programming is a paradigm where the program flow is determined by user actions.


ad