Programming Languages Flashcards

1
Q

History of Programming Languages

A

Machine, Assembly, High Level, Structured, Object Oriented languages
Older still exist, have been updated but rarely used.
Earlier are closer to the machine and they get farther and farther away

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

Machine Language

A

Binary (0, 1),

  • First computers
  • Easy to make errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Assembly Language

A
MOV B, A (mnemonics) 
-Easier to understand
-Still difficult
-Different computers have different assembly languages
Early 50s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

High Level Language

A

Fortran -> scientific applications (IF, READ, WRITE)
Cobol -> economics
Late 50s
-logic and technical education, much easier to learn
-farther from computer language
-no discipline, no style, easier to just restart than to find problems
Spaghetti Programs
-Jumps and not sequences

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

Structured Language

A
Pascal ('69)
C ('73) - A reference point
  -more compact, easier for computer
  -started by BCPL
Must start and finish inside
Late '60s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Object Oriented Language

A

C++ (82’) -became more complex
Java (‘95 Canadian) - black box
- Like a library
-Objects allow programs to become even bigger

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