Week 10 Day 1 Flashcards

1
Q

Static

A

Perform type checking at compile time

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

Dynamic

A

Type info stored in memory, checked in run time

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

Explicit

A

All types must be properly declared

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

Implicit

A

Leave type checking to compiler

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

Safe

A

Can’t violate rules and structure of the language

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

Unsafe

A

Can violate rules and structure of the language

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

Atomic

A

Simple data types

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

Composite

A

Multiple elements; complex structures

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

Synthesized

A

Pass info up a parse tree

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

Inherited

A

Pass info down a parse tree

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

S-Attributed

A

all attributes are synthesized (bottom up)

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

L-Attributed

A

Attributes must be synthesized or inherited (bottom or top down parsing)

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

Attribute Grammar

A

Syntax directed definitions whose semantic rule has no side effect

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

Side effect

A

Actor or rule application that results in effect

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

Data Type

A

Collection of grouping data and the operations that can be performed on them

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

Type

A

Set of values

17
Q

Type system

A

Collection of all of the data and how they can be combined or coerced