100 likes | 253 Views
Programming Fundamentals. Autumn 2013. Who am I?. Jason Sultana School of Computing, Engineering and Mathematics e-mail: admin@jasonsultana.com Website: www.jasonsultana.com Please use UWS e-mail for general communication. Assessments. Recap…What are we doing?.
E N D
Programming Fundamentals Autumn 2013
Who am I? Jason Sultana School of Computing, Engineering and Mathematics e-mail: admin@jasonsultana.com Website: www.jasonsultana.com Please use UWS e-mail for general communication.
Recap…What are we doing? 1. What’s a program? What does it consist of? 2. What is Java? Why do we use it? How does a program written in Java differ from a typical program? 3. What is Greenfoot? Why are we using it?
Introducing Objects in Greenfoot Problem 1 – Getting Started 1. What are some things Clara has? 2. What are some things Clara can do?
Methods / Functions Problems 2 to Bonus Question move();putLeaf();stop();turnLeft();turnRight();removeLeaf();putLeaf();act( );
C Style constructs What do the highlighted fields mean?
Conditions if(condition) { //do something} Can we rewrite any of this weeks pracs using conditions? Try Prac 2 – place a leaf only when there is not a leaf behind us.
This week • Get used to using Greenfoot • Finish and submit prac 1 • Fun stuff: Look up “Lady Java” on youtube