Duration
15h Th, 15h Pr
Number of credits
Bachelor in chemistry | 2 crédits |
Lecturer
Language(s) of instruction
French language
Organisation and examination
Teaching in the second semester
Schedule
Units courses prerequisite and corequisite
Prerequisite or corequisite units are presented within each program
Learning unit contents
This first course in programming aims at making the student comfortable with the basis techniques able to solve a numerical problems by means of a computer and a structured programming language (C++). After a general introduction into the working principle of a computer, the elementary components of the programming language C/C++ will be explained and their appplication will be demonstrated and discussed.
Topics of the course in detail:
- electronic logic based on transistors
- information in terms of bits and bytes
- the working principle of a computer
- syntax and elementary instructions of C/C++
- algorithmic tools
- functions
- file handling
- arrays
Learning outcomes of the learning unit
The principal objectives of the course are
- to learn how to realize small programs in order to solve numerical problems,
- to get used to the general techniques of programming (loops, functions, arrays, ...),
- to know how a computer works in principle, in order to judge what is practicable in programming (e.g. from the memory and CPU point of view).
Prerequisite knowledge and skills
Basic mathematics and physics.
Planned learning activities and teaching methods
5 practical lessons hands on the computer.
Mode of delivery (face to face, distance learning, hybrid learning)
Theory classes + practical sessions
Recommended or required readings
Notes of the course will be uploaded at the beginning of each lecture.
Exam(s) in session
Any session
- In-person
written exam ( open-ended questions )
Additional information:
The student will be evaluated on his/her ability to use a computer to write a simple program that solves a given numerical problem.
The exams consists in a small written part dealing with the programming language itself, and a practical part, hands on the computer, with simple programming problems to solve.
Work placement(s)
Organisational remarks and main changes to the course
Contacts
Peter Schlagheck
Département de Physique
Université de Liège
IPNAS, building B15, office 0/125
Sart Tilman
4000 Liège
Phone: 04 366 9043
Email: Peter.Schlagheck@ulg.ac.be
http://www.pqs.ulg.ac.be
Association of one or more MOOCs
Items online
Bonus
Recursion
Chapter 1
Electronic logic
Chapter 2
Binarized information
Chapter 3
The working principle of a computer
Chapter 4
Elementary programming in C/C++
Chapter 5
Algorithmic tools
Chapter 6
Functions
Chapter 7
Arrays
C/C++ lecture notes
Lecture notes on the C/C++ programming language by Prof. Thierry Bastin
The discord environment
This document contains technical information on the discord environment.
TP session 1
usage of code::blocks, variables, elementary operations, branchings, loops
TP session 1 - presentation
usage of code::blocks, variables, elementary operations, branchings, loops