Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programming Methodology (1). MODULE TEAM Dr Aaron Kans Dr Sin Wee Lee.

Similar presentations


Presentation on theme: "Programming Methodology (1). MODULE TEAM Dr Aaron Kans Dr Sin Wee Lee."— Presentation transcript:

1 Programming Methodology (1)

2 MODULE TEAM

3 Dr Aaron Kans Dr Sin Wee Lee

4 Recommended Text

5

6 Software and Programming

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

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

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

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

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

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

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

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

15 Compiling Programs

16 COMPILER if (words > MAX) { System.out.print(); } program (source) code machine code Programmer Program user

17 PC COMPILER if (words > MAX) { System.out.print(); } program (source) code machine code Programmer PC user

18 MAC COMPILER if (words > MAX) { System.out.print(); } program (source) code machine code Programmer MAC user

19 Java Programming

20 JAVA COMPILER if (words > MAX) {System.out.print(); } program code JVM Java byte code Java Programmer

21 The TIOBE Programming Index (

22 Your first program

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

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

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

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

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

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

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

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

31 Integrated development environment (IDE)

32

33 Type your programs here

34 Use these icons to compile and run you program

35 Compiler errors reported here

36 Your files shown here

37


Download ppt "Programming Methodology (1). MODULE TEAM Dr Aaron Kans Dr Sin Wee Lee."

Similar presentations


Ads by Google