SlideServe
Menu
Préférences
© SlideServe · v2026

Programming Methodology (1)

mattox avatar
37 diapositives · 561 Views · Sep 26, 2014

Programming Methodology (1). MODULE TEAM. Dr Aaron Kans. Dr Sin Wee Lee. Recommended Text. Software and Programming. public class Game { Car f1; f1.spin(); }. The set of instructions that tells a computer what to do is called a program. public class Game { Car f1;

Programming Methodology (1) - slide 1
01 / 37Programming Methodology (1)
1 / 17

Télécharger la présentation

Programming Methodology (1)
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 Methodology (1)

  2. MODULE TEAM

  3. Dr Aaron Kans Dr Sin Wee Lee

  4. Recommended Text

  5. Software and Programming

  6. public class Game { Car f1; f1.spin(); } The set of instructions that tells a computer what to do is called a program

  7. public class Game { Car f1; f1.spin(); } Software is the name given to a single program or a set of programs.

  8. Application software is the name given to useful programs that a user might need.

  9. System software is the name given to special programs that help the computer to do its job.

  10. public class Game { Car f1; f1.spin(); } Programming is the task of writing instructions for the computer

  11. public class Game { Car f1; f1.spin(); } These instructions have to be written in a special programming language.

  12. public class Game { Car f1; f1.spin(); } Examples include: C++, Visual Basic, Pascal, Java. Examples include: C++, Visual Basic, Pascal, Java.

  13. public class Game { Car f1; f1.spin(); } Examples include: C++, Visual Basic, Pascal, Java.

  14. Compiling Programs

  15. Programmer machine code COMPILER program (source) code Program user 00111110 11010010 11110010 01010110 if (words > MAX) { System.out.print(); }

  16. Programmer machine code PC COMPILER program (source) code PC user 00111110 11010010 11110010 01010110 if (words > MAX) { System.out.print(); }

  17. Programmer machine code MAC COMPILER program (source) code MAC user 11001110 00110000 00100101 11100100 if (words > MAX) { System.out.print(); }

  18. Java Programming

  19. Java Programmer Java byte code 11110011 00001101 01010111 10000101 JAVA COMPILER program code JVM 00111110 11010010 11110010 01010110 10011001 00011111 01010111 11100000 01100011 11111000 10101100 10001001 if (words > MAX) {System.out.print(); }

  20. The TIOBE Programming Index (http://www.tiobe.com)

  21. Your first program

  22. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public static void main(String[] args) { } System.out.println("Hello world");

  23. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public Static void main(String[] args) { System.out.println("Hello world");

  24. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public Static void main(String[] args) { System.out.println("Hello world");

  25. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public Static void main(String[] args) { System.out.println("Hello world");

  26. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public static void main(String[] args) { System.out.println("Hello world");

  27. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public static void main(String[] args) { System.out.println("Hello world");

  28. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public static void main(String[] args) { } System.out.println("Hello world");

  29. publicclass Hello { } Hello World public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } public static void main(String[] args) { } System.out.println("Hello world");

  30. Integrated development environment (IDE)

  31. Type your programs here

  32. Use these icons to compile and run you program

  33. Compiler errors reported here

  34. Your files shown here