Course Title
|
English Code /No
|
Arabic Code/No.
|
Contact Hours /Week
|
c.U.
|
Th.
|
Pr.
|
Tr.
|
TCU
|
Computer Programming
|
EEN 170
|
هن ك 170
|
-
|
4
|
-
|
2
|
Pre-Requisites
|
MATH 110, CPIT 100
|
Introduction to computers. Simple algorithms and flowcharts. Solving engineering and mathematical problems using a mathematically oriented programming language. Programming concepts: i/o, assignment, conditional loops, functions and subroutines. Programming selected numerical and non-numerical problems of mathematical and engineering nature.
|
Objectives:
On successful completion of this course, student will be able to:
define the basics of Matlab
apply Matlab to solve engineering problems
express the fundamentals of programming
complete a simple programs
act with the programs using functions.
Contents:
1-Engineering Problems and the Need for Computer Solutions
2-Basics of MatLab
3-Arrays, Matrices and Matrix Operations.
4-User-Defined Functions.
5-Working with Data Files.
6-Basics of Programming
7-Program Design and Development.
8-Relational Operations and Logical Variables.
9-Logical Operators and Functions.
10-Conditional Statements
11-Loops
12-Debugging MatLab Programs.
13-Graphing Functions
14-Introducing Simulink
Course Outcomes:
A-Knowledge:
On successful completion of this course, student will be able to:
classify Computer hardware and software
identify computer algorithm, flow charts and programs
name different programming function
define decisions and logical operations
recognize looping and branching
B-Cognitive Skills:
On successful completion of this course, student will be able to:
design computer algorithms
apply flow charts in program solving
analyze Engineering problems and set-up the solution with suitable program
apply looping and branching in solving engineering problems
C-Interpersonal skills and responsibilities:
On successful completion of this course, student will be able to:
access the internet and search for information to obtain knowledge about a specific problem.
complete a technical report
work for building an accurate computer program
participate in a project using MATLAB programming
communicate effectively.
seek appraise information from a wide range of sources.
collaborate and innovate in problem solving.
use general IT tools such as word processors, spreadsheets.
manage time and resources
Assessment methods for the above elements
Written exams (mid-term and final) to assess understanding and scientific knowledge.
Assignments and quizzes to assess ability to solve problems and analyze results independently.
Scientific report to assess practical, and presentation skills
Weighting of assessments
Quizzes 10 %
Assignment 10%
Midterm 20%
Lab Performance 20 %
Final exam 40 %
Total 100 %
Text book:
- Brian H. Hahn, and Daniel T. Valentine, “Essential MATLAB for Engineers and Scientists”, 4th ed.
Academic Press, 2010.
Supplementary references
- William J. Palm III, Introduction to MatLab 7 for Engineers, McGraw-Hill International Edition, 2005.
Time table for distributing Practical course contents
|
week
|
Practical course contents
|
Remarks
|
1
|
Engineering Problems and the Need for Computer Solutions
|
|
2
|
Basics of MatLab: Menus – Toolbars – Computing with MatLab – Script Files and the Editor/Debugger – MatLab help System.
|
|
3
|
Arrays, Matrices and Matrix Operations.
|
|
4
|
User-Defined Functions.
|
|
5
|
Working with Data Files.
|
|
6
|
Basics of Programming: Algorithms - Pseudo Code - Flow Charts – Programming Structures.
|
|
7
|
Program Design and Development.
|
|
6
|
Relational Operations and Logical Variables.
|
|
9
|
Logical Operators and Functions.
|
|
10
|
Conditional Statements: if – else – elseif - switch
|
|
11
|
Loops: for – while – break – continue.
|
|
12
|
Debugging MatLab Programs.
|
|
13
|
Graphing Functions: XY Plots – Sub-Plots
|
|
14
|
Introducing Simulink.
|
|
15
|
Final exam.
|
|
|