What is a Computer
-Programmable machine to handle different tasks at a great speed
-Can be spreadsheets, databases, word processing, games
What is a computer program?
-Known as a software
-A list of instructions directing the computer to perform a task
What is a hardware?
-Refers to the computer equipment. such as keyboard, mouse, terminal, hard disk, printer
What is a software?
-refers to the computer programs
-The programs that run on a computer
what is a computer system?
-the combination of a hardware and software
What is the CPU
-Is known as the central processing unit
-at the heart of the computer
-The CPU’s job is to fetch instructions, follow instructions, and produce data
-a sequence of instructions stored in the computer’s memory
What are the 2 parts of CPU
-Control Unit: which coordinates all of the computer’s operations
-Arithmetic and logic unit (ALU): which performs mathematical operations
What does the CPU do in order to process program information
-performs the fetch / decode / execute cycle in order to process program information
What is fetch
-The CPU’s control unit fetches from the main memory, the next instruction in the sequence of program instructions
What is decode
The instruction is encoded in the form of a number. The control unit decodes the instruction and generates an electric signal
What is execute?
The signal is routed to the appropriate component of the computer such as the ALU or disk drive. The signal causes the component to perform an operation
What is Main memory
-Also known as random-access memory (RAM)
-RAM contains currently running programs and data used by those programs
-RAM is divided into units called bytes
What is a byte
-consists of 8 bits that may by either on or off
1=on 0=off
-the bits form a pattern that represents a character or number
-Each byte in memory is assigned a unique number known as an address
Why is RAM volatile
When the computer is turned off, the contents of RAM are erased
What is Secondary Storage?
-Secondary storage devices are capable of storing information for longer periods of time (non-volatile)
-eg: disk drive, USB drive
What are input devices
-Input is any data the computer takes from the outside world
-That data comes from devices known as input devices such as keyboard, mouse, touchscreen, USB
What are output devices
-Output is any data the computer sends to the outside world
-that data that is sent out is displayed on devices known as output devices such as monitors and printers
What are the two classifications of software
-Operating systems
-Application software
What are operating systems
-An operating system is a set of programs that manages the computer’s hardware devices and controls their processes
-operating systems are multitasking so they can run multiple programs at once
What is Application Software
-programs that make the computer useful to the user
-it provides a more specialized type of environment for the user to work in
-common software applications can be spreadsheets and word processors
what is computer programming
tell the computer how to solve a problem
-a machine doesn’t understand English so programming is solving a problem by giving the computer instructions to implement a solution
What is programming language
a way to communicate with the computer
-programming languages have strict rules known as syntax that must be carefully followed
What is Machine language
-machines operate by electricity
1=on 0=0ff
How do bits and memory work in computers
-a computer is made of millions of tiny switches called transistors
-Each switch is a bit that can stored 0 or 1.
-When you group bits together they can represent numbers and characters
-the more switches the more memory and the more power
-8 bits=1 byte so it can store a single character like A