Week 2b Flashcards

1
Q

Describe COBOL

A

Common Business Oriented Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Who was the principal mentor

A

Grace Murray Hopper(1906-1992)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cobol was based on and what features did it have

A

FLOW MATIC
Features:
* Names up to 12 characters, with embedded hyphens
* English names for arithmetic operators
* Data and code were completely separate
* Verbs were first word in every statemen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What were the design goals

A
  • Must look like simple English
  • Must be easy to use, even if that means it will be less powerful
  • Must broaden the base of computer users
  • Must not be biased by current compiler problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What design problems did they have

A

Arithmetic expressions?
Subscripts
Fight among manufactures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe BASIC

A
  • Beginner’s All purpose Symbolic Instruction Code
  • Designed by Kemeny & Kurtz at Dartmouth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Mention goals for BASIC

A
  • Easy to learn and use for non-science students and as a path to
    Fortran and Algol
  • Must be ”pleasant and friendly”
  • Fast turnaround for homework
    9
  • Free and private access
  • User time is more important than computer timE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe LISP

A
  • LISt Processing language (Designed at MIT byJohn
    McCarthy)
    AI research needed a language that:
  • Process data in lists (rather than arrays)
  • Symbolic computation (rather than numeric)
  • Syntax is based on the lambda calculus
  • No need for variables or assignment
  • Control via recursion and conditional expressions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the status of LISP

A

Still the dominant language for AI
* COMMON LISP and Scheme are contemporary
dialects
* ML, Miranda, and Haskell are related languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What were the successes behind Algo58

A
  • It was the standard way to publish algorithms for over 20 years
  • All subsequent imperative languages are based on it
  • First machine-independent language
  • First language whose syntax was formally defined (BNF)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What were the failures behind Algo60

A
  1. No i/o and the character set made
    programs nonportable
  2. Too flexible–hard to implement
  3. Entrenchment of FORTRAN
  4. Formal syntax description
  5. Lack of support of IBM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe APL

A
  • designed by K.Iverson at Harvard in late
    1950’s
  • A Programming Language
  • A language for programming mathematical
    computations
    –especially those using matrices
  • Functional style and many whole array
    operations
  • Drawback is requirement of special keyboard
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Desribe PL/1

A
  • PL/1 designed in 1963-4
    – supposed to be all purpose
    – combined features of FORTRAN, COBOL and Algol60 and
    more!
    – translators were slow, huge and unreliable
    – some say it was ahead of its time……
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe C

A
  • Designed for systems programming at Bell Labs
    by Dennis Richie and colleagues.
  • Evolved primarily from B, but also ALGOL 68
  • Powerful set of operators, but poor type checking
  • Initially spread through UNIX and the availability
    of high quality, free compilers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly