Lecture 1- Introduction
Lecture 1- Introduction
&
Computer Programming
Fundamentals
Computer Programming
COMP 361
Presented By: Eng. Bushra
Melhem 1
Outline
o Introduction to MATLAB
o MATLAB Applications
o Computer Programming Fundamentals
Computer internal organization
Computer software
Computer Programming
Programming Languages
Programming Process
o Summary
What is MATLAB
o The toolkits extend this capability with many more functions in various
specialties such as:
Simulink
Symbolic Math Toolbox
Control System Toolbox
Signal Processing Toolbox
DSP System Toolbox
Statistics Toolbox
Optimization Toolbox
Image Processing Toolbox
MATLAB Applications in
Academics
MATLAB will be a beneficial tool in problem
solving through out your degree program. It
will be used in courses such as:
Circuits & Electronics
Signals & Systems
Control System
BioMedical Image Processing
Digital Signal Processing
MATLAB Application in Industry
o Machine language
− Programs and memory locations are written in
strings of 0’s and 1’s
− It was the only option available to early
programmers.
o Assembly Language
− Substitute mnemonic codes for 0’s and 1’s
− For example, Add for addition, Comp for
compare… etc.
− Use names rather than binary addresses for
memory locations.
Programming Languages-Contd
High Level Languages
o C
Originally designed to write systems software
Offers the ease of use of a high-level language with the efficiency
of an assembly language
Very portable – can be used with virtually every combination of
computer and operating system (any platform)
o Java
A network-friendly programming language
Very useful for Internet development
Java applets can run in the user’s Web browser
Categories of High Level Languages
1. Procedural Language
or
o Only one flow line should enter a decision
symbol, but two or three flow lines, should leave
the decision symbol
Common Flowchart Symbols- Contd
Gross Pay = X * Y
Write
Correct the symbols Gross Pay
of this flowchart
END
Flowchart Example
Flowchart for a
Cash Register
3. Coding the Program