Lecture 1: Introduction to Computers and Programming Flashcards
A program is
A set of instructions that a computer follows to perform a task
Programs are commonly referred to as
Computer software
A programmer (or software developer) is
A person who designs, creates, and tests computer programs
The physical devices (or components) which make up a computer are commonly referred to as
Hardware
Some of the components that make up a typical computer
1) Central processing unit (CPU)
2) Main memory
3) Secondary storage devices
4) Input devices
5) Output devices
When a computer is performing tasks that a program tell it to do, we say that it is
Running or executing the program
The central processing unit (or CPU) is the part of
The computer that actually runs the programs
The computer sends coded instruction to the CPU, which perform the
Required operations (such as arithmetic and logic)
A computer’s main memory consists of a long list of
Memory locations
Each memory location holds a string of
0s and 1s
When a program is running, it is stored in
Main memory
Main memory is also called
Random access memory (or RAM)
Because the CPU can quickly access data from
Any random location in RAM
RAM is volatile (temporary) storage. When the computer is turned off, all data stored in
RAM is erased
Secondary storage holds data for long periods, even while the computer is
Off
Installed programs are always stored in
Secondary storage and are temporarily loaded into main memory when they are running
When we close Word and it is erased from
Main memory, it still exists in secondary memory
The most common type is the
Hard drive, although solid state drives are becoming more popular
Input: Data the computer collects from people and other devices. Common input devices
1) Keyboard
2) Mouse
3) Touchscreen
4) Scanner
5) Microphone
Output: Data the computer produces for people or other devices. Common output devices
1) Screen
2) Printer
3) Speaker
The program that tell a computer what to do are referred to as
Software
There are two general categories of software:
System software and application software