理工学部Faculty of Science and Engineering
COT100XD(計算基盤 / Computing technologies 100)プログラミング言語C(電気)Programming Language C
長津 裕己Yuki NAGATSU
授業コードなどClass code etc
学部・研究科Faculty/Graduate school | 理工学部Faculty of Science and Engineering |
添付ファイル名Attached documents | |
年度Year | 2024 |
授業コードClass code | H5654 |
旧授業コードPrevious Class code | |
旧科目名Previous Class title | |
開講時期Term | 春学期授業/Spring |
曜日・時限Day/Period | 水曜4時限水4/Wed.4 |
科目種別Class Type | |
キャンパスCampus | 小金井 |
教室名称Classroom name | 小西館‐W204 |
配当年次Grade | 1年 |
単位数Credit(s) | |
備考(履修条件等)Notes | |
他学部公開科目Open Program | |
他学部公開(履修条件等)Open Program (Notes) | |
グローバル・オープン科目Global Open Program | |
成績優秀者の他学部科目履修制度対象Interdepartmental class taking system for Academic Achievers | |
成績優秀者の他学部科目履修(履修条件等)Interdepartmental class taking system for Academic Achievers (Notes) | |
実務経験のある教員による授業科目Class taught by instructors with practical experience | |
SDGsCPSDGs CP | |
アーバンデザインCPUrban Design CP | |
ダイバーシティCPDiversity CP | |
未来教室CPLearning for the Future CP | |
カーボンニュートラルCPCarbon Neutral CP | |
千代田コンソ単位互換提供(他大学向け)Chiyoda Campus Consortium | |
カテゴリー<理工学部>Category |
電気電子工学科 学科専門科目 |
すべて開くShow all
すべて閉じるHide All
Outline (in English)
- Course outline
This course lectures on the fundamentals of C programming. Students will acquire the skills necessary for C programming by taking this course.
- Learning Objectives
1. Can understand and explain how a program works on a computer.
2. Can understand, modify, and execute programs written in C.
3. Can create and execute original programs using the C language.
- Learning activities outside of classroom
The standard study time outside of the classroom for preparation and review is 4 hours for each session. The students will be expected to prepare and review well on their own and to submit all assignments without fail.
- Grading Criteria /Policy
Grading will be based on 10% regular marks, 30% assignments, and 60% examinations.
授業で使用する言語Default language used in class
日本語 / Japanese
授業の概要と目的(何を学ぶか)Outline and objectives
C言語の基礎知識を習得し、C言語プログラミングに必要な技能を身につける。
到達目標Goal
・コンピュータでプログラムが動作する仕組みを理解し、説明することができる。
・C言語で書かれたプログラムを理解し、修正・実行することができる。
・C言語を用いて自力で独自のプログラムを作成し、実行することができる。
この授業を履修することで学部等のディプロマポリシーに示されたどの能力を習得することができるか(該当授業科目と学位授与方針に明示された学習成果との関連)Which item of the diploma policy will be obtained by taking this class?
ディプロマポリシーのうち、「DP1」と「DP2」と「DP4」に関連
授業で使用する言語Default language used in class
日本語 / Japanese
授業の進め方と方法Method(s)(学期の途中で変更になる場合には、別途提示します。 /If the Method(s) is changed, we will announce the details of any changes. )
授業は講義と演習を織り交ぜた形で実施する。授業中、または授業の最後に課題を出題し、次回以降の授業の冒頭で解説や講評を行う。課題は学習支援システムより提出する。授業の最終回で試験を行う。授業ではスライド資料を使用して解説し、授業スライドのpdfファイルを配布する。資料は学習支援システムにて案内する。質問は口頭もしくは学習支援システムを介して受け付けする。授業に関する告知は学習支援システムのお知らせ機能にて行う。
アクティブラーニング(グループディスカッション、ディベート等)の実施Active learning in class (Group discussion, Debate.etc.)
あり / Yes
フィールドワーク(学外での実習等)の実施Fieldwork in class
なし / No
授業計画Schedule
授業形態/methods of teaching:対面/face to face
※各回の授業形態は予定です。教員の指示に従ってください。
第1回[対面/face to face]:ガイダンス
講義概要
導入
プログラム開発環境
第2回[対面/face to face]:プログラミングの初歩
開発環境の基本的な使い方
C言語プログラミングの初歩
第3回[対面/face to face]:変数と標準入出力
標準出力
変数
標準入力
第4回[対面/face to face]:式と演算子
四則演算
代入演算子
型変換
第5回[対面/face to face]:条件による処理の分岐
関係演算子
論理演算子
if文
switch文
第6回[対面/face to face]:処理の繰り返し
繰り返し文(for文、while文)
文のネスト
繰り返しによる処理結果の累積
第7回[対面/face to face]:配列
配列の基本
データの並べ替え(ソート)
多次元配列
第8回[対面/face to face]:文字と文字列の操作
文字型データ
文字列
文字列の入出力
文字列の操作
第9回[対面/face to face]:関数
関数の定義
プロトタイプ宣言
グローバル変数・ローカル変数
関数の再帰的呼び出し
分割コンパイル
第10回[対面/face to face]:データ構造とポインタ(1)
構造の宣言
構造体の利用
ポインタとは何か
配列とポインタ
第11回[対面/face to face]:データ構造とポインタ(2)
コマンドラインの引数
リスト構造
木構造
スタック構造
第12回[対面/face to face]:ファイル入出力
ファイルのオープンとクローズ
ファイルからの入力
ファイルへの出力
第13回[対面/face to face]:C言語プログラミングの初歩的な応用
数値微分・数値積分
第14回[対面/face to face]:試験
試験
解説
まとめ
授業時間外の学習(準備学習・復習・宿題等)Work to be done outside of class (preparation, etc.)
本授業の準備・復習等の授業時間外学習は、各回につき4時間を標準とする。各自で予習・復習を十分に行ったうえで、課題は必ず提出すること。
テキスト(教科書)Textbooks
蓑原隆:「C プログラミングの基礎」(サイエンス社、2006)
参考書References
柴田望洋:「新・明解C言語 入門編 第2版」ソフトバンククリエイティブ
高橋麻奈:「やさしいC 第5版」ソフトバンククリエイティブ
成績評価の方法と基準Grading criteria
課題(50%)、試験(50%)の配分で成績評価を行う。
学生の意見等からの気づきChanges following student comments
本年度新規科目につきアンケートを実施していません。
学生が準備すべき機器他Equipment student needs to prepare
ノートパソコンを使用するので必ず持参すること。