6.00x Chapter 1 - Sheet1 Flashcards

1
Q

Declarative knowledge

A

statements of fact :: y * y = x^2

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

Imperative knowledge

A

“how to” or recipe for deducing information

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

algorithm

A

inputs -> computations ->output

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

fixed vs stored program computer

A

fixed-program cannot do anything other than its original purpose without modification whereas stored-program manipulates instructions from memory using native elements

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

interpreter

A

executes a legal set of instructions from a language

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

flow of control

A

the order in which instructions are executed

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

universal turing machine

A

simplest machine that can compute any function

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

Turing Complete

A

if a language can be used to simulate a universal turing machine it qualifies

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

literals

A

number 3.5 or string “hello”

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

infix operators

A

(+, =, / , -)

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

syntax

A

defines what order of characters and symbols are well formed “cat dog boy” or in python (3.5 34)

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

static semantics

A

defines which syntactically valid strings have meaning ie: 3.2 / ‘abc’ is syntactically correct but produces a static semantic error

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

semantics

A

associates a meaning with each syntactically correct string of symbols that has no static semantic errors.. semantic errors : loops/ crashes/ unintended output

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