You are on page 1of 17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

Home(/)AptitudeQuestions(/aptitudequestionsandanswers)TechnicalInterviewQuestionsQuestionsAndAnswers(/technicalinterview
questionsquestionsandanswers/33150841)DbmsInterviewQuestions

SimilarCategories
DBMSInterviewQuestionsDBMSInterviewQuestions

324480

1.Whatisdatabase?
Adatabaseisacollectionofinformationthatisorganized.Sothatitcaneasilybeaccessed,managed,and
updated.

2.WhatisDBMS?
DBMSstandsforDatabaseManagementSystem.Itisacollectionofprogramsthatenablesusertocreate
andmaintainadatabase.

3.WhatisaDatabasesystem?
ThedatabaseandDBMSsoftwaretogetheriscalledasDatabasesystem.

4.WhataretheadvantagesofDBMS?
I.Redundancyiscontrolled.
II.Providingmultipleuserinterfaces.
III.Providingbackupandrecovery
IV.Unauthorizedaccessisrestricted.
V.Enforcingintegrityconstraints.

5.Whatisnormalization?
ItisaprocessofanalysingthegivenrelationschemasbasedontheirFunctionalDependencies(FDs)and
primarykeytoachievetheproperties
(1).Minimizingredundancy,(2).Minimizinginsertion,deletionandupdateanomalies.

more

TCSTechnicalInterviewQuestionsand
Answers
(http://placement.freshersworld.com/technical
interviewquestionsquestionsand
answers/tcstechnicalinterview
questionsandanswers/33112057)
InfosysTechnicalInterviewQuestionsand
Answers
(http://placement.freshersworld.com/technical
interviewquestionsquestionsand
answers/infosystechnicalinterview
questionsandanswers/33112058)
IBSTechnicalInterviewQuestionsand
Answers
(http://placement.freshersworld.com/technical
interviewquestionsquestionsand
answers/ibstechnicalinterview
questionsandanswers/33112072)
WIPROTechnicalInterviewQuestionsand
Answers
(http://placement.freshersworld.com/technical
interviewquestionsquestionsand
answers/wiprotechnicalinterview
questionsandanswers/33112073)
USTGlobalTechnicalInterviewQuestions
andAnswers
(http://placement.freshersworld.com/technical
interviewquestionsquestionsand
answers/ustglobaltechnicalinterview
questionsandanswers/33112075)

ONLINETESTS

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

1/17

TechnicalInterviewQuestionsDBMSInterviewQuestions

6.WhatisDataModel?
Acollectionofconceptualtoolsfordescribingdata,datarelationshipsdatasemanticsandconstraints.

7.WhatisERmodel?
Thisdatamodelisbasedonrealworldthatconsistsofbasicobjectscalledentitiesandofrelationship
amongtheseobjects.Entitiesaredescribedinadatabasebyasetofattributes.

8.WhatisObjectOrientedmodel?
Thismodelisbasedoncollectionofobjects.Anobjectcontainsvaluesstoredininstancevariableswithin
theobject.Anobjectalsocontainsbodiesofcodethatoperateontheobject.Thesebodiesofcodeare
calledmethods.Objectsthatcontainsametypesofvaluesandthesamemethodsaregroupedtogether
intoclasses.

9.WhatisanEntity?
Anentityisathingorobjectofimportanceaboutwhichdatamustbecaptured.

10.WhatisDDL(DataDefinitionLanguage)?
AdatabaseschemaisspecifiesbyasetofdefinitionsexpressedbyaspeciallanguagecalledDDL.

11.WhatisDML(DataManipulationLanguage)?
Thislanguagethatenableusertoaccessormanipulatedataasorganisedbyappropriatedatamodel.
ProceduralDMLorLowlevel:DMLrequiresausertospecifywhatdataareneededandhowtogetthose
data.NonProceduralDMLorHighlevel:DMLrequiresausertospecifywhatdataareneededwithout
specifyinghowtogetthosedata

12.WhatisDMLCompiler?
IttranslatesDMLstatementsinaquerylanguageintolowlevelinstructionthatthequeryevaluation
enginecanunderstand.

