What is the difference between declarative and imperative knowledge?
› View/hide answer
Declarative knowledge is statements of fact; imperative knowledge is "how to" knowledge.
What is the advantage of a stored-program computer?
› View/hide answer
It's far more versatile than a fixed-program computer, since it interprets a program given to it and carries out those instructions, as opposed to being built to do one thing.
What are the syntax, static semantics, and semantics of a language?
› View/hide answer
Syntax determines whether a string is legal, static semantics determine whether the string has meaning, and semantics assigns a meaning to a legal sentence (assuming no static semantic errors).
What sorts of errors can occur in a program?
› View/hide answer
It can crash, run forever, or give a wrong answer.