21024206
留学生対象クラスFGN401a FGN401b FGN401c FGN401d FGN401e FGN401f FGN401g FGN401h FGN401i FGN401j FGN401k FGN401m FGN401n FGN401p FGN401r
2年, 3年, 4年後学期水5, 水6
情報処理演習第二
Information Processing ExerciseII
中井 日佐司
単位区分
単位数: 2単位必修 | 課程・類・プログラム | 種別 |
|---|---|---|
詳細あり | ||
関連Webサイト
主題および達成目標
コンピュータの
は、
に
年では、
かりやすく、
れるようになりました。
この
た
ためではなく、
力を
また
テスト、
力を
Advances in computing have begun to change the value of the
program. In the past, it was important to write programs that "ran
faster and used less memory", in other words, lighter programs
that did not overload the computer. In recent years, with faster
CPUs and larger memory capacity, programs are no longer valued for
their lightness, but rather for their "easier to understand, more
reusable" information that can be used by humans.
In this class, students learn to (1) deepen and utilise the
programming knowledge acquired in Information Processing Exercise I
and (2) improve their programming ability not for the computer but as
an expression to convey their ideas to others. The language used for
programming is C.
In the 'programme production' section, which takes place after
the 10th lesson of this class, students experience a series of
tasks such as specification, prototype programming, testing,
debugging and release, with the aim of improving their
problem-analysis and problem-solving skills.
前もって履修しておくべき科目
情報処理演習第一、
Information Processing Exercise I or equivalent.
前もって履修しておくことが望ましい科目
なし。
None.
教科書等
教科書
なし。
参考書
[1] Steve Oualline
[2] Neil Matthew and Richard Stones
その
Textbook: None. Handouts will be given in class.
References:
[1] Steve Oualline "C Practical Programming", 3rd edition (O'Reilly Japan)
[2] Neil Matthew and Richard Stones "Linux Programming" (SOFT BANK Publishing)
It is recommended that you keep other C books that suit you
(e.g. those used in class or written in your native language) on hand as a dictionary.
授業内容とその進め方
授業の
リストプログラムの
第一回
第二回
第三回
第四回
第五回
第六回
第七回
第八回
第九回
プログラム制作実習
第十回
第十一回
第十二回
第十三回
第十四回
第十五回
In one class, the first half is a lecture and the second half is an exercise.
The content of the lectures is as follows:
Creating list programs
1. "Applications of pointers" Pointers pointing to functions --- function = data(?)
2. "Structures and pointers" Pointers pointing to structures
3. "Linked lists" Infinitely linked list formats
4. 'File input/output (1)' File input/output with libraries
5. 'File input/output (2)' File input/output using system calls
6. 'Examples of creating list programs (1)' Defining data structures
7. 'Examples of creating list programs (2)' Adding functions --- sorting, deleting data
8. 'Examples of creating list programs (3)' Setting options when executing programs
9. 'Examples of creating a list program (4)' Methods of testing and debugging programs
Program production practice
10. 'Requirements for programme production' Requirements for producing programs that can be shared, preliminary research and candidate selection
11. 'Preliminary specification creation' Deciding which programme to create from among the candidates, creating preliminary specifications
12. 'Code outline creation' naming functions, creating prototypes (function-limited programs)
13. 'Convert function to function'
13. "Testing the operation of the program" Compilation, testing based on preliminary specifications
15. "Production presentation"
授業時間外の学習
プログラミング演習科目に
成績評価方法および評価基準
[評価方
[最低達成基準]
1)
2) この
な
手法を
評価します。
しない
ます。
[Assessment method.] 60% of each assignment + 40% of the final
assignment.
[Minimum achievement criteria] Students should be able to
1) explain 'pointers pointing to structures' with diagrams and examples and
2) modify a list programme using this pointer according to the instructions (it does not necessarily have to work).
Note that this class will assess programs that use simple
techniques and have a clear structure better than difficult
programs with no structure, which are full of tricks and no
structure. Even if the resulting programme does not work, it will
be assessed more highly if you report an analysis of the cause of
the non-working or a logical inference.
オフィスアワー・授業相談
火〜金の
Tuesday to Friday lunchtime, Thursdays and Fridays, 4th and 5th
periods. Other times can be arranged if convenient.
学生へのメッセージ
プログラムは、
と
Programs can "never" be created by just listening to what is being
said. You must use your hands and brain, let's develop the "basic
physical strength" of programming as well as knowledge.
その他
なし。
None.