OnlineQuantitativetest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Aptitude
QuantitativeQuestionand
Answers/827)
OnlineVerbalAbilityTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Aptitude
VerbalAbilityQuestionand
Answers/829)
OnlineReasoningTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Aptitude
ReasoningQuestionandAnswers/831)

feedback

9/2/2016

OnlineDataInterpretationTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Aptitude
DataInterpretationQuestionand
Answers/833)
OnlineAssesmentTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Assessment
QuestionandAnswers/825)
TechnicalOnlineTests
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Technical
InterviewQuestionandAnswers/845)
ITcompaniesOnlineTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/IT
CompaniesInterviewQuestionand
Answers/842)

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

2/17

TechnicalInterviewQuestionsDBMSInterviewQuestions

13.WhatisQueryevaluationengine?
Itexecuteslowlevelinstructiongeneratedbycompiler.

14.WhatisFunctionalDependency?
FunctionalDependencyisthestartingpointofnormalization.FunctionalDependencyexistswhena
relationbetweentwoattributesallowsyoutouniquelydeterminethecorrespondingattributesvalue.

15.Whatis1NF(NormalForm)?
Thefirstnormalformor1NFisthefirstandthesimplesttypeofnormalizationthatcanbeimplemented
inadatabase.Themainaimsof1NFareto:
1.Eliminateduplicativecolumnsfromthesametable.
2.Createseparatetablesforeachgroupofrelateddataandidentifyeachrowwithauniquecolumn(the
primarykey).

16.WhatisFullyFunctionaldependency?
AfunctionaldependencyXYisfullfunctionaldependencyifremovalofanyattributeAfromXmeansthat
thedependencydoesnotholdanymore.

17.Whatis2NF?
ArelationschemaRisin2NFifitisin1NFandeverynonprimeattributeAinRisfullyfunctionally
dependentonprimarykey.

18.Whatis3NF?
ArelationisinthirdnormalformifitisinSecondNormalFormandtherearenofunctional(transitive)
dependenciesbetweentwo(ormore)nonprimarykeyattributes.

NonITcompaniesAndBankOnline
Test
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/NonIT
CompaniesAndBankInterview
QuestionandAnswers/843)
BasicGeneralKnowledge
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Basic
GeneralKnowledgeQuestionand
Answers/1715)
BasicGeneralKnowledgeLevel2
(http://p3.placement.freshersworld.com/placement
papers/PracticeTests/BasicGeneral
KnowledgeQuestionand
Answers/1744?q=PracticeTests/Basic
GeneralKnowledgeQuestionand
Answers/1744)

feedback

9/2/2016

OnlineCurrentAffairsTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/Current
AffairsQuestionandAnswers/1716)
OnlineGATETest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/GATE
QuestionandAnswers/1331)
OnlineCATTest
(http://p3.placement.freshersworld.com/power
preparation/PracticeTests/CAT
QuestionandAnswers/1330)

19.WhatisBCNF(BoyceCoddNormalForm)?

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

3/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

AtableisinBoyceCoddnormalform(BCNF)ifandonlyifitisin3NFandeverydeterminantisa
candidatekey.

20.Whatis4NF?
FourthnormalformrequiresthatatablebeBCNFandcontainnomultivalueddependencies.

21.Whatis5NF?
Atableisinfifthnormalform(5NF)orProjectJoinNormalForm(PJNF)ifitisin4NFanditcannothavea
losslessdecompositionintoanynumberofsmallertables.

feedback

22.Whatisaquery?
AquerywithrespecttoDBMSrelatestousercommandsthatareusedtointeractwithadatabase.

23.Whatismeantbyqueryoptimization?
Thephasethatidentifiesanefficientexecutionplanforevaluatingaquerythathastheleastestimated
costisreferredtoasqueryoptimization.

24.Whatisanattribute?
Itisaparticularproperty,whichdescribestheentity.

(http://placement.freshersworld.com/power
preparation/placementhome)

