380 likes | 528 Views
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;
E N D
Dr Aaron Kans Dr Sin Wee Lee
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; f1.spin(); } Software is the name given to a single program or a set of programs.
Application software is the name given to useful programs that a user might need.
System software is the name given to special programs that help the computer to do its job.
public class Game { Car f1; f1.spin(); } Programming is the task of writing instructions for the computer
public class Game { Car f1; f1.spin(); } These instructions have to be written in a special programming language.
public class Game { Car f1; f1.spin(); } Examples include: C++, Visual Basic, Pascal, Java. Examples include: C++, Visual Basic, Pascal, Java.
public class Game { Car f1; f1.spin(); } Examples include: C++, Visual Basic, Pascal, Java.
Programmer machine code COMPILER program (source) code Program user 00111110 11010010 11110010 01010110 if (words > MAX) { System.out.print(); }
Programmer machine code PC COMPILER program (source) code PC user 00111110 11010010 11110010 01010110 if (words > MAX) { System.out.print(); }
Programmer machine code MAC COMPILER program (source) code MAC user 11001110 00110000 00100101 11100100 if (words > MAX) { System.out.print(); }
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(); }
The TIOBE Programming Index (http://www.tiobe.com)
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");
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");
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");
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");
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");
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");
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");
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");
Integrated development environment (IDE)