Comprog1 - Lecture 1
Comprog1 - Lecture 1
Comprog1 - Lecture 1
COMPUTER
PROGRAMMING 1
Prepared By:
Prof. Jomariss B. Plan, MSIT, SMRIIT
Dr. Joel B. Mangaba, FRIIT
CCS Faculty
Week 1:
REVIEW IN PROGRAMMING CONCEPTS
Learning Outcomes
At the end of the topic session, the students should be
able to:
• Explain the Concepts of Programming Language
• Apply qualities of a good program design in
development process.
• Decide the resources required in programming.
Program
• Machine Language
• Assembly Language
• High-level Language
• 4GL
Programming Languages: Generations
First Generation
Machine language
Second Generation
Assembly language
Third Generation
“High-level” languages such as Pascal, C, COBOL, Fortran
Fourth Generation
Scripting languages such as SQL, Applescript, VBScript
Fifth Generation?
Natural language? Automatic code generation? Object-
oriented languages?
MACHINE LANGUAGES
• The lowest level of programming language.
• Only understood by computers and consists pure
numbers.
• Machine language consists of strings of binary
numbers (i.e. 0s and 1s) and it is the only one
language, the processor directly understands.
ASSEMBLY LANGUAGES
• It is similar to machine language but assembly
language is much easier to understand than
machine language.
• This language uses mnemonics code (symbolic
operation code like ‘ADD’ for addition) in place of
0s and 1s. The program is converted into machine
code by assembler.
• Op Code and Operand
HIGH-LEVEL LANGUAGES
PASCAL
• Pascal was named after French
Mathematician Blaise Pascal.
• Niklaus Wirth (late 1960’s)
History of Programming Languages
History of Programming Languages
History of Programming Languages
History of Programming Languages
C Language
• Dennis Ritchie (1972)
• It was influenced by another
language called B developed
by Ken Thompson.
• Used to write Operating
Systems programs.
History of Programming Languages
C++ Language
• developed by Bjarne
Stroustrup.
• Superset of C.
History of Programming Languages
Procedures in Programming
• Portability
• Maintainability
• Efficient
• Reliable
• Machine Independence
• Cost Effectiveness
• Flexible
References
Online
http://www.cs.tau.ac.il/~msagiv/courses/pl17/overview.pdf
https://www.researchgate.net/publication/317182495_INTRODUCTION_TO_COMPUT
ER_PROGRAMMING_BASIC
https://en.wikipedia.org/wiki/C%2B%2B
https://www.geeksforgeeks.org/software-engineering-program-development-life-
cycle-pdlc/
https://www.etutorialspoint.com/index.php/8-characteristics-of-a-good-computer-
program