221k views
2 votes
1. State the types of programming language

2. Describe what is meant by an imperative language and declarative language
3. What is the relationship between lines of object code and lines of 2nd generation language code
4. What is the relationship between the lines of object code and the lines of 3rd generation code

1 Answer

4 votes

Answer:

All four questions are explained below :

Step-by-step explanation:

  1. The types of programming language are: Procedural Programming Language, Functional Programming Language , Object-oriented Programming Language, Scripting Programming Language,Logic Programming Language. For example: C, C++, Java, FORTRAN, PHP language etc.
  2. Imperative language means code is executed line by line, in sequence. And declarative language means that the program itself specifies what next is to be done not how it is done.
  3. One line of 2nd generation is equivalent to one line of object code.
  4. One line of 3rd generation is equivalent to many lines of object code.
User Demented Hedgehog
by
3.6k points