Skip to main content

ID120V Basic C-programming 7.5 credits

Course offerings are missing for current or upcoming semesters.
Headings with content from the Course syllabus ID120V (Autumn 2011–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

The course consists of software development including problem analysis, structuring, editing the source code, compiling, linking, execution, debugging.
C programming with

  • Data types basic types, fields, pointers, structures.
  • Operators for arithmetic, assignment, bithantering
  • Preprocessor usage for soursecode such as inclusion of standard libraries and headers
  • File Management
  • Function calls

Intended learning outcomes

This course will provide students with basic knowledge of the various phases of software development as a basis for future programming courses. This course will provide an overview of the programming language C.
After completing the course the participants should be able

  • Analyze simple problems and describe them in terms of structural diagrams and translate them to C programs using sequence, selection and recurrent elements.
  • Edit, compile, link, execute and debug simple C program.
  • Use C-functions using variables, fields and data structures as parameters and return values.
  • Read and write data records to text and binary.
  • For higher grades the student must also be
  • Implement your own format or by a self-defined data type which is then processed through the input, stripping, sorting, calculating, file management, etc..
  • Dynamic memory management of data items
  • Put together programs using header files and C files

Literature and preparations

Specific prerequisites

Completed upper secondary education including documented proficiency in Swedish corresponding to Swedish b and English corresponding to English A.

Recommended prerequisites

Good computer skills.

Equipment

Preferably a laptop of your own.

Literature

Vägen till C  av Ulf Bilting och Jan Skansholm ISBN 91-44-01468-6

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F

Examination

  • INL1 - Hand in Theory 1, 1.0 credits, grading scale: P, F
  • INL2 - Hand in Theory 2, 1.0 credits, grading scale: P, F
  • LAB1 - Basic Programming, 1.5 credits, grading scale: P, F
  • LAB2 - Parameter - Passing, 2.0 credits, grading scale: P, F
  • LAB3 - Files, 2.0 credits, grading scale: P, F
  • PROJ - Programming Project, - credits, grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Examination is carried out gradually in the form of theory questions and exercises and, if approved, leads to a basic grade.
For higher grades a certain amount of increased depth in theory needs to be shown in the form of a small individual project work.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Technology

Education cycle

First cycle

Add-on studies

No information inserted

Supplementary information

The course is based on the earlier courses ID135V, and  6B4020.
This new, ID120V, course has been expanded.