PL1 Flashcards

(36 cards)

1
Q

How many generations does pl have?

A

6

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

1st gem

A

machine languages

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

2nd gen

A

assembly languages

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

3rd gen

A

high level languages

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

examples of 3rd gen

A

BASIC FORTRAN and COBOL

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

What is BASIC?

A

Beginners All-purpose Symbolic Instruction Code

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

What is COBOL?

A

Common Business-Oriented Language

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

What is FORTRAN?

A

FORmula TRANslation

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

what are the 2 types of errors?

A

logical and syntax error

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

Who discovered the first bug?

A

Grace Murray Hopper

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

what system does COBOL

A

LEgacy systems

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

what is the 4th gen

A

very high level language

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

examples of 4th gen

A

python, ruby, php, sql, perl

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

5th gen

A

very closely resembles human speech

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

designed to makke computer smarter

A

5th gen

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

examples of 5th gen

A

mercury and prolog

17
Q

6th

A

very high level programming language with abstraction

18
Q

no code

19
Q

visual development

20
Q

what are the 2 paradigms of PLs

A

imperative and Declarative

21
Q

“how” the program solves the problem

22
Q

“what” the program solves

23
Q

what are the 2 types of imperative

A

procedural programming and object-oriented programming

24
Q

Follows a sequence/steps

A

procedural programming

25
examples of procedural rprogramming
COBOL, C++, PASCAL, BASIC, FORTRAN
26
breaks down the program/classes, method, etc
OOP
27
examples of oop
java pyhton c++ php ruby
28
what are the 2 types of declarative
functional and logic programming
29
relies heavily on pure mathematical functions
functional programming
30
examples of functional programming
common lisp, haskeli, F#, scala
31
uses a system of formal logic, uses senses of rules to instruct the computer
logic programming
32
examples of logic programming
prolog, datalog, and alice
33
what is APL?
programming language
34
what is prolog?
computer programming language based on mathematical logic
35
who invented java?
James Gosling
36