Presentation is loading. Please wait.

Presentation is loading. Please wait.

Learning about Programming Languages By: Mike and Sean.

Similar presentations


Presentation on theme: "Learning about Programming Languages By: Mike and Sean."— Presentation transcript:

1 Learning about Programming Languages By: Mike and Sean

2 Concepts Non Object Oriented Programming Lanuage Uses top-down programming. This is a programming style of traditional procedural languages, in which design begins by specifying complex pieces and then dividing them into successively smaller pieces. The technique for writing a program using top- down methods is to write a main procedure that names all the major functions it will need. Later, the programming team looks at the requirements of each of those functions and the process is repeated. Example: – C

3 …Concepts Continued Object Oriented Programming Language uses "objects" and their interactions to design applications and computer programs. Programming techniques may include features such as information hiding, data abstraction, encapsulation, modularity, polymorphism, and inheritance.

4 – Class – Object – Instance – Method – Message passing – Inheritance – Abstraction – Encapsulation – Polymorphism – Decoupling Not all of the above concepts are to be found in all object-oriented programming languages, and so object-oriented programming that uses classes is called sometimes class-based programming. In particular, prototype-based programming does not typically use classes. Example – C++, Java, Python

5 Object Oriented Ex. public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); }

6 Article Summary Sorting with column sort – Process N = r X s R%S=0 – Ex. (r) 9 X (s) 3 matrix – 9 X 3 = 27 – 9 % 3 = 0

7 How it works Step 1: Sorts the columns Step 2: Turns the columns into rows Step 3: Sorts the new columns Step 4: Turns the rows back into columns

8 References Natural programming languages and environments Source Communications of the ACM archive Volume 47, Issue 9 (September 2004) table of contents End-user development: tools that empower users to create their own software solutionsarchivetable of contents SPECIAL ISSUE: End-user development table of contentstable of contents Pages: 47 - 52 Year of Publication: 2004 ISSN:0001-0782 Authors Brad A. Myers John F. Pane Andy Ko Publisher Brad A. MyersJohn F. PaneAndy Ko ACM New York, NY, USA Bibliometrics ACM Downloads (6 Weeks): 19, Downloads (12 Months): 167, Citation Count: 11


Download ppt "Learning about Programming Languages By: Mike and Sean."

Similar presentations


Ads by Google