Professional Documents
Culture Documents
Assignment 2 Twer
Assignment 2 Twer
Assignment #2
2. What is a programming language? What are the types of programming languages? Describe
each in brief.
➔ a vocabulary and set of grammatical rules for instructing a computer or computing
device to perform specific tasks.
Types of Programming languages
A. Procedural Programming Language
➔ used to execute a sequence of statements which lead to a result.
B. Functional Programming Language
➔ stored data, frequently avoiding loops in favor of recursive functions.
C. Object-oriented Programming Language
➔ views the world as a group of objects that have internal data and
external accessing parts of that data.
D. Scripting Programming Language
➔ language that is interpreted rather than compiled ahead of time.
E. Logic Programming Language
➔ let programmers make declarative statements and then allow the
machine to reason about the consequences of those statements.
4. What are the steps in the program development? Describe any two.
❖ Debug the program
➔ The computer user must debug. This is the process of finding the "bugs" on
the computer.
❖ Formalize the solution
➔ One must run the program to make sure there are no syntax and logic errors.
5. Write a short note on Algorithms and flowcharts.
❖ Algorithms
➔ procedure or formula used for solving a problem.
❖ Flowcharts
➔ a diagram that represents a set of instructions.
6. Explain what maintenance of a computer program is and when it becomes necessary.