Computer Programming
General
- Code: ΓΕΝ006
- Semester: 2nd
- Study Level: Undergraduate
- Course type: General Background
- Teaching and exams language: Ελληνικά
- The course is offered to Erasmus students
- Teaching Methods (Hours/Week): Lectures (3)
- ECTS Units: 3
- Class Schedule:
- Exams Schedule:
Course Contents
Introduction to programming. Algorithms and flowcharts. Matlab environment (Octave). Command
line. Constants, variables, arrays, library functions. Arithmetic operations with scalar variables and
arrays. Help commands and files. Writing programs. .m Files. Input and output commands (input,
disp, fprintf). User-defined functions using inline. Program execution. Debugging. Decision-making
statements (if, switch). Looping statements (for, while). Counters, accumulators. Array indexing.
Graphical representations. Plotting commands (plot, figure, hold, axis, xlabel, ylabel, title, plot3). 3D
graphs (meshgrid, mesh, surf, contour). User-defined functions using the ‘function’ keyword. function
calls. recursion. Data files, reading, writing. Symbolic toolbox. Symbolic variables, functions, roots,
derivatives, integrals, differential equations. Data modeling: curve fitting, curve fitting in Matlab
Educational Goals
Upon completing this course students should be able to define the way computers work, basic
principles of programming, the value of computers for civil engineering, build short programs for
engineering applications, calculate numerical problems for civil engineering though computer
programming.
General Skills
– Working independently
– Team work
– Decision-making
– Criticism and self-criticism
– Production of free, creative and inductive thinking
Teaching Methods
c.
Face to face.
Use of ICT means
The course is taght in a computer cluster room with
Matlab/(Octave clone) and open source GNU
Teaching Organization
| Activity | Semester workload |
| Lectures | 13 |
| Practical exercises | 39 |
| Individual study | 26 |
| TOTAL | 78 |
| Total | 156 |
Students Evaluation
Written final examination (50% of the final grade) that
includes:
• Open ended questions
• Problem-solving exercises
• Group written assignment (2/3 students) (30% of
the final grade)
• Individual laboratory work during the course (20%
of the final grade).
Recommended Bibliography
- Γραββάνης Γιώργος, Γιαννουτάκης Κωνσταντίνος, Προγραμματισμός με τη Χρήση Matlab,
Εκδόσεις Α. ΠΑΠΑΣΩΤΗΡΙΟΥ & ΣΙΑ ΟΕ, 2012, ISBN: 978-960-491-057-1 - Stormy Attaway, Matlab: Μια πρακτική εισαγωγή στον προγραμματισμό και την επίλυση
προβλημάτων, Εκδόσεις Κλειδάριθμος ΕΠΕ, 2016, ISBN: 978-960-461-663-3 - Musto J., Howard W., Williams R., Υπολογιστική Μηχανική με Matlab και Excel, Εκδόσεις
Τζιόλα, 2015, ISBN: 978-960-418-504-7 - [In Greek]. Γραββάνης Γιώργος, Γιαννουτάκης Κωνσταντίνος, Προγραμματισμός με τη Χρήση Matlab,
Εκδόσεις Α. ΠΑΠΑΣΩΤΗΡΙΟΥ ΣΙΑ ΟΕ, 2012, ISBN: 978-960-491-057-1
-[In Greek]. Stormy Attaway, Matlab: Μια πρακτική εισαγωγή στον προγραμματισμό και την επίλυση
προβλημάτων, Εκδόσεις Κλειδάριθμος ΕΠΕ, 2016, ISBN: 978-960-461-663-3
-[In Greek]. Musto J., Howard W., Williams R., Υπολογιστική Μηχανική με Matlab και Excel, Εκδόσεις
Τζιόλα, 2015, ISBN: 978-960-418-504-7
