Single-Course Dansk 5 ECTS

Basic C Programming

Overall Course Objectives

The aim of the course is to make the students able to design, code, test and document programs in the programming language C

See course description in Danish

Learning Objectives

  • work with ordinary data types and declare variables
  • use selections: if-, if-else- and switch-statements
  • use loops: while-, do-while- and for-statements and tell about recursion
  • prepare functions with arguments: call by value and call by reference
  • use standard I/O (keyboard and display) as well as text files
  • use structured data types: arrays with 1- and 2-dimensions and structs
  • use pointers in relations to the arrays
  • use the data structure
  • perform tests of programs
  • use flowchart and module diagrams as documentation of programs
  • use structurel programming by c. and .h files

Course Content

Program structure: From pseudo code through data-flow diagrams to modules, functions parameter transfer, loops and selections. I/O: Display, keyboard, and files. Simple search and sorting. At the end of the course, a small assignment summarizing the syllabus is prepared

Teaching Method

A flip classroom is used – short lecture and individual programming task. – assignments are the foundation for an oral individual exam, In the last part of the semester a group assignment within the curriculum

Faculty

Remarks

Section of AI, matematik andsoftware
Elektrisk Energiteknologi 1. semester
Elektroteknologi: 1. semester

See course in the course database.

Registration

Language

Dansk

Duration

13 weeks

Institute

Engineering Technology

Place

DTU Ballerup Campus

Course code 62712
Course type Graduate Engineer
Semester start Week 36
Semester end Week 49
Days Tues 8-12
Price

9.250,00 DKK

Registration