SKMM1013 Programming for Engineers IR DR ISTAS FAHRURRAZI NUSYIRWAN C24-337 – istaz@mail.fkm.utm.my - 0137442310
SYNOPSIS This course formally introduces the concept of computers, algorithms, programming languages, pseudocode, and design of programs for solution to computational engineering problems. The two programming languages introduced in this course are C and MATLAB. Topics covered in this course include data types, constants, variables, arithmetic operations, assignment statement, looping, formatted I/O, functions, arrays, matrix operations, data structures, plotting, and model building.
COURSE LEARNING OUTCOME Outline programming concept, flow chart and algorithm for solving given computational processes. (PO1,C4,HW,PR) Construct appropriate C programs for solutions to computational engineering problems. (PO{1,3,7},C5,HW,T,PR) Construct appropriate MATLAB programs for solutions to computational engineering problems. (PO{1,3,7},C5,HW,T,PR) Illustrate graphical solutions for given engineering problems. (PO{1,3},C3,HW,PR)
TEACHING METHODOLOGY The couse introduces the basic programming concepts, algorithms, and programming languages. Teaching and learnig are done through lectures, hand-on sessions, and problem solving. Students are required to complete the given projects. students are required to write reports on the assigned projects.
WEEK 1 Part I : Programming with C Introduction to Computers & Programming Programming Concept Flowchart and Algorithm
WEEK 2 Introduction to C C Character Set, Data Types, Constsant, Variables, and Arrays Declarations, Expression, and Statements
WEEK 3 Arithmetic Operators Relational and Logical Operators Conditional Operators
WEEK 4 Data Input and Output Writing, Compiling, and Executing a complete C program
WEEK 5 Data Files Opening and Closing a Data File Processing a Data File
WEEK 6 Control Statements Branching and Looping
WEEK 7 Functions Defining and Accessing a Funtion Passing Arguments to a Function
WEEK 9 Arrays Defining an Array Processing an Array 2D Arrays
WEEK 10 Project
WEEK 11 Part II: Programming with Matlab Introduction to Matlab Array, Files and Plots Array and Matrix Operations
WEEK 12 Array and Matrix Operations Functions and Files User-Defined functions
WEEK 13 Relational and Logical Operators Conditional Statements and Loops
WEEK 14 Advance Plotting Advance Plotting and Model Building
WEEK 15 Project
REFERENCES Theory and Problems of Programming with C, Byron S. Gottfried, Shaum’s Outline Series,McGraw Hill (1996). A Consice Introduction to Matlab, International Edition, William J.Palm III, McGraw-Hill (2008) Or any suitable and relevant books
GRADING NO ASSESS NUMBER % EACH %TOTAL DATES 1 ASSIGNMENT 10 2 TEST 1 25 3 TEST 2 4 PROJECT 20 40 100