Study-Unit Description

Study-Unit Description


CODE CIS1067

 
TITLE Computer Programming for Engineers

 
UM LEVEL 01 - Year 1 in Modular Undergraduate Course

 
MQF LEVEL 5

 
ECTS CREDITS 5

 
DEPARTMENT Computer Information Systems

 
DESCRIPTION This study-unit provides an introduction to computer programming and its applications in mechanical engineering leading to mathematical modelling, CAD/CAM customization, data analysis and more. The following programming functionalities are introduced:
- Flow charts;
- Data types - Integer, Real, Boolean, String, Conversion between data types, Constants and Variables;
- Assignment statements;
- Operators - Arithmetic, String, Relational, Logic;
- Input and Output;
- Loops - For Next loops, Do Until loops, Do While Loops, Exit Statements, Nested loops;
- Conditionals - If Then Else, Case;
- Subroutines and Functions - Recursion, Standard Functions, User Defined Functions;
- Arrays - Single and Multi-Dimensional;
- Array manipulation;
- Simple file manipulation;
- Simple debugging techniques;
- Application to spreadsheets - Absolute and Relative cell referencing, VBA editor, Reading and Writing to cells, Formula / Text / Value, GUI / Forms;
- Objects – button / check boxes / option buttons.

Study-unit Aims:

- To introduce fundamental programming techniques to mechanical engineering students by the use of the Visual BASIC for Applications (VBA and its current equivalent) programming language platform.
- To provide the necessary skills to write macros and functions embedded in spreadsheets.
- To assist students in developing the ability to debug macros and functions.

Learning Outcomes:

1. Knowledge & Understanding:

By the end of the study-unit the student will be able to:
- Characterize the basic components and execution of a program;
- Recognize the importance and use of programming in Mechanical Engineering.

2. Skills:

By the end of the study-unit the student will be able to:
- Design structural algorithms;
- Write and debug programs;
- Solve problems using computational means.

Main Text/s and any supplementary readings:

Steven C. Chapra, 'Introduction to VBA for Excel' Second Edition, ISBN-13:987-0-13-239667-7, 2010, Pearson higher Education, Prentice Hall.

 
ADDITIONAL NOTES Recommended Qualifications: Intermediate Level Computer Science

 
STUDY-UNIT TYPE Lecture, Independent Study and Practical

 
METHOD OF ASSESSMENT
Assessment Component/s Assessment Due Sept. Asst Session Weighting
Assignment SEM2 Yes 30%
Examination (2 Hours) SEM2 Yes 70%

 
LECTURER/S Saviour Baldacchino (Co-ord.)

 

 
The University makes every effort to ensure that the published Courses Plans, Programmes of Study and Study-Unit information are complete and up-to-date at the time of publication. The University reserves the right to make changes in case errors are detected after publication.
The availability of optional units may be subject to timetabling constraints.
Units not attracting a sufficient number of registrations may be withdrawn without notice.
It should be noted that all the information in the description above applies to study-units available during the academic year 2023/4. It may be subject to change in subsequent years.

https://www.um.edu.mt/course/studyunit