1 / 13

Foundation Programming

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).

kane
Télécharger la présentation

Foundation Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Foundation Programming Introduction

  2. 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).

  3. 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.

  4. 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

  5. Teaching • 2 hours lecture on Friday • 2 hours lab on Monday

  6. 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

  7. Language - Processing • The Processing Language was designed to facilitate the creation of sophisticated visual structures. • Processing reference page is on http://processing.org/reference/

  8. Download process 2 • Processing can be downloaded from http://processing.org/download

  9. Getting started with ProcessingTutorial http://processing.org/tutorials/gettingstarted/

  10. 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.

  11. Processing development Environment Stop your program Click here to run your program Click here to save New sketch Type your code here

  12. Exampleyour first program • Type the following code on the text editor • ellipse(60, 60, 100, 100); • Click on • The display window will display

  13. online material • http://www.learningprocessing.com/ • Getting started with processing book

More Related