BBS COLLAGE OF ENGINEERING AND
TECHNOLOGY
UNIT –01
BCA SECTION “B”
COMUTER FUNDAMENTALS
•Acomputerisaprogrammableelectronicdevicethataccepts
rawdataasinputandprocessesitwithasetofinstructions(a
program)toproducetheresultasoutput.
•Itrendersoutputjustafterperformingmathematicaland
logicaloperationsandcansavetheoutputforfutureuse.
•Itcanprocessnumericalaswellasnon-numerical
calculations.Theterm"computer"isderivedfromtheLatin
word"computare"whichmeanstocalculate.
WHAT IS COMPUTER?
WHAT IS COMPUTER?
•ItisbelievedthattheAnalytical
Enginewasthefirstcomputer
whichwasinventedbyCharles
Babbagein1837.
•Itusedpunchcardsasread-only
memory.CharlesBabbageisalso
knownasthefatherofthe
computer.
BASIC PART OF A COMPUTER
•Thebasicpartswithoutwhichacomputercannotworkareas
follows:
•Processor:Itexecutesinstructionsfromsoftwareand
hardware.
•Memory:Itistheprimarymemoryfordatatransferbetween
theCPUandstorage.
•Motherboard:Itisthepartthatconnectsallotherpartsor
componentsofacomputer.
BASIC PART OF A COMPUTER
•StorageDevice:Itpermanentlystoresthedata,e.g.,hard
drive.
•InputDevice:Itallowsyoutocommunicatewiththe
computerortoinputdata,e.g.,akeyboard.
•OutputDevice:Itenablesyoutoseetheoutput,e.g.,
monitor.
CU –CONTROL UNIT
•Thecontrolunitasthenamesuggestsisthecontrollerofall
theactivities/tasksandoperations.
•Allthisisperformedinsidethecomputer.
•Thememoryunitsendsasetofinstructionstothecontrol
unit.
•Thenthecontrolunitinturnconvertsthoseinstructions.After
thattheseinstructionsareconvertedtocontrolsignals.
Thesecontrolsignalshelpinprioritizingandscheduling
activities.Thus,thecontrolunitcoordinatesthetasksinside
thecomputerinsyncwiththeinputandoutputunits.
MEMORY UNIT
•Allthedatathathastobeprocessedorhasbeenprocessedis
storedinthememoryunit.
•Thememoryunitactsasahubofallthedata.Ittransmitsit
totherequiredpartofthecomputerwhenevernecessary.
•ThememoryunitworksinsyncwiththeCPU.Thishelpsin
fasteraccessingandprocessingofthedata.Thus,making
taskseasierandquicker.
FEATURES OF SUPERCOMPUTERS
•Ithastheabilitytodecryptyourpasswordtoenhance
protectionforsecurityreasons.
•Itproducesexcellentresultsinanimations.
•Itisusedforvirtualtestingofnuclearweaponsandcritical
medicaltests.
•Itcanstudyandunderstandclimatepatternsandforecast
weatherconditions.ItcanruninNOAA'ssystem(National
OceanicandAtmosphericAdministration)thatcanexecute
anytypeofsimpleandlogicaldata.
•Ithelpsindesigningtheflightsimulatorsforpilotsatthe
beginnerlevelfortheirtraining.
MAINFRAME COMPUTER
•Mainframe computers are designed to support hundreds or
thousands of users simultaneously.
•They can support multiple programs at the same time.
•It means they can execute different processes simultaneously.
•These features of mainframe computers make them ideal for
big organizations like banking and telecom sectors, which
need to manage and process high volume of data.
FEATURES OF MAINFRAME COMPUTER
•Itcanprocesshugeamountofdata,e.g.millionsof
transactionsinasecondinthebankingsector.
•Ithasaverylonglife.Itcanrunsmoothlyforupto50years
afterproperinstallation.
•Itgivesexcellentperformancewithlargescalememory
management.
•Ithastheabilitytoshareordistributeitsworkloadamong
otherprocessorsandinput/outputterminals.
•Ithastheabilitytoprotectthestoreddataandotherongoing
exchangeofinformationanddata.
•
FEATURES OF A MINICOMPUTER
•It is light weight that makes it easy to carry and fit anywhere.
•It is less expensive than mainframe computers.
•It is very fast compared to its size.
•It remains charged for a long time.
•It does not require a controlled operational environment.
FEATURES OF A MICROCOMPUTER
•Itisthesmallestinsizeamongalltypesofcomputers.
•Alimitednumberofsoftwarecanbeused.
•Itisdesignedforpersonalworkandapplications.Onlyone
usercanworkatatime.
•Itislessexpansiveandeasytouse.
•Itdoesnotrequiretheusertohavespecialskillsortrainingto
useit.
•Generally,comeswithsinglesemiconductorchip.
•Itiscapableofmultitaskingsuchasprinting,scanning,
browsing,watchingvideos,etc.
WHAT IS PROGRAMMING LANGAUAGE?
•Aprogramminglanguageisacomputerlanguagethatisused
byprogrammers(developers)tocommunicatewith
computers.
•Itisasetofinstructionswritteninanyspecificlanguage(C,
C++,Java,Python)toperformaspecifictask.
•Aprogramminglanguageismainlyusedtodevelopdesktop
applications,websites,andmobileapplications.
TYPES OF PROGRAMMING LANGUAGES
LOW LEVEL LANGUAGES
•Low-levellanguageismachine-dependent(0sand
1s)programminglanguage.
•Theprocessorrunslow-levelprogramsdirectlywithoutthe
needofacompilerorinterpreter,sotheprogramswrittenin
low-levellanguagecanberunveryfast.
•Low-level language is further divided into two parts -
•i. Machine Language
ii. Assembly Language
DRIVE
•Adriveisalocation(medium)thatcanstoreandread
informationthatisnoteasilyremoved,likeadiskordisc.
•Alldrivesstorefilesandprogramsusedbyyourcomputer.For
example,whenyouwritealetterinawordprocessor,the
programisloadedfromtheharddrive.
•Whenyousavethedocument,it'ssavedtotheharddriveor
otherdiskordrive.
•ThepictureshowsdifferentdriveslistedinMicrosoft
WindowsMyComputer.
•Some users may confuse a "drive" with a "driver." These are
separate terms. If you need help with installing or
updatingsoftwarerelated to hardware, see ourdriverpage.
FILE
•Thereareseveraltypesoffilesavailablesuchasdirectoryfiles,datafiles,
textfiles,binaryandgraphicfiles,andtheseseveralkindsoffilescontain
differenttypesofinformation.
•Inthecomputersystem,filesarestoredonharddrives,opticaldrives,
discs,orotherstoragedevices.
•Thebasicoperationsthatcanbeperformedonafilearegivenbelow:
•Closing or terminating a file operation
•Creation of programs
•Reading of data from the file
•Creation of a new file
•Opening the file in order to make the contents available to other
•Modification of data or file attributes
•Writing data to the file
CHARACTERISTICS OF COMPUTER MEMORY
•It is faster computer memory as compared to secondary
memory.
•It issemiconductormemories.
•It is usually a volatile memory, and main memory of the
computer.
•A computer system cannot run without primary memory.
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.
•RAMis used for booting up or start the computer.
•It temporarily storesprograms/datawhich has to be executed
by theprocessor.
•RAM is of two types:
•SRAM
•DRAM
SRAM AND DRAM
•SRAM(StaticRAM):SRAMusestransistorsandthecircuits
ofthismemoryarecapableofretainingtheirstateaslongas
thepowerisapplied.
•Thismemoryconsistsofthenumberofflipflopswitheachflip
flopstoring1bit.
•Ithaslessaccesstimeandhence,itisfaster.
•DRAM(DynamicRAM):DRAMusescapacitorsand
transistorsandstoresthedataasachargeonthecapacitors.
•Theycontainthousandsofmemorycells.
•Itneedsrefreshingofchargeoncapacitorafterafew
milliseconds.
•ThismemoryisslowerthanSRAM.
ROM
•It is a non-volatile memory.
•Non-volatile memory stores information even when there is a
power supply failed/ interrupted/stopped.
•ROMis used to store information that is used to operate the
system.
•As its name refers to read-only memory, we can only read the
programs and data that is stored on it.
•It contains some electronic fuses that can be programmed for a
piece of specific information.
•The information stored in the ROM in binary format. It is also
known as permanent memory.
•ROM is of four types
FEATURES OF ROM
•FeaturesofROM
•ROMisanon-volatilememory.
•InformationstoredinROMispermanent.
•Informationandprogramsstoredonit,wecanonlyreadand
cannotmodified.
•InformationandprogramsarestoredonROMinbinary
format.
•Itisusedinthestart-upprocessofthecomputer.
ADVANTAGES OF ROM
•It is cheaper thanRAMand it is non-volatile memory.
•It is more reliable as compared to RAM.
•Its circuit is simple as compared to RAM.
•It doesn’t need refreshing time because it is static.
•It is easy to test.
DISADVANTAGES OF ROM
•It is a read-only memory, so it cannot be modified.
•It is slower as compared to RAM.
DIFFERENCE BETWEEN RAM AND ROM
RAM ROM
RAM stands for Random Access Memory. ROM stands for Read Only Memory.
You can modify , edit or erase data in RAM.
Data in ROM can not modified or erased, you can only
read data of ROM.
RAM is a volatile memory that stores data as long as
power supply is given.
ROM is a non-volatile memory that retiandata even
after the power is turned off.
Speed of RAM is more then speed of ROM. ROM is slower then RAM.
RAM is costly as compared to ROM. ROM is cheap as compared to RAM.
A RAM chip can store only a few gigabytes (GB) of
data.
A ROM chip can store multiple megabytes (MB) of
data.
CPU can easily access data stored in RAM. CPU cannot easily access data stored in ROM.
RAM is used for the temporary storage of data
currently being processed by the CPU.
ROM is used to store firmware, BIOS, and other data
that needs to be retained.
FLOPPY DISK
•A floppy disk is a flexible disk with a magnetic coating on it,
and it is packaged inside a protective plastic envelope.
•These are among the oldest portable storage devices that
could store up to 1.44 MB of data, but now they are not used
due to very little memory storage.
HARD DISK DRIVE (HDD)
•Harddiskdrivecomprisesaseriesofcirculardisks
calledplattersarrangedoneovertheotheralmost½inchesapart
aroundaspindle.
•Disksaremadeofnon-magneticmateriallikealuminiumalloyand
coatedwith10-20nmmagneticmaterial.
•Thestandarddiameterofthesedisksis14inches,andtheyrotatewith
speedsvaryingfrom4200rpm(rotationsperminute)forpersonal
computersto15000rpmforservers.
•Dataisstoredbymagnetizingordemagnetizingthemagneticcoating.
•Amagneticreaderarmisusedtoreaddatafromandwritedatatothe
disks.
•AtypicalmodernHDDhasacapacityinterabytes(TB).
HARD DISK DRIVE
CD DRIVE
•CD stands for Compact Disk.
•CDs are circular disks that use optical rays, usually lasers, to
read and write data.
•They are very cheap as you can get 700 MB of storage space
for less than a dollar.
•CDs are inserted in CD drives built into the CPU cabinet. They
are portable as you can eject the drive, remove the CD and
carry it with you.
DIFFERENCE BETWEEN PRIMARY AND
SECONDARY MEMORY
Primary Memory Secondary Memory
Primary memory is directly accessed by the
Central Processing Unit (CPU).
Secondary memory is not accessed
directly by the Central Processing Unit
(CPU). Instead, data accessed from a
secondary memory is first loaded into
Random Access Memory (RAM) and
then sent to the Processing Unit.
RAM provides a much faster-accessing speed
to data than secondary memory. Computers
can quickly process data by loading software
programs and required files into primary
memory (RAM).
Secondary memory is slower in data
accessing. Typically primary memory is
six times faster than secondary
memory.
Primary memory is volatile and gets
completely erased when a computer is shut
down.
Secondary memory provides a feature
of being non-volatile, which means it
can hold on to its data with or without
an electrical power supply.
PLASMA DISPLAY
•Aplasmadisplayisatypeofflatpaneldisplaythatuses
plasma,anelectricallychargedionizedgas,toilluminateeach
pixelinordertoproduceadisplayoutput.
•ItiscommonlyusedinlargeTVdisplaysof30inchesand
higher.
•Plasma displays are often brighter than LCD displays and also
have a wider color gamut, with black levels almost equaling
“dark room” levels.
NUMBER SYSTEM
•Thelanguageweusetocommunicatewitheachotheriscomprised
ofwordsandcharacters.
•Weunderstandnumbers,charactersandwords.Butthistypeof
dataisnotsuitableforcomputers.Computersonlyunderstandthe
numbers.
•So,whenweenterdata,thedataisconvertedintoelectronicpulse.
•Eachpulseisidentifiedascodeandthecodeisconvertedinto
numericformatbyASCII.
•Itgiveseachnumber,characterandsymbolanumericvalue
(number)thatacomputerunderstands.
•Sotounderstandthelanguageofcomputers,onemustbefamiliar
withthenumbersystems.
NUMBER SYSTEM
The Number Systems used in computers are:
•Binary number system
•Octal number system
•Decimal number system
•Hexadecimal number system
BINARY NUMBER SYSTEM
•Ithasonlytwodigits'0'and'1'soitsbaseis2.
•Accordingly,Inthisnumbersystem,thereareonlytwotypes
ofelectronicpulses;absenceofelectronicpulsewhich
represents'0'andpresenceofelectronicpulsewhich
represents'1'.
•Eachdigitiscalledabit.Agroupoffourbits(1101)iscalleda
nibbleandgroupofeightbits(11001010)iscalledabyte.
•Thepositionofeachdigitinabinarynumberrepresentsa
specificpowerofthebase(2)ofthenumbersystem.
OCTAL NUMBER SYSTEM
•Ithaseightdigits(0,1,2,3,4,5,6,7)soitsbaseis8.
•Eachdigitinanoctalnumberrepresentsaspecificpowerof
itsbase(8).
•Asthereareonlyeightdigits,threebits(23=8)ofbinary
numbersystemcanconvertanyoctalnumberintobinary
number.
•Thisnumbersystemisalsousedtoshortenlongbinary
numbers.
•Thethreebinarydigitscanberepresentedwithasingleoctal
digit.
DECIMAL NUMBER SYSTEM
•Thisnumbersystemhastendigits(0,1,2,3,4,5,6,7,8,9)so
itsbaseis10.
•Inthisnumbersystem,themaximumvalueofadigitis9and
theminimumvalueofadigitis0.
•Thepositionofeachdigitindecimalnumberrepresentsa
specificpowerofthebase(10)ofthenumbersystem.
•Thisnumbersystemiswidelyusedinourdaytodaylife.
•Itcanrepresentanynumericvalue.
HEXADECIMAL NUMBER SYSTEM
•Thisnumbersystemhas16digitsthatrangesfrom0to9and
AtoF.So,itsbaseis16.
•TheAtoFalphabetsrepresent10to15decimalnumbers.
•Thepositionofeachdigitinahexadecimalnumberrepresents
aspecificpowerofbase(16)ofthenumbersystem.
•Asthereareonlysixteendigits,fourbits(24=16)ofbinary
numbersystemcanconvertanyhexadecimalnumberinto
binarynumber.
•Itisalsoknownasalphanumericnumbersystemasituses
bothnumericdigitsandalphabets.