25.WhatisRDBMS?
RelationalDataBaseManagementSystems(RDBMS)aredatabasemanagementsystemsthatmaintain
datarecordsandindicesintables.

26.WhatsdifferencebetweenDBMSandRDBMS?
DBMSprovidesasystematicandorganizedwayofstoring,managingandretrievingfromcollectionof
logicallyrelatedinformation.RDBMSalsoprovideswhatDBMSprovidesbutabovethatitprovides
relationshipintegrity.
http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

4/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

27.WhatisSQL?
SQLstandsforStructuredQueryLanguage.SQLisanANSI(AmericanNationalStandardsInstitute)
standardcomputerlanguageforaccessingandmanipulatingdatabasesystems.SQLstatementsareused
toretrieveandupdatedatainadatabase.

28.WhatisStoredProcedure?
AstoredprocedureisanamedgroupofSQLstatementsthathavebeenpreviouslycreatedandstoredin
theserverdatabase.

Aviewmaybeasubsetofthedatabaseoritmaycontainvirtualdatathatisderivedfromthedatabase
filesbutisnotexplicitlystored.

feedback

29.Whatisaview?

30.WhatisTrigger?
AtriggerisaSQLprocedurethatinitiatesanactionwhenanevent(INSERT,DELETEorUPDATE)occurs.

31.WhatisIndex?
Anindexisaphysicalstructurecontainingpointerstothedata.

32.Whatisextensionandintension?
ExtensionItisthenumberoftuplespresentinatableatanyinstance.Thisistimedependent.
IntensionItisaconstantvaluethatgivesthename,structureoftableandtheconstraintslaidonit.

33.Whatdoyoumeanbyatomicityandaggregation?
AtomicityAtomicitystatesthatdatabasemodificationsmustfollowanallornothingrule.Eachtransaction
issaidtobeatomic.Ifonepartofthetransactionfails,theentiretransactionfails.
http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

5/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

AggregationAfeatureoftheentityrelationshipmodelthatallowsarelationshipsettoparticipatein
anotherrelationshipset.ThisisindicatedonanERdiagrambydrawingadashedboxaroundthe
aggregation.

34.WhatisRDBMSKERNEL?
TwoimportantpiecesofRDBMSarchitecturearethekernel,whichisthesoftware,andthedatadictionary,
whichconsistsofthesystemleveldatastructuresusedbythekerneltomanagethedatabase.

35.NamethesubsystemsofaRDBMS?
I/O,Security,LanguageProcessing,ProcessControl,StorageManagement,LoggingandRecovery,

36.HowdoyoucommunicatewithanRDBMS?
YoucommunicatewithanRDBMSusingStructuredQueryLanguage(SQL)

feedback

DistributionControl,TransactionControl,MemoryManagement,LockManagement.

37.DisadvantageinFileProcessingSystem?
Dataredundancy&inconsistency.
Difficultinaccessingdata.
Dataisolation.
Dataintegrity.
Concurrentaccessisnotpossible.
SecurityProblems.

38.WhatisVDL(ViewDefinitionLanguage)?
Itspecifiesuserviewsandtheirmappingstotheconceptualschema.

39.WhatisSDL(StorageDefinitionLanguage)?
http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

6/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

Thislanguageistospecifytheinternalschema.ThislanguagemaySpecifythemappingbetweentwo
schemas.

40.Describeconcurrencycontrol?
Concurrencycontrolistheprocessmanagingsimultaneousoperationsagainstadatabasesothatdatabase
integrityisnocompromised.Therearetwoapproachestoconcurrencycontrol.
Thepessimisticapproachinvolveslockingandtheoptimisticapproachinvolvesversioning.

41.Describethedifferencebetweenhomogeneousandheterogeneousdistributeddatabase?
AhomogenousdatabaseisonethatusesthesameDBMSateachnode.Aheterogeneousdatabaseisone

42.Whatisadistributeddatabase?
Adistributeddatabaseisasinglelogicaldatabasethatisspreadacrossmorethanonenodeorlocations

feedback

thatmayhaveadifferentDBMSateachnode.

thatareallconnectedviasomecommunicationlink.

