Basic C Programming
Overall Course Objectives
To develop foundational programming skills in C, enabling students to write, debug, and analyze basic programs using structured programming principles.
See course description in Danish
Learning Objectives
- Install and configure a C programming development environment.
- Identify and explain core C programming concepts, including syntax, data types, operators, and basic I/O.
- Apply structured programming principles by designing modular programs using functions, loops, conditionals, and header files to separate interface from implementation and enhance code maintainability.
- Interpret and create flowcharts to visualize and plan program logic.
- Analyze and debug programs to resolve basic real-world programming problems.
- Evaluate memory management techniques by implementing pointers, arrays, and dynamic allocation.
- Create robust applications by integrating standard library functions and file I/O operations.
- Implement and utilize fundamental data structures (e.g., arrays, linked lists) to organize and manage data.
- Design, implement, and analyze common sorting algorithms while evaluating their efficiency using Big O notation.
Course Content
– Introduction to the tools
– Intro to C programming
– Structured program development
– Program control
– Functions
– Arrays
– Pointers
– Characters and strings
– Formatted input/output
– Structures, unions, bit manipulation and enumerations
– File processing
– Data structures
– Computer-science thinking: Sorting Algorithms and Big O.
Possible start times
- 36 – 49 (Wed 13-17)
Teaching Method
Problem-based teaching with flipped classroom.
Programming problems motivate the theory introduced during the semester and form the foundation for the oral exam. The complexity increases gradually. You may work in pairs for mutual assistance.
Before each lecture, preparatory materials like readings and quizzes will be provided. The lecture will start with a short, interactive session addressing any uncertainties, followed by individual support.
Faculty
Remarks
Energy Technology and Computer Science
Elektrisk Energiteknologi 1. semester
Elektroteknologi: 1. semester
Part of the teaching may be in English.




