Describe the application and limits of procedural, object orientated and event driven programming. 

Slides:



Advertisements
Similar presentations
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
Advertisements

Software Development Languages and Environments. Programming languages High level languages are problem orientated contain many English words are easier.
Programming Paradigms and languages
Unit 6 Assignment 2 Chris Boardley.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
Interpret Application Specifications
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Automated Testing Nathan Weiss April 23, Overview History of Testing Advantages to Automated Testing Types of Automated Testing Automated Testing.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Software Development Unit 6.
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
Software design and development Marcus Hunt. Application and limits of procedural programming Procedural programming is a powerful language, typically.
Unit Six Assignment 1 Chris Boardley.
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 11 Slide 1 Architectural Design.
BTEc unit 12 software development
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
TC2-Computer Literacy Mr. Sencer February 8, 2010.
ProgrammingLanguages Programming Languages Event-Driven Visual Programming Languages This lecture discusses the basic concepts of the event-driven programming.
The Design Discipline.
Unit 20: Event Driven Programming
1 Software Development Topic 2 Software Development Languages and Environments.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 10 Architectural Design.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Event Driven Programming
Graphical User Interfaces
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
CS101 Introduction to Computing Lecture Programming Languages.
Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 01 Introduction to Computer Programming.
1 2. Program Construction in Java Programming Fundamentals.
Testing Methods Carl Smith National Certificate Year 2 – Unit 4.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Chapter 1 Program design Objectives To describe the steps in the program development process To introduce the current program design methodology To introduce.
Principles of Software Development 1 Principles Of Software Design and Development Types of language / Choosing a language.
Code Development Code development for end user systems.
E.g.: MS-DOS interface. DIR C: /W /A:D will list all the directories in the root directory of drive C in wide list format. Disadvantage is that commands.
ITGS Application Software, pt. 3. ITGS Business Software Alliance (BSA) and Federation Against Software Theft (FAST) –Represent software companies and.
CS 3050 Object-Oriented Analysis and Design. Objectives What is “Object-Oriented?” Object-Oriented Approach Vs. Structured Approach How Has the Object-Oriented.
Task 1-Language Choice By Joshua Wild.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
CSIT 220 (Blum)1 Remote Procedure Calls Based on Chapter 38 in Computer Networks and Internets, Comer.
This is a personal evaluation that was carried out after the completion of my project one and two. The next slide shows the summary of the key points.
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Procedural programming Procedural programming is where you specify the steps required. You do this by making the program in steps. Procedural programming.
Slide 1 Chapter 8 Architectural Design. Slide 2 Topics covered l System structuring l Control models l Modular decomposition l Domain-specific architectures.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
1 Programming and problem solving in C, Maxima, and Excel.
DOCUMENTATION REF: Essentials of IT (Hamilton et al) Chapter 1.
High-level language programming paradigms. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
Dr D. Greer, Queens University Belfast ) Software Engineering Chapter 7 Software Architectural Design Learning Outcomes Understand.
Algorithms and Flowcharts
Design f. describe a design specification including input design, diagrammatic depiction of the overall system, processing, data structure design and output.
Unit 2 Technology Systems
Event-driven programming
Unit 20: Event Driven Programming
Teaching Computing to GCSE
Event Driven Programming
Unit 6 Assignment 2 Chris Boardley.
Software, O/S & Interfaces
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Event loops.
Chapter 3 Software.
Presentation transcript:

Describe the application and limits of procedural, object orientated and event driven programming. 

The applications of procedural programming. Procedural programming languages breaks up the programming task into a number of procedures (also sub-routines or functions). Each procedure carries out a specific task and is called from the main program. The procedural approach is relatively easy to understand and is therefore often used when first learning programming. It is also suitable for systems that are fairly straightforward and don’t involve many different interacting sub-systems. Procedural programming is specific to calculating scientific and engineering uses. It is used for calculations. It consists of a fluid movement throughout the program as it runs. This is great for straightforward systems which don’t involve many different interacting sub-systems. An example of a procedural programming language is C, Pascal and PHP.

The limitations of procedural programming There are limitations to what you can do with procedural programming. When you are using procedural programming you do not have much flexibility with it. It has to be one straight programming with calculations done precisely. Procedural programming is tightly packed. What I mean is without one line of code the program will not work. If you are to change part of the program you will need to change other parts in order for it to work correctly. Another limitation is that procedural programming will eventually become lots of lines of code that can be confusing to go through. If there is a bug in the program it will take awhile to go through the lines of code to find the problem.

Object-orientated programming. The applications of , Object-orientated programming. Object-orientated programming takes a different approach to the structure of a complex program. This type of programming was created in response to the difficulties to creating highly complex systems. An example of object-orientated programming is Ruby, smalltalk and python. What object-orientated is mainly used for is user interface design, real time systems and object orientated database. In object-orientated programming, the programmer uses objects rather than procedures. This helps to make complex programs more easy to program.

Limitations to object-orientated programming. With object-orientated programming, it has a steep learning curve. It can take time to get use to. It is also complex to create programs based on interaction of objects. Object-orientated programming limits the programs you can write , this is be cause not all programs can be modelled accurately by the objects model. Object orientated programming typically involves more lines of code than procedural. As well as this , it makes the program become slower , as they require more instructions to be executed

Applications of event-driven programming. Another application of event-driven programming is that it is useful for GUI programs One key upside of using event-driven programming is that it can be written in almost any programming language as it is a style of programming which splits the program into handles which are triggered when an input is made. The flow of event-driven programming can be seen as random. What I mean by this is that it is usually less logical Event- driven is also used in operating systems and internet browser software. This is because event driven works with inputs and objects , using event driven for these will be the best type of programming to use. Event driven programming is widely used in almost all windows programs. This is because windows programs will wait for your input in order to do something.

Disadvantages of event-driven programming. A disadvantage of using event driven can also be seen as an advantage. Using event-driven for GUI programs. The reason this could be a disadvantage is because it is only useful for GUI programming. If a company trained their employees in event driven but they are not using GUI programs, This would not allow the employees to work as the programming type they are using is not compatible with the programs they are making Event-driven programming is a hard to understand and master how it works. Unlike procedural programming where calculations are used to make it work, event driven is less obvious in how it works. Event driven is not useful for commercial programs as they require data processing which event driven programming isn't used for.