Give a reason why computers pervade our society today.
Computers are versatile and can be programmed to solve a wide range of problems.
What are the differences between being a computer programmer and an end user?
The computer programmer uses a programming language to write the exact instructions that make up the computer program the end user will apply.
Give a brief description of how the world is viewed from an object-oriented programmer's point of view.
The object-oriented world consists of objects that interact to solve various tasks.
What are the two basic parts of a computer?
Hardware and software.
What is software?
Software consists of instructions the computer executes.
How does the computer user interact with the computer?
The user provides data (called input) to the computer (via a keyboard or something similar) which the computer processes. The computer responds to the user with output (for example, via the screen).
What is a processor?
The processor is an important piece of computer hardware that executes a computer program's instructions.
Name the two computer memory categories. Briefly describe each one of them.
Auxiliary memory and main memory. Auxiliary memory stores data permanently, whereas the main memory represents temporary storage containing the running program parts and its associated intermediate calculation results.
What data would be involved in calculating the average monthly rainfall in New York during year 2000?
The total rainfall during year 2000, which then can be divided by 12 to find the average.
What are bits and bytes?
A bit can have one of two values, often referred to as 1 and 0. A byte consists of eight bits.
How many different numbers can be represented by one byte?
Each of the eight bits in a byte can represent two values. So a byte can represent 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = 256 different numbers.
How does the main memory organize the data it is storing?
Through a list of numbered locations called bytes. Each location has an address for easy reference.
What are files used for?
To permanently store different kinds of data.
What is a source program?
A source program consists of text with high-level instructions that are translated into machine level instructions executed by the computer. The source program is kept in a source program file.
How can you recognize a C# source program file?
A C# source program file has the extension .cs (for c sharp) as in YourProgram.cs.
Describe what a compiler does?
A compiler translates the high-level instructions of the source program file into low-level machine language that can be executed by the computer processor.
List a few of the services provided by .NET
Among many other services, .NET:
What is MSIL? How does it improve the .NET architecture over previous architectures?
Microsoft Intermediate Language (MSIL) provides a middle layer between the high-level source program and the low-level machine language and is thereby able to decouple these two parts.