0% found this document useful (0 votes)
15 views

Evo of Prog Languages

Programming languages allow people to communicate instructions to computers and are the building blocks of software. A programming language defines rules for writing programs through syntax and semantics. Compilers translate source code written in one language into another target language like machine code for execution. Interpreters directly execute programs without compilation by interpreting source code. Translators convert programs between different programming languages. Early languages like machine language and assembly used binary, while high-level languages are more abstract and portable. Programming approaches include procedural through ordered steps, functional through mathematical functions, and object-oriented through real-world objects.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Evo of Prog Languages

Programming languages allow people to communicate instructions to computers and are the building blocks of software. A programming language defines rules for writing programs through syntax and semantics. Compilers translate source code written in one language into another target language like machine code for execution. Interpreters directly execute programs without compilation by interpreting source code. Translators convert programs between different programming languages. Early languages like machine language and assembly used binary, while high-level languages are more abstract and portable. Programming approaches include procedural through ordered steps, functional through mathematical functions, and object-oriented through real-world objects.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming Languages

1. Programming languages is:


a. are the basic building blocks for all software, allowing people to tell computers
what to do and the means by which systems are developed.

b. A programming language or computer language is a standardized


communication technique for expressing instructions to a computer. It is a set of
syntactic and semantic rules used to define computer programs. A language
enables a programmer to precisely specify what data a computer will act upon,
how these data will be stored/transmitted, and precisely what actions to take
under various circumstances

c. An entity, in a program to be created and within this or also within other programs
as a whole be processed can (eg to be created, copied, shifted, or changed can).

2. Compiler is:
a. a computer program that translates a computer program written in one computer
language (called the source language) into an equivalent program written in
another computer language (called the output, object, or target language).

b. A program which translates the source code for a library unit into an object
module in a program library

c. A program that translates a high-level language, such as Basic, into machine


language

d. A software-development tool that translates high-level language programs into


the machine-language instructions that a particular processor can understand
and execute. OCde optimisation reduce instructions number and specialize the
code for a processor. These optimizations have to take into acount the processor
architecture features.

e. A program that translates a high level symbolic language to a low level machine
language

3. Interpreter is:
a. someone who mediates between speakers of different languages

b. An interpreter is a computer program that executes other programs. This is in


contrast to a compiler which does not execute its input program (the source
code) but translates it into executable machine code (also called object code)
which is output to a file for later execution. It may be possible to execute the
same source code either directly by an interpreter or by compiling it and then
executing the machine code produced

c. An interpreter is a practitioner of interpreting, an activity that consists of


establishing, either simultaneously or consecutively, oral or gestural
communications between two or more speakers who are not speaking (or
signing) the same language
4. Translator is:
a. a person who translates written messages from one language to another

b. a program that translates one programming language into another

c. Translation is an activity comprising the interpretation of the meaning of a text in


one language—the source text—and the production of a new, equivalent text in
another language—called the target text, or the translation.

Five generation of programming languages

5. Machine language is:


a. The lowest level language the computer understands. The computer converts all
high-level languages, such as BASIC, into machine language before executing
any statements. Machine language is written in binary form that a computer can
execute directly. Also called machine code or object code.

b. A language that can be used directly by the computer without intermediate


processing

c. A programming language that can be acted on (ie, executed) directly by the cpu.
Also called a first generation language (1GL).

d. The codes and format used by different machine manufactures within the
embroidery industry. Common formats include Barudan, Brother, Fortran, Happy,
Marco, Meistergram, Melco, Pfaff, Stellar, Tajima, Toyota, Ultramatic, and ZSK.
Most digitized systems can save designs in these languages so the embroidery
machine can read the computer disk.

6. Assembly language is:


a. A programming language that is very similar to machine language, but uses
symbols instead of binary numbers

b. The lowest-level, and most difficult, language you can use to program a
computer. Known as 2GL

c. A symbolic form of computer language used to program computers at a


fundamental level.

7. High level language is:


a. a programming language where each instruction corresponds to several machine
code instructions. Instructions in this language must be translated by a compiler
or interpreter before they can be processed.
b. A programming language whose statements are translated into more than one
machine language instruction. Examples of high level languages are BASIC,
FORTRAN, COBOL, and PASCAL.

c. A high-level programming language is a programming language that is more


user-friendly, to some extent platform-independent, and abstract from low-level
computer processor operations such as memory accesses. See programming
language for a detailed discussion. Aslo known as 3GL

8. Fourth generation language is:


a. A language in which the code generation is computer assisted

b. A fourth-generation programming language (or 4GL) is a programming language


designed with a specific purpose in mind such as the development of commercial
business software

9. Natural language is:


a. A human language whose rules have evolved from current usage, as opposed to
an artificial language whose rules are prescribed prior to its construction and use,
as in the case of a computer language. In database searching, a natural
language search allows the user to type words as input in the same way that a
person normally speaks them

b. Searching using everyday language, full sentences or questions

c. Close to human language. Also known as 5GL

Programming languages approaches

10. Procedural approach is:


a. A programming approach whereby the developer specifies exactly what must be
done and in what sequence

b. Synonym for algorithmic

11. Functional approach is:


a. A programming paradigm that treats computation as the evaluation of
mathematical functions.

12. Object-oriented approach is:


a. A design methodology decomposing problems into objects rather than
procedures. i.e. FORTRAN and C are procedural languages. C++ is a object-
oriented language.

b. A style of software development and packaging based on how real world objects
relate to one another. Data and procedures are combined in objects; objects
communicate with each other via messages; similar objects are grouped together
into classes; data and procedures are inherited through a class hierarchy

You might also like