Test 1 Part 1 Flashcards

1
Q

Six Attributes of a Variable

A

Name, Address, Value, Type, Lifetime, Scope

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

Four Grammar Types

A

Regular, Unrestricted, Context-free, Context-sensitive

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

Definition of a Strongly Types Language

A

Catches all types of Errors + Exceptions

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

Definition of an ambiguous grammar

A

Two different parse trees can be made by the same sentence

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

What is the L-value of a variable?

A

Address of a Variable

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

What is the R-value of a variable

A

Value

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

APL language is either

A

Interpreted, Dynamic Language

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

Language Evaluation criteria

A

Readability, Writability, Reliability, cost

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

Six reasons to study concepts of Programming Languages

A

Express Ideas, Better Knowledge of background, advanced knowledge of computers, Learn a new language, Better implementation

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

5 Major Language categories

A

Imperative, Functional, Logic, Object Oriented, Visual

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

Two Languages that are Strongly typed

A

ML, Miranda

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

Major Scientific Computing Program

A

Fortran

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

Binding Times

A

Compiler Design, Language design, Load, Run, Compile

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

Major Categories of Readability

A

Orthogonality, Overall Simplicity, Control Statements, Data Types/Structures, Syntax

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

Major Business Computing

A

Cobol

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

Famous Computer Scientist

A

Dijkstra

17
Q

Difference between Reserved and key words

A

RW- Used by the language that cannot be used as variable names
KW- Have Special meaning in the languages