1
Orientation to Computing-I
L T P :2 0 0
www.lpu.in Lovely Professional University
Unit-1 (Computer Systems)
•Basic structure of computer, working
•Computer associated peripherals
•Memories (Primary and Secondary)
•System Configuration
•BIOS configuration
•PC connection interface
•RAID, GPU basics , CPU and GPU
2
www.lpu.in Lovely Professional University
3www.lpu.in Lovely Professional University
4www.lpu.in Lovely Professional University
5
www.lpu.in Lovely Professional University
Structure of Computer
6
www.lpu.in Lovely Professional University
Computer Associated Peripherals
•Computersareusedtoaccomplishmanytasks.Abasicdesktopcomputer
desktopincludesthecomputingunitplusamonitor,keyboard,andmouse.
•Addevenmoreperipheralstothecomputer,andthecomputerwillbeable
todothatmanymoretasks.But,whatarecomputerperipherals?
•Acomputerperipheral,technicallyspeaking,isanydevicethatconnects
tothecomputingunitbutisnotpartofthecorearchitectureofthe
computingunit.
•Thecorecomputingunitconsistsofthecentralprocessingunit(CPU),
motherboard,andpowersupply.
•Thecasethatsurroundstheseelementsarealsoconsideredpartofthecore
computingunit.
•Soanythingthatisconnectedtotheseelementsisconsideredaperipheral.
7www.lpu.in Lovely Professional University
List of Computer Peripherals
•Mouse
•Keyboard
•Monitor
•RAM
•DVD-ROM
•Microphone
•Webcam
•Printer
Alloftheseareperipheralsbecausetheyallareextraaccessoriesthatconnect
withthemaincomputingunittoprovideextrapowerandabilities.RAM,for
example,givesthecomputermoreroomtoprocessmoreoperationsmore
quickly.
8
www.lpu.in Lovely Professional University
Main Categories of Computer
Peripherals: Uses & Examples
•The type of computer peripherals and their uses determines the category of
the peripheral. The three categories are the following.
•Input devices
•Output devices
•Input/output and storage devices
•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
9
www.lpu.in Lovely Professional University
Input Devices
•Inputdevicesaredevicesthatsendinformationtothecomputer.
•Theydonotreceiveinformationfromthecomputer.
•Inputdevicesareone-waydevices.
•Amouseisaninputdevicebecauseitsendsinformationtothecomputer.
•Amouseisusedtotellthecomputerwhichwaytomovethecursor.
•Amicrophoneisanotherperipheralthatisaninputdevice.The
microphonesendsaudiodatatothecomputer.
10
www.lpu.in Lovely Professional University
Output Devices
•Anoutputdeviceisadevicethatreceivesinformationfromthecore
computingunitbutdoesnotsendinformationtothecomputer.
•Aspeakerisanoutputdevicebecausethecomputersendssound
informationtothespeaker,butthespeakerdoesnotsendsoundinformation
tothecomputer.
•Standardmonitorsareoutputdevicesaswellsincetheirjobistodisplay
graphicalinformationfromthecomputer.
•Standardmonitorsdonotsendinformationtothecomputer.
•Touchscreenmonitorsarenotstrictoutputdevices
11
www.lpu.in Lovely Professional University
Memories
•Memoryisthemostessentialelementofacomputingsystembecause
withoutitcomputercan’tperformsimpletasks.
•Computermemoryisoftwobasictypes–Primarymemory(RAMand
ROM)andSecondarymemory(harddrive,CD,etc).
•RandomAccessMemory(RAM)isprimary-volatilememoryandRead-
OnlyMemory(ROM)isprimary-non-volatilememory.
12
www.lpu.in Lovely Professional University
Classification of Memory
13
www.lpu.in Lovely Professional University
Random Access Memory (RAM)
•Itisalsocalledread-writememoryorthemainmemoryortheprimary
memory.
•TheprogramsanddatathattheCPUrequiresduringtheexecutionofa
programarestoredinthismemory.
•Itisavolatilememoryasthedataislostwhenthepoweristurnedoff.
•RAMisfurtherclassifiedintotwotypes-SRAM(StaticRandomAccess
Memory)andDRAM(DynamicRandomAccessMemory).
17
www.lpu.in Lovely Professional University
DRAM Vs SRAM
18
www.lpu.in Lovely Professional University
Read Only Memory (ROM)
•Read-Only Memory (ROM)
•Stores crucial information essential to operate the system, like the program
essential to boot the computer.
•It is not volatile.
•Always retains its data.
•Used in embedded systems or where the programming needs no change.
•Used in calculators and peripheral devices.
•ROM is further classified into four types-MROM, PROM, EPROM, and
EEPROM.
19
www.lpu.in Lovely Professional University
RAM vs ROM
20www.lpu.in Lovely Professional University
Secondary Storage Devices
•Asecondarystoragedevicereferstoanynon-volatilestoragedevicethatis
internalorexternaltothecomputer.Itcanbeanystoragedevicebeyond
theprimarystoragethatenablespermanentdatastorage.
•Asecondarystoragedeviceisalsoknownasanauxiliarystoragedevice,
backupstoragedevice,tier2storage,orexternalstorage.
21
www.lpu.in Lovely Professional University
Use Cases of Secondary Storage
Devices
•Today,manysecondarystoragedrivesarefrequentlyexternal,especially
sincetheintroductionofUSBflashdrivesandplug-and-playdevices.
•Also,manysecondarystoragedevicesarenowvirtualdevicesresidingon
third-partycloudservershostedbymanyservicessuchasDropbox,
GoogleDrive,AmazonWebServices(AWS),orMicrosoftAzure.Cloud
repositoriesareparticularlyusedbycompaniesthatembracethesoftware-
as-a-service(SaaS)model.
23
www.lpu.in Lovely Professional University
Forms of Backup Storage
•Althoughmanyformsofbackupstoragesuchastapedrivesandfloppy
disketteshavebeenlongabandoned,secondarystoragedevicesinclude:
•Solid-statedrives(SSDs),Harddiskdrives(HDDs),Cloudstorage,CD-
ROMdrives,DVDdrives,Blu-raydrives,USBflashdrives,SDcards,
Floppydiskette,Tapedrives,ZipandJazdrives.
•SecondarydrivesareassignedaletterfromD:onwardsbythemodern
operatingsystems.
•That’sbecausehistorically,inoldDOSandWindowsoperatingsystems,
volumelettersA:,B:,andC:werereservedfortwofloppydrives(A:and
B:)andtheprimarydrive(usuallyaharddisk).
24
www.lpu.in Lovely Professional University
System Configuration
•Systemconfigurationisaterminsystemsengineeringthatdefinesthe
computerhardware,theprocessesaswellasthevariousdevicesthat
comprisetheentiresystemanditsboundaries.
•Thistermalsoreferstothesettingsorthehardware-softwarearrangement
andhoweachdeviceandsoftwareorprocessinteractwitheachotherbased
onasystemsettingsfilecreatedautomaticallybythesystemordefinedby
theuser.
25
www.lpu.in Lovely Professional University
System Configuration
•Systemconfigurationmainlyreferstothespecificationofagivencomputer
system,fromitshardwarecomponentstothesoftwareandvarious
processesthatarerunwithinthatsystem.
•Itreferstowhattypesandmodelsofdevicesareinstalledandwhatspecific
softwareisbeingusedtorunthevariouspartsofthecomputersystem.
•Byextension,systemconfigurationalsoreferstothespecificoperating
systemsettingsthathavebeensetbydefaultautomaticallyormanuallyby
agivenprogramortheuser.
26
www.lpu.in Lovely Professional University
Activity-1 for System Configuration
HowdoIfindsystemconfiguration?
•TocheckyourPChardwarespecs,clickontheWindowsStart
button,thenclickonSettings(thegearicon).
•IntheSettingsmenu,clickonSystem.Scrolldownandclick
onAbout.Onthisscreen,youshouldseespecsforyour
processor,Memory(RAM),andothersysteminfo,including
Windowsversion.
27
www.lpu.in Lovely Professional University
Hard Disk Drives (HDD)
•Acomputerharddiskdrive(HDD)isanon-volatiledatastorage
device.Non-volatilereferstostoragedevicesthatmaintainstored
datawhenturnedoff.
•DDsareusuallyinstalledinsidedesktopcomputers,mobiledevices,
consumerelectronicsandenterprisestoragearraysindatacenters.
Theycanstoreoperatingsystems,softwareprogramsandotherfiles
usingmagneticdisks.
•Storagedeviceslikeharddisksareneededtoinstalloperating
systems,programsandadditionalstoragedevices,andtosave
documents.WithoutdeviceslikeHDDsthatcanretaindataafterthey
havebeenturnedoff,computeruserswouldnotbeabletostore
programsorsavefilesordocumentstotheircomputers.Thisiswhy
everycomputerneedsatleastonestoragedevicetopermanentlyhold
dataaslongasitisneeded.
28
30
The WD Black 4TB drive without its
cover
www.lpu.in Lovely Professional University
Solid-state drives (SSD)
•Asolid-statedrive(SSD)isanewgenerationofstoragedevice
usedincomputers.SSDsstoredatausingflash-basedmemory,
whichismuchfasterthanthetraditionalharddisksthey'vecometo
replace.SSDsalsohavenomovingparts,andupgradingtooneisa
greatwaytospeedupyourcomputerandmakeitmoreresilient.
•SSDsstoredatapermanentlyinsideanintegratedcircuit,typically
usingflashmemory.TheflashmemoryinsideanSSDmeansdata
iswritten,transferred,anderasedelectronicallyandsilently—
SSDsdon’thavethemovingpartsfoundinsidemechanicalhard-
diskdrives(HDDs).Withoutmovingparts,SSDsarefastand
quiet,buttheyhaveahighpricetagcomparedtoHDDs.
•Example:Sandisk
31
www.lpu.in Lovely Professional University
32
PCIe 4.0 NVMe SSDs, the Samsung 980 Pro
www.lpu.in Lovely Professional University
HDD Vs SDD
1.SSDsaremuchfastercomparedtoHardDiskDrives
2.SSDsaremuchcostlycomparedtoHardDiskDrives
3.SSDs,ifdie,theydiewithoutanywarningsoyoumayloseyourdataifnot
alreadybackedup
4.SSDsaregoodforpeoplewhoneedhigherspeedsasingamingandreal-
timecomputingetc.
5.HardDiskDrivesareokayforpeoplewhorequiremoreofstoragespace
comparedtospeed.
33
www.lpu.in Lovely Professional University
Processor
•Aprocessorisanintegratedelectroniccircuitthatperformsthecalculations
thatrunacomputer.Aprocessorperformsarithmetical,logical,
input/output(I/O)andotherbasicinstructionsthatarepassedfroman
operatingsystem(OS).
•Mostotherprocessesaredependentontheoperationsofaprocessor.
•Thetermsprocessor,centralprocessingunit(CPU)andmicroprocessorare
commonlylinkedassynonyms.Mostpeopleusetheword“processor”
interchangeablywiththeterm“CPU”nowadays,itistechnicallynot
correctsincetheCPUisjustoneoftheprocessorsinsideapersonal
computer(PC).
•TheGraphicsProcessingUnit(GPU)isanotherprocessor,andevensome
harddrivesaretechnicallycapableofperformingsomeprocessing.
34
www.lpu.in Lovely Professional University
Threads in Computer Processor
•A thread is a sequence of instructions given to the CPU by
a program or application. The more threads a CPU can
execute at once, the more tasks it can complete.
•Threading in a CPU is a technique that can increase the
speed and efficiency of multitasking. It enables multiple
threads of execution to run simultaneously on one or more
cores in a single processor, allowing for quicker response
times and more efficient use of resources.
•Whenmultiplethreadsarerunningsimultaneously,it's
calledmultithreading.
35
Threads in Computer Processor
•Threads are the virtual components or codes, which divides the
physical core of a CPU into virtual multiple cores. A single CPU core
can have up-to 2 threads per core.
•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.
•Working:
The thread is created by a process. Every time you open an
application, it itself creates a thread which will handle all the tasks of
that specific application. Like-wise the more application you open
more threads will be created.
36
Activity-3 How to Enter BIOS
Setup on Windows PCs?
•EachandeverytimeyoupressyourPC’spowerbutton,theBIOSisthefirst
operationtoloadyouroperatingsystemandallofthepersonalsettingsthatmake
yourcomputeryourown.
•WhetheryouneedtoupdateyourBIOSorsweepitcleanofsystematicbugs,
knowinghowtoenterBIOSisessentialforPCusers.InordertoaccessBIOSona
WindowsPC,youmustpressyourBIOSkeysetbyyourmanufacturerwhichcould
beF10,F2,F12,F1,orDEL.
•IfyourPCgoesthroughitspoweronself-teststartuptooquickly,youcanalso
enterBIOSthroughWindows10’sadvancedstartmenurecoverysettings.
•OnethingPCuserslovemostaboutWindowsishowmanyoptionsyoucan
configuredirectlywithinyourselectedsystem.
•Evenbeforeyourcomputerhascompletedafullstartup,youcanventureinto
yourBIOSsoftwaretomodifythebootorder,enablehardwarecomponents,or
changethesystemtimeanddate.
44
www.lpu.in Lovely Professional University
Methods to enter in BIOS in
Windows
•Method #1: Use hotkey during boot-up
•Method #2: Use Windows 10’s start menu
How to access Windows 7, Vista, and XP BIOS
•The same method of pressing your designated hotkey during boot-up should be able to gain you access
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
hotkey should be wide enough for prompt BIOS access. Follow this three-step method to enter BIOS on
Windows 7 or later.
•Step 1.Turn off your computer
•On older operating systems, you can only access BIOS just before the Microsoft Windows logo appears
on your computer screen.
•Step 2.Power your PC on
•Step 3.Press the BIOS hotkey
•The single keystroke or combination of pressed keys will open BIOS on your PC. Oftentimes your
computer will indicate on the startup screen which key or keys need to be pressed in order to enter BIOS.
45
www.lpu.in Lovely Professional University
There are a variety of USB connectors as illustrated
in the figure below:
48
MostprominentamongtheseareTypeA,TypeB,Mini
TypeA,MiniTypeB,TypeMicroA,andTypemicroB.
www.lpu.in Lovely Professional University
Types of Connection Interface
•VGA:AVideoGraphicsArray(VGA)connectorisathree-row15-pin
DE-15connector.The15-pinVGAconnectorwasprovidedonmanyvideo
cards,computermonitors,laptopcomputers,projectors,andhighdefinition
televisionsets.Onlaptopcomputersorothersmalldevices,amini-VGA
portwassometimesusedinplaceofthefull-sizedVGAconnector.
•HDMI(High-DefinitionMultimediaInterface)isaproprietary
audio/videointerfacefortransmittinguncompressedvideodataand
compressedoruncompresseddigitalaudiodatafromanCompliantsource
device,suchasadisplaycontroller,toacompatiblecomputermonitor,
videoprojector,digitaltelevision,ordigitalaudiodevice.HDMIisadigital
replacementforanalogvideostandards.
49
www.lpu.in Lovely Professional University
Different types of connectors:
50
Activity-4 How to pair your
Bluetooth device to a laptop
TopairaBluetoothdevice
1.TurnonyourBluetoothdeviceandmakeitdiscoverable.Thewayyou
makeitdiscoverabledependsonthedevice.Checkthedeviceorvisitthe
manufacturer'swebsitetolearnhow.
2.OnyourPC,selectStart>Settings>Bluetooth&devices>Add
device>Bluetooth.
3.ChoosetheBluetoothdevice,followadditionalinstructionsiftheyappear,
thenselectDone.
•YourBluetoothdeviceandPCwillusuallyautomaticallyconnectanytime
thetwodevicesareinrangeofeachotherwithBluetoothturnedon.
53
www.lpu.in Lovely Professional University
RAID 0
55
RAID0-StripingforPerformance(Popular)
Widelyusedforgaming,stripinginterleavesdataacrossmultipledrives
forperformance.However,therearenosafeguardsagainstfailure.
www.lpu.in Lovely Professional University
RAID 1
56
RAID1-MirroringforFaultTolerance(Popular)Widelyused,
RAID1writestwodrivesatthesametime.Itprovidesthehighest
reliabilitybutdoublesthenumberofdrivesneeded.RAID10combines
RAID1mirroringwithRAID0stripingforbothsafetyand
performance.
www.lpu.in Lovely Professional University
RAID 3
57
RAID3-SpeedandFaultTolerance
Dataarestripedacrossthreeormoredrivesforperformance,andparity
iscomputedforsafety.SimilartoRAID3,RAID4usesblocklevel
stripingbutisnotaspopular.
www.lpu.in Lovely Professional University
RAID 5
58
RAID5-SpeedandFaultTolerance(Popular)Dataarestripedacross
threeormoredrivesforperformance,andparityiscomputedforsafety.
RAID5issimilartoRAID3,exceptthattheparityisdistributedtoall
drives.RAID6offersmorereliabilitythanRAID5byperformingmore
paritycomputations.
www.lpu.in Lovely Professional University
GPU Basics
•Graphicsprocessingtechnologyhasevolvedtodeliveruniquebenefitsinthe
worldofcomputing.
•Thelatestgraphicsprocessingunits(GPUs)unlocknewpossibilitiesin
gaming,contentcreation,machinelearning,andmore.
•GPUstandsforgraphicsprocessingunit.You’llalsoseeGPUscommonly
referredtoasgraphicscardsorvideocards.EveryPCusesaGPUtorender
images,videoand2Dor3Danimationsfordisplay.AGPUperformsquick
mathcalculationsandfreesuptheCPUtodootherthings.
TherearetwodifferenttypesofGPUs:
•IntegratedGPUsarelocatedonaPC’sCPUandsharememorywiththe
CPU’sprocessor.
•DiscreteGPUsliveontheirowncardandhavetheirownvideomemory
(VRAM),sothatthePCdoesn’thavetouseitsRAMforgraphics.
59
www.lpu.in Lovely Professional University
What Does a GPU Do?
•Thegraphicsprocessingunit,orGPU,hasbecomeoneofthemost
importanttypesofcomputingtechnology,bothforpersonalandbusiness
computing.Designedforparallelprocessing,theGPUisusedinawide
rangeofapplications,includinggraphicsandvideorendering.
•Althoughthey’rebestknownfortheircapabilitiesingaming,GPUsare
becomingmorepopularforuseincreativeproductionandartificial
intelligence(AI).
•GPUswereoriginallydesignedtoacceleratetherenderingof3Dgraphics.
Overtime,theybecamemoreflexibleandprogrammable,enhancingtheir
capabilities.Thisallowedgraphicsprogrammerstocreatemoreinteresting
visualeffectsandrealisticsceneswithadvancedlightingandshadowing
techniques.
•OtherdevelopersalsobegantotapthepowerofGPUstodramatically
accelerateadditionalworkloadsinhighperformancecomputing(HPC),
deeplearning,andmore.
60
www.lpu.in Lovely Professional University