Exercises in Programming1

FURUKAWA, Fumihito
  Elective Requisites  1 credits
【Information and Electronic Engineering・2nd semester】
19-1-1488-2045

1.
Outline
This is an introductory programming exercise course in programming language "Processing". The aim of this course is to help students acquire programming skills to write simple programs by themselves. It is required for students that they have already taken Programming 1 and 2, or they are taking Programming 2 in the same semester. Because students will learn example programs and try to write programs for given specifications using knowledge acquired in Programming 1 and 2.
First, students will work on basic exercises on testing and debugging, then work on programming exercises. Then, students will develop simple application software. At the end of the course, students will build learning portfolios on their programming skills.
This course is related to diploma policy DP4C and DP4M.
2.
Objectives
The minimum goal of this course for students is acquiring programming skills to write simple programs. A work of programming is to write programs which meet given specifications and the work consists of writing program codes, debugging, testing and improving programs in readability. Upon successful completion of this course, students will be able to develop a simple application software or game software.
3.
Grading Policy
Programming works are given in each class and students should submit worksheets and program codes. For the final exercise, students should submit a report and program codes. At the end of the course, students should build learning portfolios on their programming skills.
The grade of students will be calculated according to the following process: worksheets and program codes 60%, report and program codes 15% and portfolio 25%.
Feedbacks on worksheets, reports, and portfolio are given via LMS.
4.
Textbook and Reference
Reference book : Casey Reas and Ben Fry , (Takumi Funada translate) "Getting Started with Processing (2nd edition)”, O'Reilly Japan, Inc. 20162016、ISBN-13: 978-4873117737
5.
Requirements (Assignments)
Learning materials for each class will be carried on LMS in advance. For preparation, students are expected to write example programs and make it clear where they can't understand. During classes, ask or discuss about points you don't understand, write programs, and fill out worksheets. After classes, complete your worksheets or reports and submit them to LMS.
The preparation and after-class learning will take one hour each for students who have a fair understanding of contents in Programming 1 and 2. I will take more for students with little understanding.
6.
Note
The course is conducted in Japanese.
7.
Schedule
1. Introduction, how to learn in this course and review of functions.
2. Test driven development, tests and test codes.
3. How to use debugger.
4. Exercises in Programming with conditional branching.
5. Exercises in Programming with array and loops.
6. Exercises in Programming with array and nested loops.
7. Exercises in Programming with classes and operation of characters.
8. Exercises in Programming to read values from two-dimensional array.
9. Exercises in Programming to write values to two-dimensional array.
10. Exercises in Programming with collection classes.
11. Exercises in Programming with classes and file input/output.
12. Final exercise (1) Development of simple GUI application or game.
- GUI household accounts: screen setting and formatting records.
- Shooting game: drawing my space ship and control of my ship
13. Final exercise (2) Development of simple GUI application or game.
- GUI household accounts: displaying and registering records.
- Shooting game: drawing an enemy ship and giving movement to it.
14. Final exercise (3) Development of simple GUI application or game.
- GUI household accounts: removing and importing/exporting records.
- Shooting game: process of firing bullets and hitting.
15. Review and writing programming e-portfolio.
1.
Outline
This is an introductory programming exercise course in programming language "Processing". The aim of this course is to help students acquire programming skills to write simple programs by themselves. It is required for students that they have already taken Programming 1 and 2, or they are taking Programming 2 in the same semester. Because students will learn example programs and try to write programs for given specifications using knowledge acquired in Programming 1 and 2.
First, students will work on basic exercises on testing and debugging, then work on programming exercises. Then, students will develop simple application software. At the end of the course, students will build learning portfolios on their programming skills.
This course is related to diploma policy DP4C and DP4M.
2.
Objectives
The minimum goal of this course for students is acquiring programming skills to write simple programs. A work of programming is to write programs which meet given specifications and the work consists of writing program codes, debugging, testing and improving programs in readability. Upon successful completion of this course, students will be able to develop a simple application software or game software.
3.
Grading Policy
Programming works are given in each class and students should submit worksheets and program codes. For the final exercise, students should submit a report and program codes. At the end of the course, students should build learning portfolios on their programming skills.
The grade of students will be calculated according to the following process: worksheets and program codes 60%, report and program codes 15% and portfolio 25%.
Feedbacks on worksheets, reports, and portfolio are given via LMS.
4.
Textbook and Reference
Reference book : Casey Reas and Ben Fry , (Takumi Funada translate) "Getting Started with Processing (2nd edition)”, O'Reilly Japan, Inc. 20162016、ISBN-13: 978-4873117737
5.
Requirements (Assignments)
Learning materials for each class will be carried on LMS in advance. For preparation, students are expected to write example programs and make it clear where they can't understand. During classes, ask or discuss about points you don't understand, write programs, and fill out worksheets. After classes, complete your worksheets or reports and submit them to LMS.
The preparation and after-class learning will take one hour each for students who have a fair understanding of contents in Programming 1 and 2. I will take more for students with little understanding.
6.
Note
The course is conducted in Japanese.
7.
Schedule
1. Introduction, how to learn in this course and review of functions.
2. Test driven development, tests and test codes.
3. How to use debugger.
4. Exercises in Programming with conditional branching.
5. Exercises in Programming with array and loops.
6. Exercises in Programming with array and nested loops.
7. Exercises in Programming with classes and operation of characters.
8. Exercises in Programming to read values from two-dimensional array.
9. Exercises in Programming to write values to two-dimensional array.
10. Exercises in Programming with collection classes.
11. Exercises in Programming with classes and file input/output.
12. Final exercise (1) Development of simple GUI application or game.
- GUI household accounts: screen setting and formatting records.
- Shooting game: drawing my space ship and control of my ship
13. Final exercise (2) Development of simple GUI application or game.
- GUI household accounts: displaying and registering records.
- Shooting game: drawing an enemy ship and giving movement to it.
14. Final exercise (3) Development of simple GUI application or game.
- GUI household accounts: removing and importing/exporting records.
- Shooting game: process of firing bullets and hitting.
15. Review and writing programming e-portfolio.