43.Explainthedifferencebetweentwoandthreetierarchitectures?
Threetierarchitectureincludesaclientandtwoserverlayers.
Theapplicationcodeisstoredontheapplicationserverandthedatabaseisstoredonthedatabase
server.Atwotierarchitectureincludesaclientandoneserverlayer.Thedatabaseisstoredonthe
databaseserver.

44.BrieflydescribethethreetypesofSQLcommands?
Datadefinitionlanguagecommandsareusedtocreate,alter,anddroptables.Datamanipulation
commandsareusedtoinsert,modify,update,andquerydatainthedatabase.Datacontrollanguage
commandshelptheDBAtocontrolthedatabase.

45.Listsomeofthepropertiesofarelation?

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

7/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

Relationsinadatabasehaveauniquenameandnomultivaluedattributesexist.Eachrowisuniqueand
eachattributewithinarelationhasauniquename.Thesequenceofbothcolumnsandrowsisirrelevant.

46.Explainthedifferencesbetweenanintranetandanextranet?
AnInternetdatabaseisaccessiblebyeveryonewhohasaccesstoaWebsite.Anintranetdatabaselimits
accesstoonlypeoplewithinagivenorganization.

47.WhatisSQLDeadlock?
Deadlockisauniquesituationinamultiusersystemthatcausestwoormoreuserstowaitindefinitelyfor
alockedresource.

48.WhatisaCatalog?
Acatalogisatablethatcontainstheinformationsuchasstructureofeachfile,thetypeandstorage
formatofeachdataitemandvariousconstraintsonthedata.Theinformationstoredinthecatalogis
calledMetadata.

feedback

49.Whatisdatawarehousing&OLAP?
DatawarehousingandOLAP(onlineanalyticalprocessing)systemsarethetechniquesusedinmany
companiestoextractandanalyzeusefulinformationfromverylargedatabasesfordecisionmaking.

50.Describethethreelevelsofdataabstraction?
Physicallevel:Thelowestlevelofabstractiondescribeshowdataarestored.
Logicallevel:Thenexthigherlevelofabstraction,describeswhatdataarestoredindatabaseandwhat
relationshipamongthosedata.
Viewlevel:Thehighestlevelofabstractiondescribesonlypartofentiredatabase.

51.WhatisDataIndependence?

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

8/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

Dataindependencemeansthattheapplicationisindependentofthestoragestructureandaccessstrategy
ofdata.

52.Howmanytypesofrelationshipexistindatabasedesigning?
Therearethreemajorrelationshipmodels:
Onetoone
Onetomany
Manytomany

ORDERBYclausehelpstosortthedataineitherascendingordertodescending

54.WhatistheuseofDBCCcommands?

feedback

53.Whatisorderbyclause?

DBCCstandsfordatabaseconsistencychecker.Weusethesecommandstochecktheconsistencyofthe
databases,i.e.,maintenance,validationtaskandstatuschecks.

55.WhatisCollation?
Collationreferstoasetofrulesthatdeterminehowdataissortedandcompared.

56.WhatisdifferencebetweenDELETE&TRUNCATEcommands?
DeletecommandremovestherowsfromatablebasedontheconditionthatweprovidewithaWHERE
clause.Truncatewillactuallyremovealltherowsfromatableandtherewillbenodatainthetableafter
werunthetruncatecommand.

57.WhatisHashingtechnique?
Thisisaprimaryfileorganizationtechniquethatprovidesveryfastaccesstorecordsoncertainsearch
conditions.
http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

9/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

58.Whatisatransaction?
Atransactionisalogicalunitofdatabaseprocessingthatincludesoneormoredatabaseaccessoperations.

59.WhatarethedifferentphasesofTransaction?
Analysisphase
Redophase
Undophase

Itisone,whichkeepsitsphysicalstructurehiddenfromuser.

61.WhataretheprimitiveoperationscommontoallrecordmanagementSystem?

feedback

60.Whatistransparentdbms?

Addition,deletionandmodification.

