Class Notes (839,300)
Canada (511,257)
ITM 207 (38)
Lecture

Programming langauges lecture.docx

3 Pages
142 Views

Department
Information Technology Management
Course Code
ITM 207
Professor
Youcef Derbal

This preview shows page 1. Sign up to view the full 3 pages of the document.
Description
Input/ Output Control structure: those that control the flow of processes(logical operators or relational operators) Loops Decisions Computer Programing Language - Language (notation ,syntax, semantics) used to write computer program instructions towards the specification of some algorithm or computation - So far we specified Algorithms using flowcharts (graphical modelling language). - Programming languagesm such as Java, C#, and VB. NET are needed to develop a computer executable specification. - Declarative Programming languages: (Ex: LISP, PROLOG) o An Algorithm is specified in terms of the results expected from the processing. - Imperative Programming Languages (ex: FORTAN, JAVA…) o An algoritm is Declarative Programming Language: defines what the result should be. ( the what) - Functional programming: LISP (List Processing) o (defun factorial (n) o (if (<= n 1) o 1 o (* n (factorial (- n 1) )))) - Logical Programming: PROLOG o Factorial (0,1). o Factorial (N,F) :-  N>0  N1 is N-1  Factorial (N1,F1),  F is N * F1 Imprative Programming Langauges: Tells step by Step Instructions to do certain steps (the how) - Procedural Programming: FORTRAN o FUNCTION FACT (N)  FACT=1 o DO 10 J=2, N o FACT = FACT *J o 10 CONTINUE o RETURN o END - Objective- Oriented Programming: JAVA o Static in
More Less
Unlock Document

Only page 1 are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit