TDDB22 Introduction to Programming, 7,5 ECTS-points
/Programmering I, grundkurs/

Advancement level:
B

Aim:
The course presents a high level programming language, Pascal. Some methods for program development and some tools for programming and testing are also presented. The course shall give the student: - an overview of computer science - some knowledge of how a computer works from inside and out - some understanding of why methods are so important - deeper understanding of the programming language Pascal, to be able to work with more complex exercises - an overview of some problems in a project - an overview of how to solve more complex problems in a methodical way - some understanding for some tools used within programming implementation and testing

Course organization:
The course is given over two periods. In the first period the programming language Pascal is presented and in the other period a more complex exercise takes most of the time (there are a few exercises in the Pascal language left from the first period). The lessons are used to teach programming in Pascal and the lectures are used to give the course a stability, and to summarize parts of the programming and methods to develop programs. The course needs a large amount of the students home time.

Course content:
Summary of computer science history, computer equipment, operating system, compilers etc. Programming in Pascal: simple types, data structures, statements, procedures and functions, I/O including files and pointers and linked lists. Some methods to specify and document a program and some tools to use in a project.

Course literature:
Haraldsson, Anders, Programmering i Pascal, (Swedish), Studentlitteratur, 1985. Course material from the Dept. of Computer and Information Science (IDA)

PRA1, 5 p.
Course language is swedish.