Course title
B0902350
C language of Mechanics

nagasawa sumito Click to show questionnaire result at 2017
Course description
The C language is widely used in many mechanical fields. The aims of this class are to learn the basic grammar of the C language and to understand the development methods of the embedded systems.
Purpose of class
- learn the basic grammar of the C language
- familiar with the development environment of the C language
- get experiences for developing programs of the embedded system
Goals and objectives
  1. Understand basic processing algorithms with flowcharts.
  2. Understand basic C grammar, and build small programs by themselves.
  3. Understand the C programs used in specialized classes such as embedded programming, and can be modified / applied them according to purpose.
Language
Japanese(English accepted)
Class schedule

Class schedule HW assignments (Including preparation and review of the class.) Amount of Time Required
1. Lecture overview, First C program; "Hello, world" program. Review the development process and try to rebuild your own modified program. 180minutes
2. Variables, Data Input/Output modify the definition of the variables of the sample program and understand differences of the execution result. 180minutes
3. Repetition of the constant number of times Convert the "While loop" to the "For loop" in the sample program. 180minutes
4. Decision Change the "if-then" statement to another expression . 180minutes
5. Array Practice about variable array operation. 180minutes
6. Array exercise, variables and memory addressing. Understand the mechanism of memory allocation. Try memory addressing to an out range of the memory allocation and confirm the execution result. 180minutes
7. Function and Precedure 1 Using a sample program which consists of several source files and understand the difference with declaration of variables and definition. 180minutes
8. Mid-term examination and Explanations Review the mid-term exam. 180minutes
9. Function and Precedure 2 Understand the call mechanism of the functions and procedures. 180minutes
10. Data type and pointer Work on many sample problem about "pointer". 180minutes
11. File Input/Output Make a sample program which can read/write a variety of data types to a file. 180minutes
12. Basic of numerical calculation Execute sample programs that are used in the technical lecture of "Numerical analysis" of our department curriculum. 180minutes
13. Basic of embedded programming Build the first program for controlling the simple hardware. 180minutes
14. Term-end exam and explanations Review in all contents of this course. 180minutes
Total. - - 2520minutes
Relationship between 'Goals and Objectives' and 'Course Outcomes'

First half: Reports Mid-term Exam. Second half: Report Term-end Exam. Total.
1. 8% 20% 7% 35%
2. 7% 15% 5% 13% 40%
3. 10% 15% 25%
4. 0%
Total. 15% 35% 15% 35% -
Evaluation method and criteria
The mid-term/term-end exam: 35% each, reports: 30%, pass in 60 points or more.
The acceptance criteria of 60 points is that students can code a small program by themselves according to the basic processing algorithm with a flowchart. And students understand the C language programs used in specialized classes.
Textbooks and reference materials
No textbook is designated. Handouts are distributed in every lecture.
Prerequisites
In this lecture the C grammar is explained very quickly, because the final goal is not only understanding of the C grammar but also embedded system development. About the C grammar, work on lot of sample programs by students themselves.
Office hours and How to contact professors for questions
  • Lunchtime on Wednesday, room #4301 in building #4.
Relation to the environment
Non-environment-related course
Regionally-oriented
Non-regionally-oriented course
Development of social and professional independence
  • Course that cultivates an ability for utilizing knowledge
Active-learning course
More than one class is interactive
Last modified : Wed Oct 17 07:50:18 JST 2018