SlideServe
Menu
Préférences
© SlideServe · v2026

Exploring Programming Languages: Ada Introduction & Language Advantages

quentin-christensen avatar
12 diapositives · 246 Views · Nov 08, 2014

This lecture outlines an introduction to Ada programming, discussing the benefits of learning a new computer language, reasons for language diversity, and the importance of using multiple languages in projects. Includes comparisons with Java and procedural programming concepts.

Exploring Programming Languages: Ada Introduction & Language Advantages - slide 1
01 / 12Exploring Programming Languages: Ada Introduction & Language Advantages
1 / 17

Télécharger la présentation

Exploring Programming Languages: Ada Introduction & Language Advantages
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. ITEC 320 Procedural Programming Dr. Ray Lecture 1

  2. Outline • Welcome • Intro to the course • Ada

  3. Introduction • On a scale of 1 to 10, how interested are you in learning a different language? • How many lines of code did you write for the largest program you’ve worked on? • What do you want to learn in this course? • Share with your neighbor • Introduce yourselves and answers to the class

  4. Languages • What advantages are there to learning a new computer language? • What are the some of the reasons for learning a new language? • Why is this important? • Objective C example

  5. 1970s • The era of… • Multiple languages used at the DOD… • What are some of the problems with using multiple languages? • What happens when you use multiple languages for one project?

  6. Solution • Design competition

  7. Result • Procedural / OO mixed language • Multi-threaded / generics • Reliability and maintenance • Readability over writability $line =~ /.{28}(\d\d)-(\d\d)-(\d\d).{8}(.+)$/

  8. Differences public class HelloWorld { public static void main(String[] args) { int x; x=3; System.out.println(x); } } Java with ada.text_io; with ada.integer_text_io; procedure hello1 is x: Integer; begin x := 3; ada.text_io.put_line("Hello World"); ada.integer_text_io.put(x); end hello1; Ada

  9. First impressions • What are your thoughts on what you just saw? with ada.text_io; with ada.integer_text_io; procedure hello1 is x: Integer; begin x := 3; ada.text_io.put_line("Hello World"); ada.integer_text_io.put(x); end hello1;

  10. How to make it work • Write / Compile / Execute cycle • Editors • vi filename.adb • Compiler • gnatmake filename • Execution • filename or ./filename (Mac)

  11. Will be mirroring Dr. Okie’s section Syllabus • MWF Lectures • Office Hours 10:00 AM M-F • Website • D2L for submission • Projects • Homework • Exams

  12. Summary • Short day • History of ADA • Basics of the language • Introductory comparison of the languages