Fundamental and Operating System
Fundamental and Operating System
What is a Computer
The term computer is derived from the Latin term ‘computare’, this means
to calculate.
Characteristics of a Computer
Spreading popularity of computers has proved that it is a very powerful and
useful device in our lives. The power and usefulness of this popular
electronic device are mainly because of its following characteristics:
History of Computer
Abacus (c. 2500 BCE)
Built the “Calculating Clock,” a machine that could add and subtract.
Built the “Calculating Clock,” a machine that could add and subtract.
Generations of Computers
ENIAC (1945):
o First general-purpose electronic computer.
o Used 18,000 vacuum tubes; filled a large room.
o Designed for military calculations.
EDVAC (1949): First stored-program computer based on the von Neumann
architecture.
UNIVAC I (1951):
o First commercial computer in the U.S.
o Used for business and government data processing.
Generation of Computer
Basic Terms
Integrated circuit (IC) – a small electronic circuit printed on a chip (usually made
of silicon) that contains many its own circuit elements (e.g. transistors, diodes,
resistors, etc.).
Magnetic core – uses arrays of small rings of magnetized material called cores to
store information.
Assembly language is like the machine language that a computer can understand,
except that assembly language uses abbreviated words (e.g. ADD, SUB, DIV…) in
place of numbers (0s and 1s).
Memory – a physical device that is used to store data, information and program
in a computer.
Artificial intelligence (AI) – an area of computer science that deals with the
simulation and creation of intelligent machines or intelligent behave in computers
(they think, learn, work, and react like humans).
Fifth generation The present and the future Artificial intelligence based
Speed and size – very slow and very large in size (often taking up entire room).
Input/output devices – punched cards and paper tape.
Examples – ENIAC, UNIVAC1, IBM 650, IBM 701, etc.
Quantity – there were about 100 different vacuum tube computers produced
between 1942 and1963.
etc.)
Size – smaller, cheaper, and more efficient than second generation computers
(they were called minicomputers).
Speed – improvement of speed and reliability (in comparison with the second
generation computers).
Input / output devices – magnetic tape, keyboard, monitor, printer, etc.
Main electronic component – very large-scale integration (VLSI) and
microprocessor.
VLSI– thousands of transistors on a single microchip.
Memory – semiconductor memory (such as RAM, ROM, etc.)
o RAM (random-access memory) – a type of data storage (memory element) used
in computers that temporary stores of programs and data (volatile: its contents
are lost when the computer is turned off).
o
o ROM (read-only memory) – a type of data storage used in computers that
permanently stores data and programs (non-volatile: its contents are retained
even when the computer is turned off).
Programming language – high level language (Python, C#, Java, JavaScript, Rust,
Kotlin, etc.).
o A mix of both third- and fourth-generation languages
Size – smaller, cheaper and more efficient than third generation computers.
Speed – improvement of speed, accuracy, and reliability (in comparison with the
third generation computers).
Input / output devices – keyboard, pointing devices, optical scanning, monitor,
printer, etc.
The main characteristics of fifth generation of computers (the present and the
future)
Classification of Computers
A computer can be classified based on its size, capacity, and purpose. The
following diagram illustrates different types of computers as per their size,
capacity, and purpose.
Computer's classification based on Size
Micro Computer
Mini Computer
Mainframe Computer
Super Computer
Micro Computer
Size − Mainframe computers can vary in size; their size generally depends on their
specifications and the specific model being considered.
Example − Some of the popular mainframe computers are IBM zSeries
mainframes (BM z14 and IBM z15), Unisys ClearPath, Fujitsu GS21 Series, and
Hitachi VOS3.
Why a mainframe computer?
The processing capacity of mainframes is frequently measured in MIPS (million
instructions per second) or other units. This enables them to process a large
volume of transactions and perform extensive data processing.
Uses of the Mainframe − Mainframe computers are most widely used in finance,
government, healthcare, and more.
Supercomputer
Analog Computer
Digital computer
Hybrid computer
Analog Computer
Analog Computers are particularly designed to process analog data. Continuous
data that changes continuously and cannot have discrete values are called
analog data. So, an analog computer is used where we don’t need exact values
or need approximate values such as speed, temperature, pressure, etc. It can
directly accept the data from the measuring device without first converting it
into numbers and codes. It measures the continuous changes in physical
quantity. It gives output as a reading on a dial or scale. For example
speedometer, mercury thermometer, etc
Digital Computer
A digital computer are designed in such a way that they can easily perform
calculations and logical operations at high speed. It takes raw data as input
and processes it with programs stored in its memory to produce the final
output. It only understands the binary input 0 and 1, so the raw input data is
converted to 0 and 1 by the computer and then it is processed by the
computer to produce the result or final output. All modern computers, like
laptops, desktops including smartphones are digital computers
Hybrid Computer
A hybrid computer is a type of computer system that integrates the features and
capabilities of both analogue and digital computers. This integration allows the
hybrid computer to perform various tasks efficiently by using the strengths of
both digital and analogue technologies.
The main components of a hybrid computer are the analogue and digital
components −
Analog Component − Analogue components in a hybrid computer can process
real-world data like voltage, current, temperature, pressure, etc. using analogue
circuits and components.
Digital Component − Digital computers work with discrete data and are based on
binary numbers (0s and 1s). Digital components in a hybrid computer provide the
computational power to perform complex calculations and control the overall
operation of the system.
Computer's classification based on Purpose
Special Purpose
General Purpose
Special Purpose Computer
A computer that is designed and optimised for a specific task or set of tasks is
called a special purpose computer (SPC). SPCs are designed to excel at a single or
limited set of functions, frequently with a high degree of efficiency, speed, and
accuracy.
A. Arithmetic and Logic Unit (ALU): The ALU, as its name suggests performs
mathematical calculations and takes logical decisions. Arithmetic calculations
include addition, subtraction, multiplication and division. Logical decisions
involve the comparison of two data items to see which one is larger or smaller
or equal.
Arithmetic Logical Unit is the main component of the CPU
It is the fundamental building block of the CPU.
Arithmetic and Logical Unit is a digital circuit that is used to perform
arithmetic and logical operations.
B. Control Unit: The Control unit coordinates and controls the data flow in and
out of the CPU, and also controls all the operations of ALU, memory registers
and also input/output units. It is also responsible for carrying out all the
instructions stored in the program. It decodes the fetched instruction, interprets
it and sends control signals to input/output devices until the required operation
is done properly by ALU and memory.
The Control Unit is a component of the central processing unit of a computer
that directs the operation of the processor.
It instructs the computer’s memory, arithmetic and logic unit, and input and
output devices on how to respond to the processor’s instructions.
In order to execute the instructions, the components of a computer receive
signals from the control unit.
It is also called the central nervous system or brain of the computer.
C. Memory Registers: A register is a small, temporary memory inside the CPU.
The processor uses it to store data that it is currently working on. Registers
come in different sizes, such as 16-bit, 32-bit, and 64-bit, and each has a specific
role. Some store data, some store instructions, and others hold memory
addresses.
For example, the Accumulator (ACC) is an important register in the CPU. It holds
one of the values used in calculations inside the Arithmetic and Logic Unit (ALU).
Apart from registers, the internal memory (also called primary memory or main
memory) is where data and instructions are stored temporarily while a program
runs. This memory is called RAM (Random Access Memory). Every piece of data
in RAM is stored at a unique location with an address, so the processor can
access it quickly without searching the entire memory. Since RAM provides
direct access to any data location, it is called Random Access Memory.
Memory Unit is the primary storage of the computer.
It stores both data and instructions.
Data and instructions are stored permanently in this unit so that they are
available whenever required.
3. Output Unit :
The output unit consists of output devices that are attached to the computer. It
converts the binary data coming from the CPU to human understandable form. The
common output devices are monitor, printer, plotter, etc.
The output unit displays or prints the processed data in a user-friendly format.
The output unit is formed by attaching the output devices of a computer.
The output unit accepts the information from the CPU and displays it in a user-
readable form.
Computer Memory
Computer memory is just like the human brain. It is used to store data/information
and instructions. It is a data storage unit or a data storage device where data is to
be processed and instructions required for processing are stored. It can store both
the input and output can be stored here.
It’s faster than secondary memory (e.g., hard drives).
It is usually volatile, meaning it loses data when power is turned off.
A computer needs to run; a computer can’t operate without primary memory.
Types of Computer Memory
In general, computer memory is divided into three types:
Primary memory
Secondary memory
Cache memory
1. Primary Memory
Primary storage or memory is also known as the main memory, which is the part of
the computer that stores current data, programs, and instructions. Primary storage
is stored in the motherboard which results in the data from and to primary storage
can be read and written at a very good pace.
What is Primary Memory
Primary memory is a segment of computer memory that can be accessed directly
by the processor. In a hierarchy of memory, primary memory has access time less
than secondary memory and greater than cache memory. Generally, primary
memory has a storage capacity lesser than secondary memory and greater than
cache memory.
Need of primary memory
In order to enhance the efficiency of the system, memory is organized in such a
way that access time for the ready process is minimized. The following approach is
followed to minimize access time for the ready process.
All programs, files, and data are stored in secondary storage that is larger and
hence has greater access time.
Secondary memory can not be accessed directly by a CPU or processor.
In order, to execute any process operating system loads the process in primary
memory which is smaller and can be accessed directly by the CPU.
Since only those processes are loaded in primary memory which is ready to be
executed, the CPU can access those processes efficiently and this optimizes the
performance of the system.
Primary memory is of two types:
RAM (Random Access Memory): It is a volatile memory. Volatile memory stores
information based on the power supply. If the power supply fails/
interrupted/stopped, all the data and information on this memory will be
lost. RAM is used for booting up or starting the computer. It temporarily
stores programs/data which has to be executed by the processor.
3. Cache Memory
It is a type of high-speed semiconductor memory that can help the CPU run faster.
Between the CPU and the main memory, it serves as a buffer. It is used to store the
data and programs that the CPU uses the most frequently.
Advantages of Cache Memory
It is faster than the main memory.
When compared to the main memory, it takes less time to access it.
It keeps the programs that can be run in a short amount of time.
It stores data for temporary use.
Disadvantages of Cache Memory
Because of the semiconductors used, it is very expensive.
The size of the cache (amount of data it can store) is usually small.
1. Tiny capacitors are used in its construction 1. Construction of its circuits is similar
that leak electricity. to D flip-flops.
5. Many bits per chip can be stored 5. Many bits per chip cannot be
stored
3. Writing data in this type of 3. Writing data in this type of memory is slow.
memory is fast.
4. This memory is used in normal 4. This memory is used for the startup process
operations. of the computer.
Types of Software:
When damaged,
When damaged, software
Damage hardware must be
needs to be reinstalled, not
recovery replaced with a new
replaced.
component.
In short, input devices are used to input data or commands into the computer.
Here are some examples of input devices along with their function:
Microphone: This input device allows you to record audio.
Camera: This input device allows you to capture images and videos.
Scanner: This input device allows you to digitize documents or images.
Keyboard: This input device allows you to type letters, numbers, and symbols.
Mouse: This input device allows you to move a cursor on the screen and make
selections.
1. Keyboard
2. Mouse
3. JoyStick
4. Light pen
5. Track Ball
6. Scanner
7. Graphic Tablet
8. Microphone
9. Magnetic Ink Card Reader (MICR)
10.Optical Character Reader (OCR)
11.Barcode Reader
12.Optical Mark Reader (OMR)
Keyboard
The keyboard is the most basic and very commonly used input device which helps
to input data to the computer. The layout of the buttons in a normally used
keyboard is similar to the traditional typewriter, but there are a few additional
keys provided by different manufacturers for performing additional functions.
Normally available keyboards in the market were of two sizes 84 keys and
101/102 keys, but now keyboards with 104 keys or 108 keys are also possible for
Windows and Internet.
Mouse
Basic versions if it has two buttons called the left and the right-click button and a
wheel is present between the buttons to provide a scroll function. The movement
of the mouse on a flat surface is used to control the position of the cursor on the
display, but it cannot be used to feed text into the system directly.
Advantages
1. Easy to use
2. Not very expensive
3. The cursor movement is faster than the arrow keys of the keyboard.
Joystick
Just like a mouse, a Joystick is also a pointing device, which is used to travel the
cursor position on a display. It is a perpendicular stick having a spherical ball at
both lower and upper ends. The spherical ball connected at the circuit having
sensors moves in a socket. The joystick controller can be traversed in all
directions.
The functionality of the joystick is just like a mouse. Its applications are generally
in Computer-Aided Designing (CAD) and playing computer games.
Light Pen
Just like a pen, a light pen is a digital pointing device. This device is used to select
an item displayed in the menu or to draw anything on the display. It contains a
photocell and an optical sensor placed in a small tube at the tip.
When the light pen tip is traveled on the display, its photocell sensing element
calculates the screen location and sends the digital signal to the CPU.
Track Ball
The trackball is another type of input device similar to the mouse. It is most
helpful with a notebook or laptop computer, instead of a mouse. It consists of a
ball on the top which is half inserted and connected to the sensors. By moving
fingers on the ball, the cursor can be moved.
Because the whole device is not moved to move the cursor, a trackball requires
less space as compared to the mouse. This device comes in different shapes like a
ball, a square, or a button.
Scanner
A scanner is another input device, which works very much like a photocopy
machine. It can be used when some information on paper is to be transferred to
the hard disk of the computer in digital format for further manipulation.
The scanner captures high-resolution images from the source which are then
converted into a digital format that can be saved on the disk and shared digitally.
These digital images can be edited before they are printed.
Digitizer
A digitizer is also an input device that is used to convert analog information into
digital form. Using a digitizer, the signal from the television or camera can be
transformed into a series of numbers that could be saved in a computer hard
drive. They can be helpful with the computer to create a picture of whatever the
camera has been pointed at.
Microphone
A microphone or mic is a very common input device used to input sound that is
then stored in a digital form. Nowadays microphones are used in almost every
industry and devices related to sound recording or transmission.
The microphone is used for different applications like adding sound to a
multimedia presentation or for mixing music, voice calling and recording, video
conferencing, and more.
The MICR input device is commonly seen in banks as there are a huge amount of
cheques to be processed every day. The important details like the bank’s code
number and cheque number are printed on the cheques with specially designed
ink based on the particles of magnetic material that is readable by the sensors of
the machine.
It is an input device that is used to read a printed text similar to the scanner, but
the method of reading and the type of output generated is different. The format
to be fed to the OCR is predefined and can’t be used as an ordinary scanner.
OCR, unlike a scanner, scans the text optically, character by character, converts
them into a machine-readable digital code instead of creating high-resolution
images, and stores the text on the system memory.
Bar Code Reader is an input device used to read special format barcoded data
(data in the form of light and dark lines). Barcoded data is commonly used to
create price tags, in labeling goods, numbering the books, etc. It can be a
handheld scanner or can be embedded in a stationary scanner on the tabletop.
A flash of light from the device strikes the surface of the object and reflects the
sensors present behind the source of light to collect the input. Bar Code Reader
can only scan a bar code image, converts it into an alphanumeric value, which is
then transferred to the computer that the bar code reader is connected to.
Optical Mark Readers (OMR)
OMR is a special type of input machine. This sort of optical scanner is used to
identify the type of mark made by pen or pencil. It is used where one out of a
predefined alternative is to be selected and marked.
The format to be fed to the OMR is predefined and can’t be used as an ordinary
scanner.
Webcam
Biometric Devices
Biometrics relates to a method in which a person is identified through his/her
biological features such as fingerprints, facial structure, eye cornea, etc. It is done
by using biometric devices, which can be of different types based on their
scanning features and abilities, such as Face Scanner, Hand Scanner, Fingerprint
Scanner, Retina or Iris Scanner, Voice Scanner, etc.
Output Devices
A piece of hardware/equipment that presents the result of the entered input,
once it is processed, is called an output device. Several output devices display
output in various ways such as images, text, hard copies, and audio/video.
Some of the Commonly used input units used in a computer system are as
follows:
1. Monitor/Display Screen
2. Printer
3. Speakers/Headphones
4. Projector
5. Plotter
6. Braille Reader
Monitors
Monitors or Visual Display Unit (VDU), are the primary output devices of a
computer system. It generates images from tiny dots, termed pixels that are
arranged in a well-defined rectangular form. The depth and sharpness of the
image depend upon the number and size of the pixels.
Printers
1. Impact Printers
2. Non-Impact Printers
Projector
Speakers
Computer speakers are the most popular output devices used with a computer to
listen to sound. These speakers receive audio as input either in analog or digital
form and generate sound as an output. With the advancement of technology,
speakers are now available with wireless and BlueTooth facilities as well.
Headphones
The headphones or earphones or headsets are hardware output tools that are
either plugged into the computer or can be wireless. They offer the same function
as a speaker, the only difference is the frequency of sound. With speakers, the
sound can be detected over a larger distance while utilizing headphones, the
sound is only audible to the individual using them. Headphones are available in
multiple shapes and sizes.
Plotters
Braille reader
A Braille reader is a computer output device designed for individuals with visual
impairments, specifically those who read Braille. It enables them to access digital
information by converting text into Braille characters that can be read by touch.
Difference between Input and Output Devices
Criteria Input Devices Output Devices
Function Input devices are used to Output devices are used to extract
provide data and control or retrieve data from the computer,
signals to an information usually after some processing.
processing system like a
computer.
Data Flow Data flows from the device to Data flows from the computer to the
the computer. device.
Interaction They allow users to input data They allow the computer to present
into the computer for the result of this processing to the
processing. user.
Processing They usually do not need to They usually process data to some
Requirement process data themselves; they extent before presenting it; for
simply capture user input and example, a printer processes text
send it to the computer. and graphics data to produce
physical prints.
User Input devices require active Some output devices can operate
Involvement user involvement; without without continuous user
user input, they do not involvement; for example, a printer
generally send data to the can complete a print job while the
computer. user does other tasks.
What Is a Motherboard?
The motherboard is the heart of any computer. It’s like the foundation that
holds all the important parts of the computer together, helping them
communicate and work as a single system. Every component, from
the processor (CPU) to the memory (RAM), connects to the motherboard,
making it essential for the computer to function properly. Without a
motherboard, your computer wouldn’t be able to run.
A motherboard is a circuit board which is fixed inside the Central Processing
Unit (CPU) of a computer. It can be considered as a computing system which
integrates most of the essential components of a computer.
Components of a Motherboard
CPU Socket − Its a major component which determines the processor connected
to the system.
Memory Slots − These slots allow connecting memory devices into it.
Storage Connectors − These slots include Serial ATA ports to connect hard drives
like hard drives and SSDs.
ROM Slots − These slots allow ROM BIOS to connect.
Chipset − It connects CPU, memory, storage and peripheral devices.
Cooling fans − Cooling fans that maintain a suitable internal operating
temperature.
Peripheral connector − these include USB ports to connect peripheral devices.
Audio Connectors − These allow audio input and output devices to work with
analogue and digital audio signals.
Network Connectors − These ports are used for wired network connections, or Wi-
Fi to access the internet.
Power connector − power connectors are used to connect external power sources.
There are two basic types: the 24-pin ATX power connector and the 4 or 8-pin
CPU power connector.
BIOS/UEFI − The Basic Input / Output System (BIOS), also known as the Unified
Extensible Firmware Interface (UEFI), is a type of firmware that initializes and
tests hardware during the boot process; it also provides runtime services to
operating systems and programs.
Key Components of a Motherboard :
Power Supply
In simple terms, a power supply is a device that receives power from a power source through a
power cord and converts it into the type and voltage required by electronic components for
effective operation. It regulates electric current and voltage, protecting components from
power fluctuations and ensuring reliable performance. Some key characteristics that define a
power supply include:
Assembly language
It is on other hand modified version of machine level language. Where
instructions are given in English like word as ADD, SUM, MOV etc. It is easy to
write and understand but not understand by the machine. So the translator used
here is assembler to translate into machine level. Although language is bit easier,
programmer has to know low level details related to low level language.
In the assembly level language the data are stored in the computer register,
which varies for different computer. Hence it is not portable.
High level language:
These languages are machine independent, means it is portable. The language in
this category is Pascal, Cobol, Fortran etc. High level languages are understood by
the machine. So it need to translate by the translator into machine level.
Number Systems
A number system is a positional number system that has some symbols called
digits. It provides a complete set of digits, operators, and rules to perform
operations.
In a digital number system, the number of digits used determines the base of the
number system. For example, the binary number system has two digits (0 and 1),
hence, the base of the binary number system is 2.
A Binary number system has only two digits that are 0 and 1. Every number (value)
represents with 0 and 1 in this number system. The base of binary number system is
2, because it has only two digits.
OCTALNUMBERSYSTEM
Octal number system has only eight (8) digits from 0 to 7. Everynumber (value)
represents with 0,1,2,3,4,5,6 and 7 in this number system. The base of octal number
system is 8, because it has only 8 digits.
DECIMALNUMBER SYSTEM
Decimal number system has only ten (10) digits from 0 to 9. Every number (value)
represents with 0,1,2,3,4,5,6, 7,8 and 9 in this number system. The base of decimal
number system is 10, because it has only 10 digits.
HEXADECIMALNUMBERSYSTEM
A Hexadecimal number system has sixteen (16) alphanumeric values from 0 to 9 and
A to F. Every number (value) represents with 0,1,2,3,4,5,6, 7,8,9,A,B,C,D,E and F in
this number system. The base of hexadecimal number system is 16, because it has
16 alphanumeric values. Here A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15.
We can convert a binary number into its equivalent decimal number by using the
positional weights method.
In this method of binary to decimal conversion, each digit of the given binary
number is multiplied by its positional weight. Then, all the products are added to
obtain the equivalent decimal number.
Step 3 − Add the product terms to obtain the equivalent decimal number.
Solution
Bits 1 0 1 1 0 1
Weights 25 24 23 22 21 20
1 25 1 × 32 32
0 24 0 × 16 0
1 23 1×8 8
1 22 1×4 4
0 21 0×2 0
1 20 1×1 1
Step 3 − Add all the product terms to obtain the equivalent decimal number −
Example 2
Solution
Decimal Number = 1 × 26 + 1 × 25 + 1 × 24 + 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
Example 1
Solution:
Decimal Number = 3× 82 + 4 × 81+ 5 × 80
Example 1
Solution:
Decimal Number = 1× 162 + A × 161+ F × 160
Decimal Number = 1× 162 + 10 × 161+ 15 × 160
In the integer part, the remainders read from bottom to top give the integer part
of the binary equivalent. In the fractional part, the carries read from top to
bottom give the fractional part of the binary equivalent.
The following steps are followed to convert a decimal number to the binary
equivalent −
Step 1 − Divide the integer part of the given decimal number successively by 2
and read the remainders from bottom to top.
Step 2 − Multiply the fractional part of the given decimal number successively by
2 and read the carries from top to bottom.
Let us see some examples to understand the conversion of a decimal number into
its equivalent binary number.
Example 1
Solution
The given decimal number is an integer. Thus, we divide the decimal number
successively by 2 and read the remainders upwards to obtain the equivalent
binary number.
Decimal Remainders
2 28
2 14 0
2 7 0
2 3 1
2 1 1
0 1
Reading the remainders from bottom to top, the result will be (11100)2. It is the
binary equivalent of (28)10.
Octal Number is
(30071)8
Decimal to Hexadecimal conversion
Hexadecimal Number is
(3039)16
However, there is also a direct method to convert a binary number into octal
number − grouping which is explained as following below.
Using Grouping
Since, there are only 8 digits (from 0 to 7) in octal number system, so we can
represent any digit of octal number system using only 3 bit as following below.
Octal Digit Value Binary Equivalent
0 000
1 001
Octal Digit Value Binary Equivalent
2 010
3 011
4 100
5 101
6 110
7 111
Example-1 − Convert binary number 1010111100 into octal number. Since there
is no binary point here and no fractional part. So,
Using Grouping
Since, there are only 16 digits (from 0 to 7 and A to F) in hexadecimal number
system, so we can represent any digit of hexadecimal number system using only 4
bit as following below.
Hexa 0 1 2 3 4 5 6 7
Hexa 8 9 A B C D E F
So, if you make each group of 4 bit of binary input number, then replace each
group of binary number from its equivalent hexadecimal digits.
Binary Addition
In binary arithmetic, the process of adding two binary numbers is called binary addition. Where, the
binary numbers consist of only 0 and 1. In the binary addition, a carry is generated when the sum is
greater than 1.
A B A+B Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 1 1
Example 1
Add two binary numbers, 1101 and 1110.
Solution
The binary addition of the given binary numbers is described below −
Binary Subtraction
In binary arithmetic, binary subtraction is a mathematical operation used to find the difference
between two binary numbers.
In binary subtraction, each bit of the binary numbers is subtracted, starting from the rightmost bit.
A B A-B Borrow
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Example 1
Subtract 1100 from 1101.
Solution
The subtraction of given binary numbers is given below −
Binary Multiplication
In binary arithmetic, binary multiplication is the process of multiplying two binary numbers and
obtain their product.
In binary multiplication, we multiply each bit of one binary number by each bit of another binary
number and then add the partial products to obtain the final product.
A B A*B
0 0 0
0 1 0
1 0 0
1 1 1
It is clear that the binary multiplication is similar to the decimal multiplication. Let us understand
the binary multiplication with the help of solved examples.
Example 1
Multiply 1101 and 11.
Solution
The binary multiplication of given numbers is described below −
IECT
IECT stands for Information, Electronics, and Communication Technology. It refers to the
integrated use and study of computers, electronics, and communication technologies for
storing, transmitting, and managing information effectively.
IECT combines the domains of:
IECT is essential in modern digital infrastructure, and is widely applied in sectors like education,
healthcare, e-governance, manufacturing, defense, and finance.
or
IECT stands for Information Electronics and Communication Technology. IECT is a broader term for
Information Technology (IT), which includes information, data processing, information life cycle and
its importance in a day to day life, communication technologies, internet, advanced wired or
wireless networks, internet, data transformation, cell phones, computers, application and
softwares, middleware, social networking, audio and video conferencing and related different
application areas where multimedia highly utilises to access, retrieve, store, transmit, and
manipulate data/information in a digital form.
Applications of IECT:
IECT stands for Information Electronics and Communication Technology.
E-governance
E-governance
E-Governance (or electronic governance) refers to the use of Information and Communication
Technology (ICT) by government agencies to deliver services, exchange information, and facilitate
interactions between:
It aims to make government services more efficient, transparent, accessible, and accountable.
📌Objectives of E-Governance
🔧Components of E-Governance
It is one of the applications of IECT. Multimedia is used to improve the quality of presentation by
incorporating information sharing, usage of graphics and animation, motion capture, etc.
📦Components of Multimedia
Element Description
�Types of Multimedia
1. Linear Multimedia
o Does not require user interaction
o Examples: movies, presentations that run automatically
2. Non-linear Multimedia (Interactive)
o User controls the content flow
o Examples: video games, e-learning modules, websites
💻Multimedia Formats
Operating System
An Operating System (OS) is a software that acts as an interface between computer hardware
components and the user. Every computer system must have at least one operating system to
run other programs.
Or
A program that acts as an intermediary between a user of a computer and the computer
hardware. An operating System is a collection of system programs that together control the
operations of a computer system. Some examples of operating systems are UNIX, Mach, MS-
DOS, MS-Windows, Windows/NT, Chicago, OS/2, MacOS, VMS, MVS, and VM.
• The General Motors Research Lab implemented the first OS in the early 1950s
for their IBM 701
• In the late 1960s, the first version of the Unix OS was developed • The first OS
built by Microsoft was DOS. It was built in 1981 by purchasing the 86-DOS
software from a Seattle company
1. Web Servers: Consider the bustling environment of a web server handling many incoming
requests. A Multi-Programming System allows the server to efficiently switch between
processing these requests, optimizing responsiveness, and ensuring no request goes
unanswered.
2. Database Management: In the realm of databases, the Multi-Programming System comes into
play when multiple users are querying the database simultaneously. The system's adept
multitasking ensures that these queries are handled concurrently, dramatically enhancing data
retrieval efficiency.
3. Video Editing: Envision a video editing software running several processes concurrently –
rendering, applying effects, and exporting files. The Multi-Programming System orchestrates
these tasks, drastically reducing the time required to finalize projects.
What is Multiprocessing?
Multiprocessing is a system that has two or more processors. In this, CPUs are
added to increase the computing speed of the system. Because of Multiprocessing,
many processes are executed simultaneously. This approach enhances
performance by leveraging parallelism to handle more tasks at once.
Multiprocessing is further classified into two categories: Symmetric
Multiprocessing and Asymmetric Multiprocessing.
Asymmetric multiprocessing: a specific task is allocated to a particular
processor, not every processor can perform all the tasks. Typically, there are
slave processors present that execute tasks based on the Master processor (who
controls the system) assigning the tasks to the slave processors.
Symmetric multiprocessing: all the processors have equal access to all
resources and are capable of executing any task allocated to them. They share a
common memory space which helps to communicate processors and data
sharing between them.
Advantages of Multi-Processing System:
It increases the throughput of the system as processes can be parallelized.
As it has several processors, so, if one processor fails, we can proceed with
another processor.
Real-World Examples:
Time-Sharing OS
5. Distributed Operating System
These types of operating systems are a recent advancement in the world of
computer technology and are being widely accepted all over the world and, that
too, at a great pace. Various autonomous interconnected computers communicate
with each other using a shared communication network. Independent systems
possess their own memory unit and CPU. Systems. These systems’ processors differ
in size and function. The major benefit of working with these types of operating
systems is that it is always possible that one user can access the files or software
which are not present on his system but on some other system connected within
this network, i.e., remote access is enabled within the devices connected to that
network.
Advantages of RTOS
Maximum Consumption
Task Shifting
Error-Free
Memory Allocation
Examples of Real-Time Operating Systems are Scientific experiments, medical
imaging systems, industrial control systems, weapon systems, robots, air traffic
control systems, etc.
8. Mobile Operating Systems
Mobile operating systems are designed specifically for mobile devices such as
smartphones and tablets. Examples of such operating systems are Android and iOS.
These operating systems manage the hardware and software resources of the
device, providing a platform for running applications and ensuring a seamless user
experience.
Difference between Multiprocessing and Multiprogramming
Multiprocessing Multiprogramming
The number of CPUs is more than one. The number of CPUs is one.
It takes less time for job processing. It takes more time to process the jobs.
In this, more than one process can be In this, one process can be executed
executed at a time. at a time.
Single User Operating System provides a platform for one Multiuser Operating System provides
user at a time. platform for multiple users at a time.
Single User Operating System may be a single user, single Multiuser Operating System may be time
task or a single user, multitasking operating system. sharing or multiprocessor system.
Single User Operating System is suitable for personal Multiuser Operating System is suitable for
computers. servers and mainframes.
1.Window:
Key Features:
Definition:
Android is a mobile operating system developed by Google, designed for touch-
screen devices like smartphones and tablets. It uses a GUI with icons, apps, and
widgets for easy user interaction.
Definition:
iOS is Apple’s mobile operating system used on devices like iPhones and iPads. It
provides a secure, fast, and smooth GUI where users interact with apps and
settings through touch and gestures.
Key Features: App grid, smooth animations, Control Center, integrated with Apple
services.
💻 5. macOS
Definition:
macOS is a graphical operating system developed by Apple Inc. for Mac
computers. It combines a UNIX-based core with a sleek GUI that includes the
Dock, Finder, and Mission Control.
1.Desktop:
The desktop is the main screen area that appears after the operating system loads. It acts like a
virtual workspace where icons, shortcuts, and files are placed. Users can interact with these
elements or open applications directly from the desktop.
A desktop is the primary user interface of a computer's operating system, where users can
access files, folders, applications, and system components. It is displayed on the screen when
the computer is turned on and the operating system loads. The desktop typically includes icons,
a taskbar or dock, and a background wallpaper.
Example of a Desktop:
Icons like “This PC,” “Recycle Bin,” or shortcuts to applications like Microsoft Word.
A taskbar at the bottom with the Start Menu, quick-launch apps, and system tray.
A wallpaper as the background image
2. Windows
or
1. Rectangular Frame:
The window provides a framed view of the program or content, clearly
separated from other parts of the screen.
2. Movable and Resizable:
Users can click and drag the window to reposition it, or drag its
edges/corners to change its size.
3. Contains Multiple Elements:
A standard window may include:
o Title Bar: Displays the window’s name (usually the file or application
name) and control buttons.
o Window Controls: Minimize, maximize/restore, and close buttons,
typically in the top-right corner.
o Scroll Bars: Appear if the content exceeds the visible area.
o Borders: Allow resizing and separate the window from the
background.
o Content Area: The main space inside the window where information
is displayed or user input is accepted.
4. Interactive:
Windows can receive user input through the mouse, keyboard, or
touchscreen. The active window is the one currently in focus and accepting
input.
5. Supports Multitasking:
Multiple windows can be open at the same time, allowing users to switch
between programs, compare documents, or drag and drop files between
locations.
Types of Windows:
Functions of a Window:
The title bar is located at the top of a window and shows the name of the
application or file open in that window. It also usually contains buttons to
minimize, maximize/restore, and close the window. Clicking and dragging the title
bar allows users to move the window around the screen.
The Title Bar is the horizontal bar located at the top of a window in a graphical
user interface. It serves as a key visual and functional component, providing
information about the window and offering basic window management controls.
The task bar is a horizontal (or sometimes vertical) bar, typically located at the
bottom of the screen. It displays currently running applications, pinned programs,
and background tasks. The task bar may also include the system tray (for clock,
notifications, network, and volume icons) and access to the start menu or
launcher.
The task bar is a horizontal or vertical bar typically located at the bottom of the
screen (though its position can be changed) in most GUI operating systems like
Windows, Linux (with desktop environments like GNOME, KDE), and even
macOS (similar functionality via the Dock). It serves as a central hub for managing
open applications, quick launching programs, and accessing system functions.
macOS: Uses the Dock (similar to a task bar), placed at the bottom or side
of the screen, showing running apps and shortcuts.
Linux: Depending on the desktop environment (e.g., GNOME, KDE Plasma,
XFCE), the task bar may be called a panel, dock, or bar, but serves similar
functions.
The start menu (or launcher in some OSs like Linux or Android) provides access to
applications, system settings, files, and power options. It typically opens when the
user clicks the "Start" button on the task bar. It is a central hub for accessing and
searching programs and features on the computer.
The Start Menu (in Windows) or Launcher (in systems like Linux, macOS, or
Android) is a centralized access point for applications, settings, files, and power
options. It is typically accessed from the bottom-left corner of the screen (on
desktops and laptops) or from a gesture or icon (on mobile devices).
2. Search Functionality
Users can pin apps to the Start Menu or Launcher for quick access.
Pinned items often appear as tiles (Windows) or icons (Linux/macOS).
Provides access to file management tools where users can browse and
organize files and folders.
7. Power Options
8. Customization
In modern systems (e.g., Windows 10/11 or KDE Plasma on Linux), the Start
Menu or Launcher can be customized:
o Change themes or colors
o Resize or rearrange tiles/icons
o Add or remove categories
5. Icon
or
Icons are usually small images or symbols that visually represent a specific
item or function.
For example:
o A trash can icon represents deleted files or the recycle bin.
o A folder icon represents a storage directory.
o A gear icon may represent settings.
3. Label or Name
Most icons are displayed with a text label below or beside them to indicate
what they represent (e.g., "My Computer", "Photos", "Documents").
4. Types of Icons
6. Customization
7. Button
8. Menu
A menu is a list of commands or options that a user can select. Menus are often
found in the menu bar of applications (e.g., File, Edit, View). They may expand
into submenus and can appear as drop-downs or pop-ups depending on the
action (e.g., right-click context menu).
9. Dialogue Box
A dialogue box is a pop-up window that appears to prompt the user for input or
to display important information. Dialogue boxes often require user interaction
before proceeding (e.g., saving a file, confirming a deletion, or choosing options).
10. Tab
Tabs are interface elements that allow users to switch between different views or
pages within a single window. Tabs are common in web browsers (e.g., separate
websites) and in applications like settings or file managers to organize related
options in one interface.
11. Toolbar
12. Ribbon
A Graphical User Interface (GUI) allows users to interact with a computer using
visual elements like windows, icons, menus, buttons, and pointer devices (mouse,
touch). It transforms complex command-based operations into a visual and
intuitive experience.
⚙ 1. Basic Concept
In a GUI-based system, the user doesn't need to type commands (as in Command
Line Interfaces). Instead, the user interacts with graphical elements using devices
like a mouse, keyboard, or touchscreen.
🔁 2. Step-by-Step Workflow
🔹Step 1: User Input
The user clicks a button, moves a mouse, presses a key, or taps a screen.
These actions are collected by input devices (mouse, keyboard,
touchscreen).
If the result of the action changes what the user sees, the GUI toolkit
redraws the screen.
The graphics system renders updated windows, icons, buttons, or images.
The frame buffer sends final pixel data to the monitor to display it.
5. Reduced Users can perform tasks with minimal training thanks to the
Learning Curve intuitive layout and graphical elements.
6. Easy Elements like toolbars, icons, scroll bars, and tabs simplify
Navigation navigation through the software or file system.
❌Disadvantages of GUI
Disadvantage Description
1. High Resource GUIs require more system resources (RAM, CPU, graphics)
Disadvantage Description
Managing files and folders in the Windows Operating System is essential for
keeping data organized and accessible. Windows offers a variety of tools and
features through File Explorer, the default file management interface, to perform
operations like creating, renaming, copying, moving, and deleting files and
folders.
1. File Explorer
File Explorer (formerly known as Windows Explorer) is the main interface used for
browsing, managing, and organizing files and folders.
Access: Press Windows Key + E or click on the File Explorer icon on the
taskbar or Start menu.
Navigation Pane: Shows the file structure (e.g., This PC, Documents,
Downloads).
Address Bar: Displays the current folder location and allows direct
navigation.
Ribbon Toolbar: Provides commands for managing files and folders (e.g.,
New Folder, Copy, Paste, Rename, Properties).
2. File and Folder Operations
Creating Files and Folders
Steps:
1. Open File Explorer.
2. Navigate to the desired location.
3. Right-click and select New > Folder (or New > specific file type like
Text Document).
4. Enter a name and press Enter.
Renaming
Select the file or folder → Right-click → Choose Rename → Type new name
→ Press Enter.
Deleting
Searching
Use the Search box in File Explorer to quickly find files and folders by name,
date, type, or content.
3. Folder Organization
Libraries
Windows groups user folders like Documents, Pictures, Music, and Videos
into Libraries.
These help users access similar types of content from different locations in
one place.
Sorting and Grouping
Use View Options to sort files by name, date modified, size, type, etc.
Grouping helps categorize files for easier navigation.
7. Cloud Integration
Resume.pdf, Photo.jpg,
Examples Documents, Downloads, Projects
Song.mp3
Method 1:
Click Start> Type "Control Panel"> Press Enter.
Method 2:
Press Windows Key + R, type control, and press Enter.
Method 3 (Windows 10/11):
Right-click the Start button> Select Control Panel (or Settings if Control
Panel is not listed, then search inside it).
The Control Panel organizes tools into different categories, especially in Category
View. These include:
Installation Steps
Now you can easily install and uninstall Softaken Software on Windows
platforms!
After downloading installer file, execute the following steps to install the
software:
1. Double Click the Softaken software icon from desktop or start menu
You can easily uninstall Softaken Software from your computer or Laptop.
Follow these simple steps to Uninstall Softaken Software
5. Click OK button.
View installed updates
Set default programs for file types
Turn Windows features on/off
5. User Accounts
8. Ease of Access
2. Mouse
3. Monitor
Monitors connect to the CPU using either HDMI or VGA cables.The specific cable
type depends on the ports available on both the CPU and monitor.
4. Printer
Printers can be connected to the CPU via USB cable, or they can be connected to a
network.If connecting via USB, choose the appropriate cable (usually USB A to B).
Connection Type: USB, Wi-Fi (wireless), or network (Ethernet).
How to Connect:
o USB Printer: Plug the USB cable from the printer into a USB port on
the CPU.
o Wi-Fi Printer: Connect the printer to the same Wi-Fi network as your
computer, then install the drivers.
o Ethernet Printer: Connect the printer to the router or network switch
using an Ethernet cable. Then install it as a network printer on your
PC.
5. Projector
Projectors typically connect to the CPU via HDMI or VGA cables, similar to
monitors.You may also need to connect a USB cable for audio or other features.
Trobleshooting:
Causes:
Troubleshooting Steps:
Solution: If PSU is faulty, replace it. If no power despite working PSU, the issue
may lie in the motherboard or other internal components.
Causes:
Troubleshooting Steps:
1. Turn Off Printer:
o Always power off before removing jammed paper.
2. Open All Accessible Panels:
o Check input and output trays, rear door, and cartridge area.
3. Gently Remove Jammed Paper:
o Pull in the direction of paper movement to avoid tearing.
4. Check for Leftover Paper Bits:
o Even small scraps can cause future jams.
5. Inspect and Clean Rollers:
o Use a lint-free cloth and rubbing alcohol.
Prevention: Use recommended paper types, store paper properly, and don’t
overload trays.
Causes:
No connection (USB/Wi-Fi)
Outdated or corrupted drivers
Spooler service issues
Empty ink/toner
Troubleshooting Steps:
Causes:
Troubleshooting Steps: