Foundation Programming Introduction. Aims This course aims to give students a basic understanding of...
-
Upload
gordon-singleton -
Category
Documents
-
view
212 -
download
0
Transcript of Foundation Programming Introduction. Aims This course aims to give students a basic understanding of...
![Page 1: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/1.jpg)
Foundation Programming
Introduction
![Page 2: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/2.jpg)
Aims
• This course aims to give students a basic understanding of computer programming.
• On completing this course students should have the necessary skills to be able to design, build and test a small system in a high-level language (processing).
![Page 3: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/3.jpg)
Learning outcomesOn completion of this course, students should be able to: • To understand basic programming concepts and constructs such as
strings numbers, assignments, sequential and selective executions, loops and functions.
• Write short programs that use the fundamental program constructs
including standard conditional and iterative control structures. • Write simple graphics programs involving the drawing of basic shapes. • Write basic animation programs.
![Page 4: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/4.jpg)
Syllabus• Writing and running a program• Statements• Drawing programs• Variables• Fundamental data types• Animation in software• Interactive Programs• Callbacks• Functions• Conditionals• Loops• Arrays• Programs using images, audio and video media
![Page 5: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/5.jpg)
Teaching
• 2 hours lecture on Friday • 2 hours lab on Monday
![Page 6: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/6.jpg)
Assessment
• Term 1– 1 assignment 20 %– 5 small challenges worth 1% each
• Term 2– 1 assignment 20 %– 5 small challenges worth 1% each
• Examination (50%) written examination
![Page 7: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/7.jpg)
Language - Processing
• The Processing Language was designed to facilitate the creation of sophisticated visual structures.
• Processing reference page is on http://processing.org/reference/
![Page 8: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/8.jpg)
Download process 2
• Processing can be downloaded from http://processing.org/download
![Page 9: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/9.jpg)
Getting started with ProcessingTutorial
http://processing.org/tutorials/gettingstarted/
![Page 10: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/10.jpg)
Reading List
• Daniel Shiffman, Learning Processing: A Beginner's Guide to Programming Images, Animation, and Interaction.http://www.learningprocessing.com/
• Getting Started with Processing Casey Reas
and Ben Fry.Published June 2010, O'Reilly Media.
![Page 11: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/11.jpg)
Processing development Environment
Type your code here
Click here to run your programStop your program
Click here to saveNew sketch
![Page 12: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/12.jpg)
Exampleyour first program
• Type the following code on the text editor– ellipse(60, 60, 100, 100);– Click on
– The display window will display
![Page 13: Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.](https://reader036.fdocuments.us/reader036/viewer/2022080916/56649e4f5503460f94b45b2d/html5/thumbnails/13.jpg)
online material
• http://www.learningprocessing.com/
• Getting started with processing book