The Basics Flashcards
What determines whether a string is legal?
Syntax
What determines whether a string has meaning?
Static semantics
What assigns a meaning to a legal sentence?
Semantics
What does a fixed computer do?
Single tasks (like a calculator, cash register, or digital washing machine).
What is declarative knowledge?
Facts and information.
What does a stored program computer do?
Stores and manipulates data, much like the one you’re using right now!
What is imperative knowledge?
Recipes and methods - how to come about finding declarative knowledge.
What does ALU stand for?
Arithmetic Logic Unit
What are scalar objects?
Objects that cannot be subdivided
What are non-scalar objects?
Objects that have internal structure that can be accessed.
What are the three types of scalar objects?
int, float, and bool
What are ints?
Integers, whole numbers
What are floats?
Floating point numbers, used to represent real numbers, things that have decimal and patrons to them
What are bools?
Booleans, a type of bool which are used to represent the truth values of true and false
What are expressions?
The combination of objects and operators, each of which denotes an object of some type.