Central Processing Unit

The central processing unit, more commonly referred to as the processor, is the brain behind the computer. There are three primary components that make up the central processing unit (CPU). These components carry out the instructions that allow the computer to function. Arithmetic Logic Unit The Arithmetic Logic Unit (ALU) contains the electrical circuits that… Continue reading “Central Processing Unit”

Control Structures

All computer programs are written in one or more of three basic control (logic) structures. These control structures are: (a) sequence, (b) selection, and (c) repetition. Control structures control a program’s flow of logic. Sequence Structure The sequence structure is used in every computer program. This structure instructs the computer to process instructions one-by-one. An… Continue reading “Control Structures”

Machine Language

All data in a modern-day computer is represented by microscopic, 2-state switches. These switches can either be on, or off; there are no other existing states for these switches. These switches are called transistors. When the switch is in the off-state, represented by 02, the circuit is open, and there is no power flowing through… Continue reading “Machine Language”