Course title
B04159002
Introduction for Computer Programming in C

NAKAMURA Shingo
Course description
In this course, students will learn basic C programming language grammar, programming concepts, programming methods, and computer usage through lectures and exercises.
Purpose of class
The purpose of this class is to acquire basic programming skills in the C language.
Students will be able to understand structures of conditional and iterative statements, and make their own program themselves.
Moreover, students will be able to create their own functions and use them as appropriate.
Goals and objectives
  1. To be able to create basic programs by considering algorithm
  2. To be able to understand data type and operator
  3. To be able to understand and use function
  4. To be able to understand condition statement, loop statement and array
  5. To be able to understand character type, pointer and structure.
Language
Japanese
Class schedule

Class schedule HW assignments (Including preparation and review of the class.) Amount of Time Required
1. Introduction
Programming procedure
Data output (printf)
Comment
Review about output 90minutes
Programming assignment about output 150minutes
2. Operator and variable (1)
 Basic arithmetic operators (+, -, *, /, %)
 Data type ( int, float, double )
 Data input ( scanf )
Review of input and arithmetic operations 90minutes
Programming assignment about input and arithmetic operations 150minutes
3. Operator and variable (2)
 Output format via printf
 Type conversion at assignment and arithmetic operations
 Other arithmetic operators

Control statement (1)
 "if" statement
 Relational operators
Review of "if" statement 90minutes
Programming assignment about "if" statement 150minutes
4. Control statement (2)
 "else" statement
 "else if" statement
 "switch" statement
 "while" statement
Review "while" statement 90minutes
Programming assignment about "while" statement 150minutes
5. Control statement (3)
 "do - while" statement
 "for" statement

Array (1)
 Array usage
 Array and for statement
Review of array 90minutes
Programming assignment about array 150minutes
6. Array (2)
 Macro variable
 Nested loops and two dimensional array

Type "char"
 Input and output of char type data
 Character code
Review of type "char" 90minutes
Programming assignment about type "char" 150minutes
7. Mid-term Examination and explanation Review of mid-term examination 200minutes
8. Function (1)
 Usage of Standard function
 Creation and usage of user function
 Pass-by-value
Review of function 90minutes
Programming assignment about function 150minutes
9. Function (2)
 Function taking array parameter
 Static variable

String
 String definition
 Standard functions for string
Review of function and string 90minutes
Programming assignment about string 150minutes
10. Structure
 Keyword "typedef"
 Structure definition
 Function using structures
Review of structure 90minutes
Programming assignment about structure 150minutes
11. Pointer (1)
 Pointer type
 Memory space
 Address and indirect operators
 Function using pointers
Review basics of pointer type 90minutes
Programming assignment about pointer type 150minutes
12. Pointer (2)
 Operation of pointer and integer data
 Pointer and array
 Subscript operator
Review of pointer with subscript operator 90minutes
Programming assignment about subscript operator 150minutes
13. Pointer (3)
 Structure and Pointer
 Arrow operator
 Dynamic memory allocation
Review of practical pointer type 90minutes
Programming assignment about dynamic memory allocation 150minutes
14. Final examination and explanation Review of final examination 200minutes
Total. - - 3280minutes
Relationship between 'Goals and Objectives' and 'Course Outcomes'

Assignments Examinations Total.
1. 10% 10% 20%
2. 10% 10% 20%
3. 10% 10% 20%
4. 10% 10% 20%
5. 10% 10% 20%
Total. 50% 50% -
Evaluation method and criteria
Programming assignments 50%
Examinations 50%
Textbooks and reference materials
To purchase textbooks is unnecessary.
Reference materials are distributed for each lecture.
Prerequisites
Prepare your student number and password to login into a university computer
Office hours and How to contact professors for questions
  • 13:10-14:50 on Thursday
    For another time, it is desirable to contact in advance
Regionally-oriented
Non-regionally-oriented course
Development of social and professional independence
  • Course that cultivates a basic problem-solving skills
  • Course that cultivates an ability for utilizing knowledge
Active-learning course
About half of the classes are interactive
Course by professor with work experience
Work experience Work experience and relevance to the course content if applicable
Applicable Taking advantage of experience of software development, I teach programming point of view using C language
Education related SDGs:the Sustainable Development Goals
  • 9.INDUSTRY, INNOVATION AND INFRASTRUCTURE
Feedback on exams, assignments, etc.
Last modified : Sat Sep 09 04:59:51 JST 2023