Search programme

​Use the search function to search amongst programmes at Chalmers. The study programme and the study programme syllabus relating to your studies are generally from the academic year you began your studies.

Syllabus for

Academic year
LEU482 - Computer programming
 
Syllabus adopted 2015-02-16 by Head of Programme (or corresponding)
Owner: TIDAL
7,5 Credits
Grading: TH - Five, Four, Three, Not passed
Education cycle: First-cycle
Major subject: Computer Science and Engineering, Information Technology
Department: 60 - APPLIED INFORMATION TECHNOLOGY


Teaching language: Swedish

Course module   Credit distribution   Examination dates
Sp1 Sp2 Sp3 Sp4 Summer course No Sp
0115 Written and oral assignments 1,5 c Grading: UG   1,5 c    
0215 Examination 6,0 c Grading: TH   6,0 c   13 Jan 2016 am L,  06 Apr 2016 pm L,  25 Aug 2016 am L

In programs

TIDAL COMPUTER ENGINEERING, Year 1 (compulsory)
TIELL ELECTRICAL ENGINEERING, Year 1 (compulsory)

Examiner:

Tekniklektor  Henrik Sandklef


Replaces

LEU480   Computer programming


  Go to Course Homepage

Eligibility:

In order to be eligible for a first cycle course the applicant needs to fulfil the general and specific entry requirements of the programme(s) that has the course included in the study programme.

Course specific prerequisites

Course LEU431 Digital och datorteknik or equivalent.

Aim

The aim of the course is to give students elementary skills in program development and to give an introduction to the C programming language.

Learning outcomes (after completion of the course the student should be able to)

Knowledge and understanding

  • analyse and implement a solution to a given problem
  • show basic understandning of prodedural programming
  • explain how a modular C program is composed
  • explain the different parts of the development process of a C program
  • explain how embedded programs are developed

Skill and ability

  • write structured and modular programs in C
  • compile a program, written in C, to executable code
  • write automatic tests to and debug a program
  • apply the following concepts alone and together:
  • static and dynamic memeory allocation
  • self written and external libraries
  • self written data structures
  • test the program on student’s own laptop and with the aid of a simulator

Valuation and attitude

  • decide when dynamic or static memory allocation shall be used
  • chose the degree of modulatiry by dividing the program
  • decide how the program shall communicate with the outside world


Content

The course is an introduction to software development in the language C. In this course we will learn how to implement a solution, in C, to a defined problem, how to cmmunicate with and to control hardware, debug program, control the memory allocation, write test code, use programs to automate builds.

The following concepts are taught:
  • Variables (static, automatic) and types
  • Expressions and  statements
  • Iterations, selections, sequences
  • Functions (argument, parameter, return values)
  • Character and string management
  • Array
  • IO and streams (at a basic level)
  • file management (at a basic level)
  • Standard and external libraries
  • Memory allocation
  • Pointer and pointer arithmetics

The course teaches or uses, to show concepts, the following tools:
  • GCC (GNU Compiler Collection)
  • GDB (The GNU Project Debugger)
  • Valgrind
  • Make 

Organisation

The course consists of lectures and computer exercises / laboratory equivalent of 6 credits points and a mandatory assignment of 1.5 credit points.

Literature

Specified at course start.

Examination

Written Exam (6 credit points ) and a compulsory assignment (1.5 credit points).
 At the first ordinary exam it is possible to add five bonus points (exam scores) from completed and passed assignments. The final grade is based solely on exam results, including any bonus points.


Page manager Published: Mon 28 Nov 2016.