You must be logged in to reply to this topic.
- Variables and statements
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Tagged: variables, statements, abstraction, memory
You must be logged in to reply to this topic.
Remember the kitchen analogy? The computer hardware is equivalent to the appliances, utensils, and other tools used in the kitchen. On the other hand, the recipes executed in the kitchen to produce meals, are equivalent to the computer software or programs executed in a computer.
Following, this analogy we find this relation between a recipe and a program:
• A list of ingredients (called variables)
• A list of directions (called statements) that tell the computer what to do with the variables.
But how do these variables represent? What kinds of statements are used to manipulate the variables? How do we use variables and why? Could we create programs without using variables?
You must be logged in to reply to this topic.
Ursula C. Schwerin Library
New York City College of Technology, C.U.N.Y
300 Jay Street, Library Building - 4th Floor
Our goal is to make the OpenLab accessible for all users.