62.Explainthedifferencesbetweenstructureddataandunstructureddata.
Structureddataarefactsconcerningobjectsandevents.Themostimportantstructureddataare
numeric,character,anddates.
Structureddataarestoredintabularform.Unstructureddataaremultimediadatasuchasdocuments,
photographs,maps,images,sound,andvideoclips.UnstructureddataaremostcommonlyfoundonWeb
serversandWebenableddatabases.

63.Whatarethemajorfunctionsofthedatabaseadministrator?
Managingdatabasestructure,controllingconcurrentprocessing,managingprocessingrightsand
responsibilities,developingdatabasesecurity,providingfordatabaserecovery,managingtheDBMSand
maintainingthedatarepository.

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

10/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

64.Whatisadependencygraph?
Adependencygraphisadiagramthatisusedtoportraytheconnectionsbetweendatabaseelements.

65.Explainthedifferencebetweenanexclusivelockandasharedlock?
Anexclusivelockprohibitsotherusersfromreadingthelockedresourceasharedlockallowsotherusers
toreadthelockedresource,buttheycannotupdateit.

66.Explainthe"paradigmmismatch"betweenSQLandapplicationprogramminglanguages.
SQLstatementsreturnasetofrows,whileanapplicationprogramworksononerowatatime.Toresolve

67.Namefourapplicationsfortriggers.
(1)Providingdefaultvalues,(2)enforcingdataconstraints,

feedback

thismismatchtheresultsofSQLstatementsareprocessedaspseudofiles,usingacursororpointerto
specifywhichrowisbeingprocessed.

(3)Updatingviewsand(4)enforcingreferentialintegrity

68.Whataretheadvantagesofusingstoredprocedures?
Theadvantagesofstoredproceduresare(1)greatersecurity,(2)decreasednetworktraffic,(3)thefact
thatSQLcanbeoptimizedand(4)codesharingwhichleadstolesswork,standardizedprocessing,and
specializationamongdevelopers.

69.Explainthedifferencebetweenattributesandidentifiers.
Entitieshaveattributes.Attributesarepropertiesthatdescribetheentity'scharacteristics.Entity
instanceshaveidentifiers.Identifiersareattributesthatname,oridentify,entityinstances.

70.WhatisEnterpriseResourcePlanning(ERP),andwhatkindofadatabaseisusedinan
ERPapplication?

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

11/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

EnterpriseResourcePlanning(ERP)isaninformationsystemusedinmanufacturingcompaniesand
includessales,inventory,productionplanning,purchasingandotherbusinessfunctions.AnERPsystem
typicallyusesamultiuserdatabase.

71.DescribethedifferencebetweenembeddedanddynamicSQL?
EmbeddedSQListheprocessofincludinghardcodedSQLstatements.Thesestatementsdonotchange
unlessthesourcecodeismodified.DynamicSQListheprocessofgeneratingSQLonthefly.The
statementsgenerateddonothavetobethesameeachtime.

72.Explainajoinbetweentables

relationshipsareestablishedbyusingacommoncolumninthetablesandoftenusestheprimary/foreign
keyrelationship.

73.Describeasubquery.

feedback

Ajoinallowstablestobelinkedtoothertableswhenarelationshipbetweenthetablesexists.The

Asubqueryisaquerythatiscomposedoftwoqueries.Thefirstquery(innerquery)iswithintheWHERE
clauseoftheotherquery(outerquery).

74.Compareahierarchicalandnetworkdatabasemodel?
Thehierarchicalmodelisatopdownstructurewhereeachparentmayhavemanychildrenbuteachchild
canhaveonlyoneparent.Thismodelsupportsonetooneandonetomanyrelationships.
Thenetworkmodelcanbemuchmoreflexiblethanthehierarchicalmodelsinceeachparentcanhave
multiplechildrenbuteachchildcanalsohavemultipleparents.Thismodelsupportsonetoone,oneto
many,andmanytomanyrelationships.

75.Explainthedifferencebetweenadynamicandmaterializedview.
Adynamicviewmaybecreatedeverytimethataspecificviewisrequestedbyauser.Amaterializedview
iscreatedandorupdatedinfrequentlyanditmustbesynchronizedwithitsassociatedbasetable(s).

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

