PDQ Programming Languages plus an overview of Alice - Frank Ducrest

1,840 views
1,684 views

Published on

Acadiana Open Source Group May 2008 Meeting

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,840
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PDQ Programming Languages plus an overview of Alice - Frank Ducrest

  1. 1. PDQ * Programming Languages plus an Overview of Alice Frank Ducrest, 5/21/08 * Pretty Darn Quick
  2. 2. Anything that can be done in hardware can be done in software, anything that can be done in software can be done in hardware, ... - Architectural Axiom about Modern Computers ... but you have to pick the right subset of instructions to create in hardware. PDQ Programming Languages plus an Overview of Alice
  3. 3. <ul><li>So what is software? </li></ul><ul><li>Instructions to hardware. </li></ul><ul><li>So what are instructions to hardware? </li></ul><ul><li>Patterns of high and low electrical charges that energize / activate patterns of hardware circuits in a processor. </li></ul><ul><li>i.e. Binary code. </li></ul>PDQ Programming Languages plus an Overview of Alice
  4. 4. <ul><li>How does software get created? </li></ul><ul><li>By a process known as programming. </li></ul><ul><li>Alright, wise guy. What is programming? </li></ul><ul><li>Direct creation of binary code. </li></ul><ul><li>Or by use of a human level programming language and an intermediate program known as a compiler or an interpreter. The compiler or interpreter is passed the code created in the programming language and returns binary code. </li></ul>PDQ Programming Languages plus an Overview of Alice
  5. 5. <ul><li>At last! What's a Programming Language? </li></ul><ul><li>An artificial language that is used to control a computer. </li></ul><ul><li>... But beyond that, not everyone agrees what a programming </li></ul><ul><li>language should be. </li></ul><ul><li>... And there has to be a separate interpreter or compiler for </li></ul><ul><li>every language used on every processor type. </li></ul>PDQ Programming Languages plus an Overview of Alice
  6. 6. <ul><li>Categories of programming Languages </li></ul><ul><li>procedural vs. functional </li></ul><ul><li>written (syntax & semantics) vs. non-written (semantics) </li></ul><ul><li>generational - 1 st / 2 nd / 3 rd / 4 th </li></ul><ul><li>object oriented vs. non-object oriented </li></ul><ul><li>strongly typed vs. loosely typed </li></ul><ul><li>general purpose vs. special purpose </li></ul>PDQ Programming Languages plus an Overview of Alice
  7. 7. PDQ Programming Languages plus an Overview of Alice <ul><li>Alice </li></ul><ul><li>Example of a programming language with the following attributes </li></ul><ul><li>procedural </li></ul><ul><li>non-written, mostly (limited syntax, lots of semantics) </li></ul><ul><li>strongly typed </li></ul><ul><li>object oriented </li></ul><ul><li>4 th generation programming language </li></ul><ul><li>special purpose: introducing object oriented programming concepts </li></ul><ul><li>http://www.alice.org/ </li></ul><ul><li>http://www.alice.org/index.php?page=downloads/download_alice </li></ul>
  8. 8. Alice IDE PDQ Programming Languages plus an Overview of Alice Editor World Window Welcome Dialog Box Events Area Object Tree Object Details
  9. 9. <ul><li>Preexisting Objects </li></ul><ul><li>Libraries of preexisting objects locally and on the web </li></ul><ul><li>Objects are selected and added to the world, then manipulated </li></ul>PDQ Programming Languages plus an Overview of Alice
  10. 10. <ul><li>Object Methods </li></ul><ul><li>Existing and programmer created Object Methods are used to contain calls to existing and created methods </li></ul><ul><li>Structures are used to control execution of calls </li></ul><ul><li>Parameters allow same method to change operation </li></ul>PDQ Programming Languages plus an Overview of Alice
  11. 11. <ul><li>Events </li></ul><ul><li>Events determine what happens when </li></ul>PDQ Programming Languages plus an Overview of Alice
  12. 12. Play the World PDQ Programming Languages plus an Overview of Alice
  13. 13. Alice Books An Introduction to Programming Using Alice Charles W. Hebert Course Technology ISBN-10: 1418836257 ISBN-13: 978-1418836252 Learning To Program with Alice, 2nd Edition Dann, Cooper and Pausch Prentice Hall (available July 10, 2008) ISBN-10: 013208516X ISBN-13: 978-0132085168 Learning to Program with Alice, Brief Edition (Paperback) Dann, Cooper and Pausch Prentice Hall ISBN-10: 0132397757 ISBN-13: 978-0132397759 PDQ Programming Languages plus an Overview of Alice

×