TDT4110
Information Technology, Introduction
Autumn
Trondheim
Norwegian
About this course
Content
The course gives an introduction to basic procedure-oriented programming in Python. Concepts covered are: Variables and data types, representation of numbers and its significance in calculations (such as rounding errors). Input and output. Control structures: Sequence, selection and repetition. Structuring and division of programs; functions and modules. Data structures: Strings, lists, tuples, tables, sets and records (dictionaries). File management, persistent storage of information, and exception handling. Basic understanding and use of the modules NumPy and Matplotlib for calculation and visualization.
Learning outcomes
Knowledge:
- K1: Can explain fundamental principles for digital representation of information.
- K2: Can explain the central mechanisms for procedural programming in Python.
- K3: Can explain fundamental algorithms for generic programming as well as for basic numerical calculations.
- K4: Can explain some common ways that AI can be used in programming
Skills:
- S1: Be able to use the basic elements in practical, procedure-oriented programming, also by completing code where fragments are missing, with and without the use of AI.
- S2: Be able to use relevant programming tools for development, testing and bug fixing of programming code.
- S3: Be able to explain your own code to others and AI, and give constructive feedback to others' code.
General competence:
- G1: An ability to reflect on the use of programming for calculations within their own dicipline.
- G2: An ability to reflect on the approprateness of the use of AI as a tool to write code and for learning.
Teaching methods
Lectures, exercise lectures, mandatory exercises.