Course detail

Basics of Programming

FSI-SZPAcad. year: 2005/2006

An introduction to programming, programming language PASCAL in the developing studio DELPHI. The general-purpose computing and visualization environment MATLAB.

Language of instruction

Czech

Number of ECTS credits

4

Mode of study

Not applicable.

Learning outcomes of the course unit

Students will acquire basic skills in a programming. Namely, they will master formulating simple algorithms and implementing them in the PASCAL language, especially in the designer DELPHI studio. Moreover, they will also manage the basics of programming in the technical computing language MATLAB.

Prerequisites

No preliminary knowledge is expected.

Co-requisites

Not applicable.

Planned learning activities and teaching methods

Not applicable.

Assesment methods and criteria linked to learning outcomes

Classification reflects the quality of the semester assignment, as well as active participation in the seminars. The activity during seminars is also taken into account.
FINAL ASSESSMENT: If we measure the success in percentage points, then the classification grades are: A (excellent): 100--90, B (very good): 89--80, C (good): 79--70, D (satisfactory): 69--60, E (sufficient): 59--50, F (failed): 49--0.

Course curriculum

Not applicable.

Work placements

Not applicable.

Aims

The course is intended as an introduction to programming. The PASCAL language suits to this purpose very well. Therefore the course starts with an explanation of PASCAL basics, namely in the rapid development application studio DELPHI. Another goal of the course is to familiarize students with programming in the high-level technical computing language MATLAB.
The course aims to guide students to the ability of an independent work in an appropriate programming environment so as they could deepen their knowledge depending on their individual needs.

Specification of controlled education, way of implementation and compensation for absences

Attendance at lectures is recommended, attendance at seminars is required. Lessons are planned according to the week schedules. Absence from lessons may be compensated by the agreement with the teacher supervising the seminars.

Recommended optional programme components

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Not applicable.

Recommended reading

Not applicable.

Classification of course in study plans

  • Programme B3901-3 Bachelor's

    branch B3910-00 , 1. year of study, winter semester, compulsory

Type of course unit

 

Lecture

13 hours, optionally

Teacher / Lecturer

Syllabus

1. Delphi: Projects, forms, components Label, Edit, LabeledEdit, Button. Debugging, using help.
2. Delphi: Data types: Integer, Real, Boolean, Char. Variables, constants, expressions, selected functions from units System and Math. The component Timer.
3. Delphi: If statements, loops, components RadioFroup and BitBtn.
4. Delphi: Data type Char, string, functions for manipulating strings. Components Memo, StringGrid.
5. Delphi: Types defined by user, arrays, enumerated types, subrange types. Sorting. Components ListBox, ComboBox, ChechBox.
6. Delphi: File input and output, text files.
7. Delphi: Procedures and functions, units.
8. Delphi: Drawing, the object Canvas, components Image, ColorDialog, FontDialog, data types TColor, TPoint, TRect.
9. Delphi: The elaboration of a project based on an easy drawing.
10. Matlab: The environment, manipulation with numbers. Using help.
11. Matlab: Manipulation with matrices.
12. Matlab: If-statements, loops, scripts and m-functions. Debugging.
13. Matlab: Input and output, basics of graphics.

Computer-assisted exercise

26 hours, compulsory

Teacher / Lecturer

Syllabus

Exercises extend and deepen the subject-matter delivered in the respective lessons. Great emphasis is placed on the ability of an individual work in the Delphi environment, i.e. creating a project, employment of suitable components, assembly of an algorithm, its incorporating in the project, and finally in the debugging. The students will demonstrate the acquired knowledge and programming skills by elaborating semester assignments. With regard to Matlab, the aim is to manage the Matlab environment. Emphasis will be placed on programming with the maximal use of the matrix arithmetic. In every exercise at least one new project in Delphi (later at least one new m-function in Matlab) will be created.