Course Details

Algorithms and Programming

Academic Year 2024/25

NUB013 course is part of 1 study plan

NPC-SIK Summer Semester 1st year

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.

Credits

4 credits

Language of instruction

Czech

Semester

summer

Course Guarantor

Institute

Forms and criteria of assessment

course-unit credit and examination

Entry Knowledge

Fundamentals of algorithms and programming, basic knowledge of technical English

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

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)

Offered to foreign students

Not to offer

Course on BUT site

Lecture

13 weeks, 2 hours/week, elective

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

13 weeks, 2 hours/week, compulsory

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.