SlideServe
Menu
Préférences
© SlideServe · v2026

Programming Languages and Program Development

davin avatar
16 diapositives · 367 Views · Aug 30, 2014

Programming Languages and Program Development. Chapt. 10. What’s a Program?. A set of instructions -- that lead to the accomplishment of an objective. Compilers and Interpreters. Interpreter Converts small program units (lines of code) into object code then executes them individually.

Programming Languages and Program Development - slide 1
01 / 16Programming Languages and Program Development
1 / 17

Télécharger la présentation

Programming Languages and Program Development
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Programming Languages andProgram Development Chapt. 10

  2. What’s a Program? A set of instructions -- that lead to the accomplishment of an objective.

  3. Compilers and Interpreters Interpreter Converts small program units (lines of code) into object code then executes them individually Compiler Converts entire program into object code prior to Execution.

  4. Language Categories • Low-Level • Machine • Assembly Problems?

  5. Procedural Languages (3GL)English-like Instructions FORTRAN COBOL C BASIC

  6. Object-Oriented Programming (OOP) Languages • C++ #include "stdafx.h" #include <iostream> using namespace std; int main( )  { cout << "Hello World“<<endl;      return 0; } • Java public class TextDemo {         public static void main(String[] args)       { System.out.println("Hello, Welcome to Java programming") } } OR import javax.swing.JOptionPane;  //for the GUI definitionspublic class WelcomeMessageDialogBox{    public static void main(String[] args)    {JOptionPane.showMessageDialog(null, "Hello, Welcome to Java programming","GUI Programming Sample",JOptionPane.INFORMATION_MESSAGE);    }}

  7. Integrated Development EnvironmentsRapid Application Development (RAD) Visual Studio Microsoft Delphi Borland PowerBuilder Sybase

  8. Specialty Languages • RPG– Report Generator • Logo – Graphics and audio • Macros – Recorder or VBA

  9. Web Development • Applets and Script • HTML (DHTML, XMX, etc.) • Java script, Perl, PHP, etc. • Servlet -

  10. Program Development Cycle • Analysis – “can we get there from here?” (feasibility study) • Design – “how do we get there from here?” • Structured design vs. object design • IPO • Hierarchy charts • Flowcharts and pseudocode

  11. Program Design Tools • Hierarchy Charts – module development and process organization • Control structure – control the task sequence • Sequential – • Selection – • if – else – binary selection • case – multiple option selection

  12. Program Design Tools (cont’d) • Repetition Control • do – while – the condition is before the action • do – until - the condition is after the action • Flow chart – symbols represent actions • Rectangle – a general process • Parallelogram – input and output • Diamond - decision • Arrows – data or process flow • Oval – terminal – the end (beginning) of a program sequence Sample flowchart

  13. Development Cycle (contd.) • Validate – “are you sure that is the best way to go?” • Desk Check • Implement – “take the trip.” • Create the code

  14. Development Cycle (contd.) • Test and Validate – “are we there yet?” • Check results against known values • Parallel processing • Document – “take the pictures and write the post cards!!” • Internal documentation • External documentation

  15. Summary • Program • Compiler vs. Interpreter • Programming Languages • Low-level • Procedural • OOP • Web development • Special use

  16. Summary (part dux) • Program Development Cycle • Analysis • Design • Validate • Implement • Test and Validate • Document