Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please answer all the following questions. Thanks! Questions & Exercises 1. In w

ID: 3708680 • Letter: P

Question

please answer all the following questions. Thanks!

Questions & Exercises 1. In what sense is a program in a third-generation language machine inde- pendent? In what sense is it still machine dependent? 2. What is the difference between an assembler and a compiler? 3. We can summarize the imperative programming paradigm by saying that it places emphasis on describing a process that leads to the solution of the problem at hand. Give a similar summary of the declarative, func- tional, and object-oriented paradigms 4. In what sense are the third-generation programming languages at a higher level than the earlier generations?

Explanation / Answer

1.Answer-: A program in a third generation language is  machine independent as program written in that language can be compiled to run on many different devices.Now there are many high level language available which is machine independent like python and third generation language are less machine independent than these languages .

2.Answer-:A compiler is a simple program which converts the source code written by the humans to a machine language or assembly language .But the assembler converts the assembly language to a machine language.

3.Answer-:Declarative approach focuses on what needs to be achieved instead of instructing how to achieve it, It describes a particular class of problems with language implementation to find the solution

Functional paradigm treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data and programming is done with expression rather than statement.

Object oriented paradigm  is a programming paradigm based upon objects which is associated with both data and methods that aims to incorporate the advantages of modularity and reusability. Objects, which are usually instances of classes, are used to interact with one another objects to design applications and computer programs.

4.Answer-:3GLs emphasize on more abstraction than previous generations of languages, and thence said as higher level languages than their first and second generation and it is  easier to read, write, and maintain and helps computer to take more care of essential and non-essential details than that of previous genertaions