Course detail

Algorithms and Programming

FAST-NUB013Acad. year: 2023/2024

Design of programs and applications in Microsoft Visual Basic.
Basic algorithms, structured programming, object-oriented programming, application object libraries and their use, solving engineering problems, simulation and animation techniques. Application of elementary numerical methods in continuum mechanics problems.

Language of instruction

Czech

Number of ECTS credits

4

Mode of study

Not applicable.

Department

Institute of Computer Aided Engineering and Computer Science (AIU)

Entry knowledge

Fundamentals of algorithms and programming, basic knowledge of technical English

Rules for evaluation and completion of the course

Extent and forms are specified by guarantor’s regulation updated for every academic year.

Aims

Topics include structured program design, event-drive programming, and Visual Basic program components. This is a course designed to introduce students to more advanced elements Visual Basic programming language. Students will design and write Windows applications in Visual Basic.

Programming in Visual Basic using modern techniques of events driven programming, component technology and object-oriented programming

Study aids

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Macur, J., Menšík, M., Apeltauer, T. Algoritmizace a programování v inženýrských úlohách. Elektronické učební texty FAST VUT, 2017, Brno. (CS)
Macur, J., Menšík, M. Objektově orientované programování a aplikační modely. Elektronické učební texty FAST VUT, 2017, Brno  (CS)
Macur, J. Řešené inženýrské úlohy v prostředí VBA. Elektronické učební texty FAST VUT, 2017, Brno  (CS)

Recommended reading

Král, M. 2012. Excel VBA - Výukový kurz, Computer Press, Brno, ISBN 978-80-251-2358-4 (CS)

Classification of course in study plans

  • Programme NPC-SIK Master's 1 year of study, summer semester, compulsory-optional

Type of course unit

 

Lecture

26 hod., optionally

Teacher / Lecturer

Syllabus

1. Computer model from the perspective of a programmer. Language development environment. 2. Variables, data types, constants, assignment statement. 3. Functions and procedures (ways of calling and transfering of parameters, global and local variables). 4. Built-in language elements, inputs and outputs. 5. Commands for flow control, conditional statements and loops. 6. Working with structured variables. 7. Structured and object-oriented programming, event-driven programming. 8. Application object libraries. 9. Fundamentals of simulation using numerical methods. 10. Animation techniques, program project. 11. Working with the file system, data conversion algorithms. 12. Examples of solving of engineering problems. Statistical and optimization problems, the initial task. 13. Examples of solving of engineering problems. Advanced solutions and animation of large deformations.

Exercise

26 hod., compulsory

Teacher / Lecturer

Syllabus

1. Development environment, the first program, program compilation and running. 2. Input and output in the program, using simple functions, program for solution of algebraic equations. 3. Decision-making runtime structures, simple cycle, program for the sum of infinite series. 4. User-defined functions and procedures, program for calculating of transcendental functions. 5. Spreadsheet environment for formatted input and output data. Programs for generating worksheets data. 6. Structured variables, programs for matrix operations and statistical calculations. 7. Use of object library for charting, program for solving initial value problems. 8. Algorithms for simulation and animation, program for simulation and visualization of dynamic nonlinear system. 9. Important objects in MS Excel library, program for automated solution of complex engineering problem. 10. Object Library of MS Word, programs for automated document processing. 11. Library for working with files, programs for automated processing and data conversion. 12. Programs for solving large deformation of the nonlinear continuum mechanics. 13. Testing of skills – program development and debugging.