単位数: 1. 担当教員: 関戸 信彰. 開講年度: 2024. 科目ナンバリング: TAL-PRI201J.
○
対面で授業を行う。Google Classroomをを使用し、講義資料の配布やレポートの配布・回収を行う。授業に関する案内もClassroom経由で届くので、随時確認すること。 Google Classroomのクラスコードは工学部Webページにて確認すること。
学部シラバス・時間割 (https://www.eng.tohoku.ac.jp/edu/syllabus-ug.html)
1.目的
情報処理に不可欠なプログラミング言語の知識を身につける。
2.概要
C言語の基本文法および簡単なアルゴリズム設計法を講義する。
また、UNIX環境下でのプログラムの作成・コンパイル・実行方法に関する演習を行う。
3.達成目標等
この授業では主に以下のような能力を修得することを目標とする。
・ C言語の文法を理解し、簡単なプログラムを作成できる。
・ UNIX環境下でのプログラムの作成から実行までの操作ができる。
The lectures will be given face-to-face. Google Classroom will be used to distribute and collect lecture materials and assignments. The class code for Google Classroom can be found on the Web site of the School of Engineering:
https://www.eng.tohoku.ac.jp/edu/syllabus-ug.html (JP Only)
1. Objectives
To acquire knowledge of programming languages essential for information processing.
2. Overview
The basic grammar of C-language and simple algorithm design will be lectured.
Students exercise on writing, compiling, and executing C-language programs in a UNIX operating system.
3. Achievement Goals
The goals of this course are:
* To understand the grammar of the C-language and write simple programs.
* To compile and execute the programs in a UNIX operating system.
本講義は「情報とデータの基礎」を修得していることを前提とする。自分のPCにもCコンパイラーをインストールして予習・復習することが望ましい。
This lecture presupposes students to have acquired "情報とデータの基礎". Students are encouraged to install a C-compiler on their PCs for preparation/review the class.
1. 本講義の概要、Cプログラムの基本
2. 変数、ターミナル上での入出力
3. 判断と分岐(1)
4. 判断と分岐(2)、反復処理(1)
5. 反復処理(2)
6. 関数定義と関数参照、変数の有効範囲、再帰呼び出し
7. 配列(1)
8. 配列(2)
9. 文字配列
10. 文字配列
11. ポインタ(1)
12. ポインタ(2)
13. ファイル入出力
14. データの型、構造体・共用体
15. 総合演習、試験
(上記は標準的なものであり、担当教員による変更、追加などがある。)
1. Outline of this lecture, basics of C programming
2. Variables, Input/Output on Terminal
3. Conditional branch (1)
4. Conditional branch (2), Iterative processing (1)
5. Iterative processing (2)
6. Function definition
7. Array (1)
8. Arrays (2)
9. Strings (1)
10. Strings (1)
11. Pointer (1)
12. Pointer (2)
13. File input/output
14. Data types, structures and unions
15. General practice, Examination
(The above is standard and subject to change by the lecturer.)
毎週課される課題を翌週までにClassroom経由で提出する。
Homework will be assigned weekly. It must be submitted via Google Classroom by the following week.
課題と試験等により総合評価する。
Comprehensive evaluation based on assignments and examinations.
要事前連絡
Advance notice required