12/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

76.Explainwhatneedstohappentoconvertarelationtothirdnormalform.
Firstyoumustverifythatarelationisinbothfirstnormalformandsecondnormalform.Iftherelationis
not,youmustconvertintosecondnormalform.Afterarelationisinsecondnormalform,youmust
removealltransitivedependencies.

77.Describethefourtypesofindexes?
Auniqueprimaryindexisuniqueandisusedtofindandstorearow.Anonuniqueprimaryindexisnot
uniqueandisusedtofindarowbutalsowheretostorearow(basedonitsuniqueprimaryindex).A
uniquesecondaryindexisuniqueforeachrowandusedtofindtablerows.Anonuniquesecondaryindex
isnotuniqueandusedtofindtablerows.

Minimumcardinalityistheminimumnumberofinstancesofanentitythatcanbeassociatedwitheach
instanceofanotherentity.Maximumcardinalityisthemaximumnumberofinstancesofanentitythat
canbeassociatedwitheachinstanceofanotherentity.

feedback

78.Explainminimumandmaximumcardinality?

79.Whatisdeadlock?Howcanitbeavoided?Howcanitberesolvedonceitoccurs?
Deadlockoccurswhentwotransactionsareeachwaitingonaresourcethattheothertransactionholds.
Deadlockcanbepreventedbyrequiringtransactionstoacquirealllocksatthesametimeonceitoccurs,
theonlywaytocureitistoabortoneofthetransactionsandbackoutofpartiallycompletedwork.

80.ExplainwhatwemeanbyanACIDtransaction.
AnACIDtransactionisonethatisatomic,consistent,isolated,anddurable.Durablemeansthatdatabase
changesarepermanent.Consistencycanmeaneitherstatementlevelortransactionlevelconsistency.
Withtransactionlevelconsistency,atransactionmaynotseeitsownchanges.Atomicmeansitis
performedasaunit.

81.Underwhatconditionsshouldindexesbeused?
Indexescanbecreatedtoenforceuniqueness,tofacilitatesorting,andtoenablefastretrievalbycolumn
values.AgoodcandidateforanindexisacolumnthatisfrequentlyusedwithequalconditionsinWHERE
clauses.
http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

13/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

82.WhatisdifferencebetweenSQLandSQLSERVER?
SQLisalanguagethatprovidesaninterfacetoRDBMS,developedbyIBM.SQLSERVERisaRDBMSjust
likeOracle,DB2.

83.WhatisSpecialization?
Itistheprocessofdefiningasetofsubclassesofanentitytypewhereeachsubclasscontainallthe
attributesandrelationshipsoftheparententityandmayhaveadditionalattributesandrelationships
whicharespecifictoitself.

Itistheprocessoffindingcommonattributesandrelationsofanumberofentitiesanddefininga
commonsuperclassforthem.

feedback

84.Whatisgeneralization?

85.WhatismeantbyProactive,RetroactiveandSimultaneousUpdate?
ProactiveUpdate:Theupdatesthatareappliedtodatabasebeforeitbecomeseffectiveinrealworld.
RetroactiveUpdate:Theupdatesthatareappliedtodatabaseafteritbecomeseffectiveinrealworld.
SimultaneousUpdate:Theupdatesthatareappliedtodatabaseatthesametimewhenitbecomes
effectiveinrealworld.

86.WhatisRAIDTechnology?

Redundantarrayofinexpensive(orindependent)disks.Themaingoalofraidtechnologyistoevenout
thewidelydifferentratesofperformanceimprovementofdisksagainstthoseinmemoryand
microprocessor.Raidtechnologyemploysthetechniqueofdatastripingtoachievehighertransferrates.

87.Whatareserial,nonserialschedule?

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

14/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

AscheduleSisserialif,foreverytransactionTparticipatingintheschedule,alltheoperationsofTis
executedconsecutivelyintheschedule,otherwise,thescheduleiscallednonserialschedule.

