Lecture11_16473_Unit 1
Lecture11_16473_Unit 1
in
in
y.
Orientation to Computing-I
ud
st
ty
si
er
iv
L T P :2 0 0
un
in
• Computer associated peripherals
y.
• Memories (Primary and Secondary)
ud
•
st
System Configuration
ty
• BIOS configuration
• si
er
PC connection interface
iv
• RAID, GPU basics , CPU and GPU
un
in
y.
ud
st
ty
si
er
iv
un
in
y.
ud
st
ty
si
er
iv
un
www.universitystudy.in
www.lpu.in Lovely Professional University
4
www.universitystudy.in
in
y.
ud
st
ty
si
er
iv
un
Structure of Computer
in
y.
ud
st
ty
si
er
iv
un
in
desktop includes the computing unit plus a monitor, keyboard, and mouse.
y.
• Add even more peripherals to the computer, and the computer will be able
ud
to do that many more tasks. But, what are computer peripherals?
st
• A computer peripheral, technically speaking, is any device that connects
ty
to the computing unit but is not part of the core architecture of the
computing unit.
si
er
• The core computing unit consists of the central processing unit (CPU),
iv
• The case that surrounds these elements are also considered part of the core
computing unit.
• So anything that is connected to these elements is considered a peripheral.
in
y.
• Monitor
ud
• RAM
st
• DVD-ROM
ty
• Microphone
• Webcam
si
er
• Printer
iv
un
All of these are peripherals because they all are extra accessories that connect
with the main computing unit to provide extra power and abilities. RAM, for
example, gives the computer more room to process more operations more
quickly.
in
• The type of computer peripherals and their uses determines the category of
y.
the peripheral. The three categories are the following.
ud
st
• Input devices
ty
• Output devices
•
si
Input/output and storage devices
er
iv
•
un
These categories are based on the direction of data flow. Some peripherals
send data to the computer, while other peripherals receive data from the
computer. Other peripherals can do both; they can both send and receive
data from the computer
Input Devices
in
They do not receive information from the computer.
y.
• Input devices are one-way devices.
ud
• A mouse is an input device because it sends information to the computer.
st
• A mouse is used to tell the computer which way to move the cursor.
ty
• A microphone is another peripheral that is an input device. The
si
microphone sends audio data to the computer.
er
iv
un
Output Devices
in
•
y.
A speaker is an output device because the computer sends sound
ud
information to the speaker, but the speaker does not send sound information
to the computer.
st
• Standard monitors are output devices as well since their job is to display
ty
graphical information from the computer.
• si
er
Standard monitors do not send information to the computer.
iv
• Touchscreen monitors are not strict output devices
un
Memories
in
y.
ud
• Computer memory is of two basic types – Primary memory(RAM and
ROM) and Secondary memory (hard drive, CD, etc).
st
ty
si
• Random Access Memory (RAM) is primary-volatile memory and Read-
er
Only Memory (ROM) is primary-non-volatile memory.
iv
un
Classification of Memory
in
y.
ud
st
ty
si
er
iv
un
in
y.
ud
• The programs and data that the CPU requires during the execution of a
program are stored in this memory.
st
ty
si
• It is a volatile memory as the data is lost when the power is turned off.
er
iv
• RAM is further classified into two types- SRAM (Static Random Access
un
DRAM Vs SRAM
in
y.
ud
st
ty
si
er
iv
un
in
state as long as power is supplied to the circuit.
y.
ud
SRAM is faster and more reliable compared to DRAM
st
because it doesn't require periodic refreshing to
ty
maintain data integrity.
si
er
• SRAM is commonly used for cache memory in CPUs
iv
access is crucial.
in
represents each bit. Since capacitors naturally
y.
ud
discharge over time, DRAM requires frequent
st
refreshing to maintain the integrity of stored data.
ty
Each memory cell in DRAM is made up of a transistor
si
er
and a capacitor.
iv
in
more power. DRAM is cheaper and offers higher
y.
ud
memory density, making it suitable for main memory,
st
but it requires periodic refreshing and has slightly
ty
slower access times compared to SRAM.
si
er
iv
un
in
Stores crucial information essential to operate the system, like the program
y.
essential to boot the computer.
ud
• It is not volatile.
•
st
Always retains its data.
ty
• Used in embedded systems or where the programming needs no change.
•
si
Used in calculators and peripheral devices.
er
• ROM is further classified into four types- MROM, PROM, EPROM, and
iv
EEPROM.
un
in
pattern of data during the chip's fabrication. The data is
y.
"masked" onto the ROM during production, and this data
ud
cannot be changed after manufacturing. Mask ROM is used
st
for applications where the data needs to be permanently
ty
stored and cannot be altered.
si
• A masked ROM in a video game console might contain the
er
essential instructions and data needed to boot up the
iv
un
in
allows the user to program data onto the chip after purchase.
y.
This is typically done using a special device called a PROM
ud
programmer. Once programmed, the data is fixed and cannot
st
be changed again. PROMs are useful when data needs to be
ty
programmed at a later stage but still remain unalterable.
si
• Apple I computer, designed by Steve Wozniak used a PROM
er
chip to store a program that was loaded and executed when
iv
un
in
using ultraviolet (UV) light. The chip is covered with a quartz
y.
window through which UV light can be used to erase the data.
ud
This process is relatively slow and requires removing the chip
st
from the circuit.
ty
• In Nintendo Entertainment System (NES), game developers
si
er
would program their games onto EPROM chips, and these
iv
chips were then inserted into the plastic cartridges that
un
in
that can be erased and reprogrammed electronically without
y.
removing the chip from the circuit. EEPROMs offer greater
ud
flexibility and ease of use compared to EPROMs.
st
• USB flash drives, also known as USB sticks or thumb drives,
ty
use EEPROM technology to store data. These drives are
si
er
portable and can be connected to various devices via a USB
iv
port. The data stored in the EEPROM of a USB flash drive can
un
RAM vs ROM
in
y.
ud
st
ty
si
er
iv
un
Memory size
1 Byte (B) 8 bits
1 Kilobyte (KB) 1024 bytes
in
y.
1 Megabyte (MB) 1024 KB
ud
1 Gigabyte (GB) 1024 MB
st
1 Terabyte (TB) 1024 GB
ty
1 Petabyte (PB)
si 1024 TB
er
1 Exabyte (EB) 1024 PB
iv
un
in
device that is internal or external to the computer. It can be any
y.
storage device beyond the primary storage that enables
ud
permanent data storage.
st
ty
• A secondary storage device is also known as an auxiliary
si
er
storage device, backup storage device, tier 2 storage, or
iv
external storage.
un
in
Since they always consist of non-volatile memory, they allow the user to
y.
permanently store data on them.
ud
• Typically, secondary storage allows for the storage of data ranging from a
st
few megabytes to petabytes.
ty
• These devices store virtually all programs and applications stored on a
si
computer, including the operating system, device drivers, applications and
er
general user data.
iv
• They are used for a variety of purposes ranging from backup data used for
un
in
y.
ud
• Also, many secondary storage devices are now virtual devices residing on
third-party cloud servers hosted by many services such as Dropbox,
st
Google Drive, Amazon Web Services (AWS), or Microsoft Azure. Cloud
ty
repositories are particularly used by companies that embrace the software-
as-a-service (SaaS) model.
si
er
iv
un
in
y.
ud
• Solid-state drives (SSDs), Hard disk drives (HDDs), Cloud storage, CD-
ROM drives, DVD drives, Blu-ray drives, USB flash drives, SD cards,
st
Floppy diskette, Tape drives, Zip and Jaz drives.
ty
si
er
• Secondary drives are assigned a letter from D: onwards by the modern
iv
operating systems.
un
in
capacity of 1.44 megabytes (MB).
y.
ud
st
ty
si
er
iv
un
in
coated with a magnetic material to store
y.
digital information.
ud
st
ty
si
er
iv
un
magnetic-tape
in
access times, and are more convenient to use.
y.
ud
• Technologies like hard drives, SSDs, and
st
optical discs have surpassed magnetic tape in
ty
si
terms of storage density, making them more
er
suitable for handling large amounts of data in
iv
un
System Configuration
• System configuration is a term in systems engineering that defines the
computer hardware, the processes as well as the various devices that
in
comprise the entire system and its boundaries.
y.
ud
• This term also refers to the settings or the hardware-software arrangement
st
and how each device and software or process interact with each other based
ty
on a system settings file created automatically by the system or defined by
the user.
si
er
iv
un
System Configuration
• System configuration mainly refers to the specification of a given computer
system, from its hardware components to the software and various
in
processes that are run within that system.
y.
•
ud
It refers to what types and models of devices are installed and what specific
software is being used to run the various parts of the computer system.
st
• By extension, system configuration also refers to the specific operating
ty
system settings that have been set by default automatically or manually by
a given program or the user.
si
er
iv
un
in
y.
• To check your PC hardware specs, click on the Windows Start button, then
ud
click on Settings (the gear icon).
st
ty
• In the Settings menu, click on System. Scroll down and click on About. On
si
this screen, you should see specs for your processor, Memory (RAM), and
er
other system info, including Windows version.
iv
un
in
and retrieve digital information.
y.
• An HDD consists of one or more spinning disks
ud
st
(platters) coated with a magnetic material and
ty
read/write heads that move over the platters to
si
access and manipulate data.
er
iv
in
with helium to keep the temperatures down and allow for higher
y.
performance.
ud
• There are also advancements that aim to make hard drives even more
st
efficient, such as energy-assisted magnetic recording, which is another
ty
enterprise-only feature for now.
•
si
Despite these changes, the basic underlying hard drive technology remains
er
the same: quickly rotating magnetic platters paired with read/write heads
iv
in
y.
ud
st
ty
si
er
iv
un
in
y.
drives deliver better performance.
ud
• They’re the fastest storage option available by far. Not only can
st
SSDs read and write data much faster than hard drives with most
ty
workloads, but they can also access the data much more quickly.
si
• HDDs are susceptible to mechanical failures, generate heat, and
er
consume more power compared to newer storage technologies like
iv
of spinning disks, offer even faster access times, higher data transfer
rates, and improved durability compared to both HDDs and
magnetic tapes.
in
y.
ud
st
ty
si
er
iv
un
HDD Vs SSD
in
2. SSDs are much costly compared to Hard Disk Drives
y.
3. SSDs, if die, they die without any warning so you may lose your data if not
ud
already backed up
st
4. SSDs are good for people who need higher speeds as in gaming and real-
ty
time computing etc.
si
5. Hard Disk Drives are okay for people who require more of storage space
er
compared to speed.
iv
un
Processor
• A processor is an integrated electronic circuit that performs the calculations
that run a computer. A processor performs arithmetical, logical,
input/output (I/O) and other basic instructions that are passed from an
in
operating system (OS).
y.
• Most other processes are dependent on the operations of a processor.
ud
• The terms processor, central processing unit (CPU) and microprocessor are
st
commonly linked as synonyms. Most people use the word “processor”
ty
interchangeably with the term “CPU” nowadays, it is technically not
si
correct since the CPU is just one of the processors inside a personal
er
computer (PC).
iv
• The Graphics Processing Unit (GPU) is another processor, and even some
un
in
y.
ud
• A single CPU core can have up-to 2 threads per core.
st
ty
• A CPU with two physical cores, each supporting two hardware threads, is
si
often referred to as a dual-core processor with four threads. These
er
hardware threads can execute instructions in parallel or be scheduled
iv
independently by the operating system.
un
• For example, if a CPU is dual core (i.e., 2 cores) it will have 4 threads. And
if a CPU is Octal core (i.e., 8 core) it will have 16 threads and vice-versa.
in
y.
ud
st
ty
si
er
iv
un
in
• The only fact that will limit the creation of the threads will be the number
y.
of the threads provided by the physical CPU, and it varies from CPU to
ud
CPU.
st
• The 1st image is the loading spinner by the first thread and the second one
ty
is the GUI loading by the second thread.
si
er
iv
un
Use of Threads
• Threads have become a vital part of the computing as they allow the
processor to perform multiple tasks at the same time making the tasks
faster.
in
y.
•
ud
And also making the computer capable of multitasking.
st
•
ty
Due to threads only you are able to browse the web as well as listen to
si
music simultaneously. er
iv
un
BIOS Configuration
• A computer's basic input/output system (BIOS) is a program that's stored in
nonvolatile memory such as read-only memory (ROM) or flash memory,
making it firmware.
in
y.
•
ud
The BIOS (sometimes called ROM BIOS) is always the first program that
executes when a computer is powered up.
st
ty
•
si
BIOS identifies, configures, tests and connects computer hardware to the
er
OS immediately after a computer is turned on.
iv
un
• These tasks are each carried out by BIOS' four main functions.
BIOS Configuration
• Power-On Self-Test (POST):
• When we power on or reset your computer, the BIOS begins
in
by performing a series of diagnostic tests called the POST.
y.
• The POST checks various hardware components such as the
ud
CPU, memory (RAM), graphics card, storage devices, and
st
other peripherals to ensure they are functioning correctly.
ty
• If any issues or errors are detected during the POST, the BIOS
si
er
typically generates error codes or beep patterns to alert the
iv
user or technician to the problem.
un
BIOS Configuration
• System Configuration and Setup (CMOS setup):
• The BIOS provides a user-accessible interface for configuring
various system settings. This interface is typically accessed by
in
pressing a specific key (e.g., Del, F2, or F12) during the early
y.
stages of the boot process.
ud
• Users can configure settings such as the system date and time,
st
boot order, CPU clock speed, memory settings, and hardware
ty
virtualization options within its CMOS.
si
er
• This means that every change we make to our BIOS structure
iv
is saved on this special memory chip called the
un
BIOS Configuration
• Bootstrapping and Boot Sequence Control:
• Once the POST completes successfully, the BIOS is responsible
in
for initiating the process of loading the operating system.
y.
• The BIOS determines the boot order, which specifies where
ud
the computer should look for an operating system to load. It
st
can be configured to boot from different devices, such as the
ty
hard drive, solid-state drive, CD/DVD drive, USB drive, or
si
er
network.
iv
• The BIOS loads the bootloader, which is a small program that
un
BIOS Configuration
• Low-Level Hardware Control (BIOS Drivers):
• The BIOS interacts directly with hardware components,
in
including storage devices, display adapters, keyboard, and
y.
other input/output devices.
ud
• It initializes these components and provides a consistent
st
interface to the operating system, ensuring that the hardware
ty
can be controlled and utilized effectively by higher-level
si
er
software.
iv
• BIOS functions as a bridge between the hardware and the
un
in
your computer your own.
y.
• Whether you need to update your BIOS or sweep it clean of systematic bugs,
ud
knowing how to enter BIOS is essential for PC users. In order to access BIOS on a
st
Windows PC, you must press your BIOS key set by your manufacturer which could
be F10, F2, F12, F1, or DEL.
ty
•
si
If your PC goes through its power on self-test startup too quickly, you can also
er
enter BIOS through Windows 10’s advanced start menu recovery settings.
• One thing PC users love most about Windows is how many options you can
iv
• Even before your computer has completed a full startup, you can venture into
your BIOS software to modify the boot order, enable hardware components, or
change the system time and date.
in
How to access Windows 7, Vista, and XP BIOS
y.
• The same method of pressing your designated hotkey during boot-up should be able to gain you access
ud
into your BIOS. Be sure to press that button as soon as you see your manufacturer’s brand logo.
• Older operating systems tend to load more slowly, so your window of time to press your designated
st
hotkey should be wide enough for prompt BIOS access. Follow this three-step method to enter BIOS on
ty
Windows 7 or later.
si
• Step 1. Turn off your computer er
• On older operating systems, you can only access BIOS just before the Microsoft Windows logo appears
iv
on your computer screen.
• Step 2. Power your PC on
un
BIOS Settings
in
y.
ud
st
ty
si
er
iv
un
BIOS Settings
in
y.
ud
st
ty
si
er
iv
un
BIOS Settings
in
y.
ud
st
ty
si
er
iv
un
BIOS Settings
in
y.
ud
st
ty
si
er
iv
un
BIOS Settings
in
y.
ud
st
ty
si
er
iv
un
BIOS Settings
in
y.
ud
st
ty
si
er
iv
un
PC Connection Interface
• There are various PC connection interfaces . In this category USB has the
largest share of the market due to its ease of use and device compatibility
in
•
y.
PCIe stands for PCI Express card bus and it is an internal bus.
ud
• IEEE 1394,USB,eSATA are used for external hard disk connections
•
st
Most commonly used Video connectors include VGA, HDMI, and DVI.
ty
• For connecting an LCD monitor, you need a digital signal connector such
si
as DVI or HDMI. PGA, and VGA are analog standards.
er
• The different versions of USB cables, like USB 2.0 and USB 3.0, are
iv
concerned with the functionality and speed of the USB cable; whereas, the
un
type of USB cable (like USB Type A, USB Type B) essentially refers to the
physical design of the plugs and ports.
• USB is used for connecting USB-compliant peripheral devices, and eSATA
is used for connecting external eSATA devices such as eSATA disk drives.
www.lpu.in Lovely Professional University
www.universitystudy.in
60
www.universitystudy.in
in
y.
ud
st
ty
si
er
iv
un
in
cards, computer monitors, laptop computers, projectors, and high definition
y.
television sets. On laptop computers or other small devices, a mini-VGA
ud
port was sometimes used in place of the full-sized VGA connector.
st
ty
• HDMI (High-Definition Multimedia Interface) is a proprietary
si
audio/video interface for transmitting uncompressed video data and
er
compressed or uncompressed digital audio data from an Compliant source
iv
in
security than Bluetooth (range of about 50m) and makes NFC suitable for
y.
crowded areas where correlating a signal with its transmitting physical
ud
device.
•
st
There are two different types of NFC: Active and passive. Active NFC,
ty
which is currently used on many Android devices, as well as the new Apple
si
devices, can send and receive data. Passive NFC, on the other hand, can
er
only send data.
iv
• However, passive NFC provides an extra benefit: The passive devices can
un
run without power. For example, a student ID card may use NFC
technology. If you tap the card on the bus, your card is passively
transferring information through NFC to the bus system's active card
reader.
in
Serial communication transfers data one bit at a time, rather than in
y.
several parallel streams.
ud
• Despite the apparent advantage of the parallel model, in practice serial
transmission is less susceptible to interference, allowing SATA to
st
operate at significantly higher speeds than PATA.
ty
•
si
The serial model also allows for simpler and slimmer cabling.
er
iv
un
in
1. Turn on your Bluetooth device and make it discoverable. The way you
y.
make it discoverable depends on the device. Check the device or visit the
ud
manufacturer's website to learn how.
2. On your PC, select Start > Settings > Bluetooth & devices > Add
st
device > Bluetooth .
ty
si
3. Choose the Bluetooth device, follow additional instructions if they appear,
er
then select Done.
iv
• Your Bluetooth device and PC will usually automatically connect anytime
un
the two devices are in range of each other with Bluetooth turned on.
in
• Today, most motherboards have built-in RAID but not necessarily every
y.
RAID configuration. In the past, RAID was also accomplished by software
ud
only but was much slower.
st
• In the late 1980s, the "I" in RAID stood for "inexpensive" but was later
ty
changed to "independent."
• si
er
In large storage area networks (SANs), floor-standing RAID units are
common with terabytes of storage and huge amounts of cache memory.
iv
un
RAID 0
in
y.
ud
st
ty
RAID 0 - Striping for Performance (Popular)
si
Widely used for gaming, striping interleaves data across multiple drives
er
for performance. However, there are no safeguards against failure.
iv
Data is divided into smaller chunks, and each chunk is written to a
un
different drive. This parallelism allows for faster data access and transfer
speeds. However, it's important to note that these RAID levels do not
provide redundancy, so they prioritize speed over data protection.
in
y.
ud
st
RAID 1 - Mirroring for Fault Tolerance (Popular) Widely used,
ty
RAID 1 writes two drives at the same time. It provides the highest
si
reliability but doubles the number of drives needed. RAID 1+0 combines
er
RAID 1 mirroring with RAID 0 striping for both safety and
iv
performance.
un
RAID 3
in
y.
ud
st
ty
RAID 3 - Speed and Fault Tolerance
si
er
Data are striped across three or more drives for performance, and parity
iv
is computed for safety. Similar to RAID 3, RAID 4 uses block level
un
RAID 5
in
y.
ud
st
ty
si
RAID 5 - Speed and Fault Tolerance (Popular) Data are striped across
er
three or more drives for performance, and parity is computed for safety.
iv
RAID 5 is similar to RAID 3, except that the parity is distributed to all
un
GPU Basics
• Graphics processing technology has evolved to deliver unique benefits in the
world of computing.
• The latest graphics processing units (GPUs) unlock new possibilities in
in
gaming, content creation, machine learning, and more.
y.
• GPU stands for graphics processing unit. GPUs are also commonly referred
ud
to as graphics cards or video cards. Every PC uses a GPU to render images,
st
video and 2D or 3D animations for display. A GPU performs quick math
ty
calculations and frees up the CPU to do other things.
si
er
There are two different types of GPUs:
iv
• Integrated GPUs are located on a PC’s CPU and share memory with the
un
CPU’s processor.
• Discrete GPUs live on their own card and have their own video memory
(VRAM), so that the PC doesn’t have to use its RAM for graphics.
• The graphics processing unit, or GPU, has become one of the most
important types of computing technology, both for personal and business
computing. Designed for parallel processing, the GPU is used in a wide
in
range of applications, including graphics and video rendering.
y.
• Although they’re best known for their capabilities in gaming, GPUs are
ud
becoming more popular for use in creative production and artificial
intelligence (AI).
st
•
ty
GPUs were originally designed to accelerate the rendering of 3D graphics.
si
Over time, they became more flexible and programmable, enhancing their
er
capabilities. This allowed graphics programmers to create more interesting
visual effects and realistic scenes with advanced lighting and shadowing
iv
un
techniques.
• Other developers also began to tap the power of GPUs to dramatically
accelerate additional workloads in high performance computing (HPC),
deep learning, and more.