Foundation - Basics of Computer Ebook
Foundation - Basics of Computer Ebook
C
omputers are electronic devices that accept data, perform operations, display results, and store data or results as needed. It is a
combination of hardware and software resources that are integrated and provide users with various functions. Hardware is the
physical components of a computer such as processors, memory devices, display, keyboard, etc., while software is the set of
programs or instructions required for the hardware resources to function properly.
Naman Kothari
Foundation – Basic Of Computer & It’s Fundamentals 2
• The input unit is formed by connecting one or more input devices to a computer.
• A user enters data and instructions via input devices such as keyboard, mouse, etc.
• The input unit is used to provide data to the processor for further processing.
Naman Kothari
Foundation – Basic Of Computer & It’s Fundamentals 3
B. Control Unit
Control unit coordinates and controls the flow of data to and from the CPU, and controls all operations of the ALU, memory
registers, and input/output devices. It is also responsible for executing all instructions stored in the program. It decodes the
fetched instruction, interprets it, and sends control signals to the I/O devices until the ALU and memory do what they need
to do correctly.
• It receives external instructions or commands and converts them into control signal sequences.
• It controls many execution units (i.e., ALU, data buffers and registers) located in the CPU.
• It also handles tasks such as fetching, decoding, processing and saving the results.
C. Memory Registers
The register is a temporary storage device for CPU. They are used for the direct use of the processor. Registers can be of
different sizes (16-bit, 32-bit, 64-bit, etc.), and each CPU register has a specific function, such as storing data, storing
instructions, storing the address of a location in memory. etc. User registers can be used by assembly language programmers
to store operands, intermediate results, etc. The accumulator (ACC) is the main register of the ALU and contains one of the
operands for the operations performed by the ALU.
• A memory device is the main storage of a computer.
• It stores data and instructions.
• Data and instructions are permanently stored on the device so that they are always available when needed.
Naman Kothari
Foundation – Basic Of Computer & It’s Fundamentals 4
Naman Kothari
Foundation – Basic Of Computer & It’s Fundamentals 5
A. Computer Hardware
Hardware refers to the physical components of a computer. Computer hardware is any part of the computer that we can
touch. These are the main electronic devices used to
make computers. Examples of computer hardware
include processors, storage devices, monitors,
printers, keyboards, mice, and CPUs. There are 4
main components of computer hardware, as shown in
Figure2:
• Input Devices
• Output Devices
• Storage Devices
• Internal Component
B. Computer Software FIGURE 3: COMPONENTS OF COMPUTER
Software is a set of instructions, procedures, and documents that perform various tasks on a computer system. We can also
say that computer software is the programming code that is executed in the computer processor. The code can be machine-level
code or code written for the operating system. Examples of software include MS-Word, Excel, PowerPoint, Google Chrome,
Photoshop, MySQL, etc. There are 2 main components of computer hardware, as shown in Figure2:
Naman Kothari
Foundation – Basic Of Computer & It’s Fundamentals 6
• System Software
• Application Software
Naman Kothari
Foundation – Basic Of Computer & It’s Fundamentals 7
computer hardware. An operating system is actually a kind of underlying software that belongs to system software and supports the
basic functions of a computer, such as memory management, task scheduling, and peripheral control.
Here are some of the basic functions of an operating system:
» Memory Management: The operating system manages the computer's memory by allocating memory to different programs
and tasks.
» Process management: The operating system manages computer processes by scheduling the execution of various programs
and tasks.
» File Management: An operating system manages computer files by storing them on disk and allowing different programs and
users to access them.
» Input/Output (I/O) Management: An operating system manages a computer's I/O devices by providing a common interface
for different programs and users to access them.
» Security: Operating systems provide security by preventing unauthorized access to computer resources.
There are many different OS available, each with its own strengths and weaknesses. Some of the most popular operating systems
include Windows, macOS, Linux, and Android. The operating system is an essential part of any computer system. It provides the
foundation for all other software to run on. Without an operating system, a computer would be useless.
Naman Kothari