88.Whatareconflictserializableschedules?
AscheduleSofntransactionsisserializableifitisequivalenttosomeserialscheduleofthesamen
transactions.

89.Whatisviewserializable?
Ascheduleissaidtobeviewserializableifitisviewequivalentwithsomeserialschedule.

90.Whatisaforeignkey?
Akeyofarelationschemaiscalledasaforeignkeyifitistheprimarykeyof
someotherrelationtowhichitisrelatedto.

feedback

91.Whatarethedisadvantagesofusingadbms?
1)Highinitialinvestmentsinh/w,s/w,andtraining.
2)GeneralitythataDBMSprovidesfordefiningandprocessingdata.
3)Overheadforprovidingsecurity,concurrencycontrol,recovery,andintegrityfunctions.

92.WhatisLosslessjoinproperty?
Itguaranteesthatthespurioustuplegenerationdoesnotoccurwithrespecttorelationschemasafter
decomposition.

93.WhatisaPhantomDeadlock?
Indistributeddeadlockdetection,thedelayinpropagatinglocalinformationmightcausethedeadlock
detectionalgorithmstoidentifydeadlocksthatdonotreallyexist.Suchsituationsarecalledphantom

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

15/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

deadlocksandtheyleadtounnecessaryaborts.

94.WhatisacheckpointandWhendoesitoccur?
ACheckpointislikeasnapshotoftheDBMSstate.Bytakingcheckpoints,theDBMScanreducethe
amountofworktobedoneduringrestartintheeventofsubsequentcrashes.

95.Whatisschema?
Thedescriptionofadatabaseiscalledthedatabaseschema,whichisspecifiedduringdatabasedesign
andisnotexpectedtochangefrequently.Adisplayedschemaiscalledschemadiagram.Wecalleach
objectintheschemaasschemaconstruct.

Next (http://placement.freshersworld.com/technicalinterview
questionsquestionsandanswers/sqladvanced/33111829187)

feedback

Freshersworld.com:TheNo.1JobsiteforFresherHiringinIndia
Freshersworld.comistheNo.1JobsiteforFreshersinIndiawithover1Crore+resumesand60K+recruitershiringthroughus.ApplytoTopMNCJobs/
Governmentjobsbyregisteringnow!Whatsmore?Getdailyjobalert,placementpaperandGKupdateseverydayonyouremail.Freshersworld.comistheonly
websiteforapplyingtoGovtJobsandtopMNCJobsalloverIndia.RegisterNowtobenefitfromourunlimitedfresherfocussedservices!
GetinTouchwithus
(https://www.facebook.com/freshersworld)
(http://twitter.com/freshersworld)
(http://www.linkedin.com/company/freshersworld
(https://plus.google.com/+freshersworld)
(https://www.youtube.com/user/freshersworld)
com)

EMPLOYERSZONE: PostJobforFree(http://corp.freshersworld.com/postjob) |
EndtoEndRecruitment(http://corp.freshersworld.com/endtoendrecruitment) | CampusRecruitment(http://corp.freshersworld.com/campusrecruitment)
| OnlineAssessment(http://corp.freshersworld.com/onlineassessment) | ResumeSearch(http://corp.freshersworld.com/resumesearch)

AboutUs(http://www.freshersworld.com/aboutus) | Blog(http://blog.freshersworld.com) |
FAQs(http://www.freshersworld.com/faq) | AdvertiseWithUs(http://www.freshersworld.com/advertise) |
http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

16/17

9/2/2016

TechnicalInterviewQuestionsDBMSInterviewQuestions

RecruitmentSolutions(http://corp.freshersworld.com/employers) | ContactUs(http://www.freshersworld.com/contactus)
TermsofUse(http://www.freshersworld.com/termsofuse) | PrivacyPolicy(http://www.freshersworld.com/privacy) |
Copyright(http://www.freshersworld.com/copyright) | SiteMap(http://www.freshersworld.com/sitemap)

20062016Freshersworld.com 10.0.0.43

feedback

http://placement.freshersworld.com/technicalinterviewquestionsquestionsandanswers/dbmsinterviewquestions/33111829166

17/17

You might also like