Chapter 2 Flashcards

1
Q

What was the 1st high level programming language?

A

Zuse’s Plankalkul

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

What are some data structures that Zuse’s Plankalkul had?

A

Arrays, nested records, Iterative (for loop) Selections (only IF no ELSE)

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

What code was used to program in the 1940s and 1950?

A

Machine code

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

What is the problem with using machine code to code?

A

Poor readability + modifiability
No arrays

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

What are the different types of Pseudocodes?

A

Short Code
Speedcoding
UNIVAC

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

For what was speedcoding designed?

A

IBM 701

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

What does FORTRAN stand for?

A

Formula Translating

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

Was Fortran 0 ever implemented?

A

No

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

What inspired the idea behind compiled programming languages

A

Slow interpretation

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

What was most important concern when designing Fortran I?

A

Machine efficiency

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

What language implemented the idea of compiled programming language?

A

Fortran I

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

What was the 1st implemented version of Fortran?

A

Fortran I

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

What made Fortran II special?

A

Shortened compilation process + more reliable

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

What was good about Fortran?

A

It highly optimized compilers.
So good it changed how computers were used

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

What type of programming is LIST?

A

Functional

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

What does LISP stand for?

A

List Processing

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

Why was LISP designed?

A

Because AI research needed a language to support

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

What are the data types of Lisp?

A

Atoms and Lists

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

On what is Lisp syntax based?

A

Lambda calculus

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

What are some other functional languages?

A

ML, Haskel, F#

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

Where was scheme developed?

A

MIT

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

What was scheme used for?

A

Educational application ( small language + simple syntax)

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

What type of scoping does scheme use?

A

static

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

Scheme: Can functions be the result of function applications? ( can functions be returned from other functions? )

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Can you pass in a function as a parameter in scheme?
Yes
26
Difference between LISP and COMMON LISP?
COMMON LISP is a dialect of LISP ( opposite of scheme cause large + complex)
27
What type of scoping does COMMON LISP use?
Static + dynamic
28
What language was an effort to try and design a universal language?
ALGOL 60
29
Why was algol 60 developed?
No portable/universal languages
30
What was the goal for ALGOL 60?
Close to math notation Good for describing algorithms Must be translatable to machine code
31
Was ALGOL 58 implemented?
No. Since it was never meant to be implemented
32
What was the first machine independent language?
ALGOL 60
33
What was the problem with algol 60?
Never widely used because of no I/O
34
What was COBOL?
First common business oriented language
35
What language was COBOL based on?
FLOW-MATIC
36
What was the design goals of COBOL?
Look like English Easy to use
37
What was good and bad about cobol?
Good: Nested selection. Long names. Bad: weak procedure division. no sub programs with parameters
38
Which language was required by Department of Defense?
COBOL
39
What was the design goals of BASIC?
Easy to learn Free + private access User time is more important than computer time
40
What was the 1st widely-used language with time sharing( many people use same computer)
BASIC
41
Who designed PL/I?
IBM + SHARE
42
Why was PL/I made?
scientists needed better I/O Business needed floating point + arrays
43
What was good + bad about PL/I
Good: exception handling unit-level concurrency Switch - selectable recursion Bad: poorly designed, too large and complex
44
Which 2 languages are dynamically typed (old)
APL and SNOBOL
45
Which languages were the early dynamic languages?
SNOBOL and APL
46
What was good and bad about APL?
Good: Highly expressive Bad: Difficult to read
47
Which language was initially used as a hardware description language?
APL
48
Which language were used to write text editors?
SNOBOL
49
What was good and bad about snobol?
Good: powerful operations for string pattern matching Bad: Slow
50
What was SIMULA 67 biggest contributions?
Coroutines + classes and objects
51
What did ALGOL 68 base is design upon?
Orthogonality
52
What was bad about ALGOL 68?
Too orthogonal
53
What was pascal designed for?
Teaching structured programming
54
For what was C first developed for?
For systems programming at Bell Labs
55
From where did C evolve?
ALGOL 68
56
What was the problem with prolog?
Very inefficient
57
What was the biggest design effort in history?
Ada for US DoD
58
What was some of the contributions that ada made?
Data abstraction Exception handling Concurrency
59
Which program had the first full implementation of true OO?
Smalltalk
60
By who was C++ developed?
Bell Labs
61
Difference between C++ and Java?
Java only supports OOP
62
Is Java more powerful than C++?
No also less flexible cause it doesnt have pointers
63
What type of language is Perl?
Scripting
64
What is nice about C#?
Component based development
65
What is a programming + markup hybrid language?
XSLT