130 likes | 240 Views
Foundation Programming. Introduction. 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).
E N D
Foundation Programming Introduction
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).
Learning outcomes On 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.
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
Teaching • 2 hours lecture on Friday • 2 hours lab on Monday
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
Language - Processing • The Processing Language was designed to facilitate the creation of sophisticated visual structures. • Processing reference page is on http://processing.org/reference/
Download process 2 • Processing can be downloaded from http://processing.org/download
Getting started with ProcessingTutorial http://processing.org/tutorials/gettingstarted/
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.
Processing development Environment Stop your program Click here to run your program Click here to save New sketch Type your code here
Exampleyour first program • Type the following code on the text editor • ellipse(60, 60, 100, 100); • Click on • The display window will display
online material • http://www.learningprocessing.com/ • Getting started with processing book