Chapter 6: Programming Language

Chapter 6: Programming Language

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

imperative paradigm (aka procedural paradigm)

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (18)

Section 1

(18 cards)

imperative paradigm (aka procedural paradigm)

Front

traditional approach to the programming process

Back

Programming paradigm

Front

Program developed into different paths as alternative approaches = programming paradigms

Back

debugging

Front

Locating and correcting errors in a program.

Back

developer of first compiler; often told story of demonstrating a translator in GERMAN terms, rather than English

Front

Grace hopper

Back

Assembly language

Front

A mnemonic system for representing programs

Back

Formal language

Front

programming language

Back

2nd generation

Front

Assembly Code Uses mnemonics Easier to program in than 2nd Generation but still difficult. One Assembly Language instruction translates to one Machine Code Instruction (1-1 relationship) Needs to be translated into Machine Code for the computer to be able to execute it

Back

Interpreters

Front

alternative to translators =emerged as another means of implementing third-generation languages > a bit different from translator

Back

3rd generation

Front

high-level language

Back

Examples of 3rd generation programming language

Front

a. FORTRAN (Formula Translator) b. COBOL (Common Business-Oriented Language)

Back

Use of primitives to design products;

Front

1. use of high-level primitives to represent concept associated with major feature of product 2. then, translating the primitive to LOWER-level concepts (for details of implementation), using TRANSLATO R

Back

How are interpreters different from translators?

Front

> they do not produce machine-language copy of program that would be executed later > they execute instructions from high-level form (straight off)

Back

3rd generation of programming language:

Front

> machine independent: does not rely on characteristics of particular machine >primitives in higher level; instructions expressed in larger increments

Back

Translator

Front

program written that translated programs expressed in these high-level primitive into machine-language programs (high level--> lower level primitives) *translation programs= "compilers"

Back

disadvantages of assembly language

Front

1. Programs written in assembly language cannot be transported to another computer design 2. Programmer; forced to think terms of the small, incremental steps

Back

Assemblers

Front

programs developed to convert mnemonic expressions into machine language

Back

Natural Language

Front

languages like German, Latin, English

Back

1st generation

Front

Machine languages were the 1st languages available for programming computers. (Ex: 0s,1s.)

Back