Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

DatabaseObjectivetypequestions

Q.1Intherelationalmodes,cardinalityistermedas:
(A)Numberoftuples.(B)Numberofattributes.
(C)Numberoftables.(D)Numberofconstraints.
Ans:A
Q.2Relationalcalculusisa
(A)Procedurallanguage.(B)NonProcedurallanguage.
(C)Datadefinitionlanguage.(D)Highlevellanguage.
Ans:B
Q.3Theviewoftotaldatabasecontentis
(A)Conceptualview.(B)Internalview.
(C)Externalview.(D)PhysicalView.
Ans:A
Q.4Cartesianproductinrelationalalgebrais
(A)aUnaryoperator.(B)aBinaryoperator.
(C)aTernaryoperator.(D)notdefined.
Ans:BCartesianproductinrelationalalgebraisabinaryoperator.
(Itrequirestwooperands.e.g.,PXQ)
Q.5DMLisprovidedfor
(A)Descriptionoflogicalstructureofdatabase.
(B)Additionofnewstructuresinthedatabasesystem.
(C)Manipulation&processingofdatabase.
(D)Definitionofphysicalstructureofdatabasesystem.
Ans:CDMLisprovidedformanipulation&processingofdatabase.

(Datastoredinthedatabaseisprocessedormanipulatedusingdatamanipulation
languagecommandsasitsname)
Q.6ASclauseisusedinSQLfor
(A)Selectionoperation.(B)Renameoperation.
(C)Joinoperation.(D)Projectionoperation.
Ans:BASclauseisusedinSQLforrenameoperation.
(e.g.,SELECTENOASEMPLOYEE_NOFROMEMP)
Q.7ODBCstandsfor
(A)ObjectDatabaseConnectivity.
(B)OralDatabaseConnectivity.
(C)OracleDatabaseConnectivity.
(D)OpenDatabaseConnectivity.
Ans:D
Q.8Architectureofthedatabasecanbeviewedas
(A)twolevels.(B)fourlevels.
(C)threelevels.(D)onelevel.
Ans:C
Q.9Inarelationalmodel,relationsaretermedas
(A)Tuples.(B)Attributes
(C)Tables.(D)Rows.
Ans:c
Q.10Thedatabaseschemaiswrittenin
(A)HLL(B)DML
(C)DDL(D)DCL
Ans:C

Q.11Inthearchitectureofadatabasesystemexternallevelisthe
(A)physicallevel.(B)logicallevel.
(C)conceptuallevel(D)viewlevel.
Ans:D
Q.12Anentitysetthatdoesnothavesufficientattributestoformaprimarykeyisa
(A)strongentityset.(B)weakentityset.
(C)simpleentityset.(D)primaryentityset.
Ans:B
Q.13InaHierarchicalmodelrecordsareorganizedas
(A)Graph.(B)List.
(C)Links.(D)Tree.
Ans:D
Q.14InanERdiagramattributesarerepresentedby
(A)rectangle.(B)square.
(C)ellipse.(D)triangle.
Ans:C
Q.15Incaseofentityintegrity,theprimarykeymaybe
(A)notNull(B)Null
(C)bothNull&notNull.(D)anyvalue.
Ans:A
Q.16IntuplerelationalcalculusP1P2isequivalentto
(A)P1P2(B)P1P2
(C)P1P2(D)P1P2
Ans:AIntuplerelationalcalculusP1P2isequivalenttoP1P2.
(ThelogicalimplicationexpressionAB,meaningifAthenB,isequivalenttoAB)

Q.17ThelanguageusedinapplicationprogramstorequestdatafromtheDBMSisreferred
toasthe
(A)DML(B)DDL
(C)VDL(D)SDL
Ans:A
Q.18Alogicalschema
(A)istheentiredatabase.
(B)isastandardwayoforganizinginformationintoaccessibleparts.
(C)describeshowdataisactuallystoredondisk.
(D)both(A)and(C)
Ans:A
Q.19Relatedfieldsinadatabasearegroupedtoforma
(A)datafile.(B)datarecord.
(C)menu.(D)bank.
Ans:BRelateddatafieldsinadatabasearegroupedtoformadatarecord.
(Arecordisacollectionofrelatedfields)
Q.20Thedatabaseenvironmenthasallofthefollowingcomponentsexcept:
(A)users.(B)separatefiles.
(C)database.(D)databaseadministrator.
Ans:A
Q.21Thelanguagewhichhasrecentlybecomethedefactostandardforinterfacingapplication
programswithrelationaldatabasesystemis
(A)Oracle.(B)SQL.
(C)DBase.(D)4GL.
Ans:B

Q.22Thewayaparticularapplicationviewsthedatafromthedatabasethattheapplication
usesisa
(A)module.(B)relationalmodel.
(C)schema.(D)subschema.
Ans:D
Q.23InanERdiagramanentitysetisrepresentbya
(A)rectangle.(B)ellipse.
(C)diamondbox.(D)circle.
Ans:A
Q.24Areportgeneratorisusedto
(A)updatefiles.(B)printfilesonpaper.
(C)dataentry.(D)deletefiles.
Ans:B
Q.25Theproperty/propertiesofadatabaseis/are:
(A)Itisanintegratedcollectionoflogicallyrelatedrecords.
(B)Itconsolidatesseparatefilesintoacommonpoolofdatarecords.
(C)Datastoredinadatabaseisindependentoftheapplicationprogramsusingit.
(D)Alloftheabove.
Ans:D
Q.26TheDBMSlanguagecomponentwhichcanbeembeddedinaprogramis
(A)Thedatadefinitionlanguage(DDL).
(B)Thedatamanipulationlanguage(DML).
(C)Thedatabaseadministrator(DBA).
(D)Aquerylanguage.
Ans:B

Q.27Arelationaldatabasedeveloperreferstoarecordas
(A)acriteria.(B)arelation.
(C)atuple.(D)anattribute.
Ans:C
Q.28Therelationalmodelfeatureisthatthere
(A)isnoneedforprimarykeydata.
(B)ismuchmoredataindependencethansomeotherdatabasemodels.
(C)areexplicitrelationshipsamongrecords.
(D)aretableswithmanydimensions.
Ans:B
Q.29Conceptualdesign
(A)isadocumentationtechnique.
(B)needsdatavolumeandprocessingfrequenciestodeterminethesizeofthedatabase.
(C)involvesmodellingindependentoftheDBMS.
(D)isdesigningtherelationalmodel.
Ans:C
Q.30Themethodinwhichrecordsarephysicallystoredinaspecifiedorderaccordingtoakey
fieldineachrecordis
(A)hash.(B)direct.
(C)sequential.(D)alloftheabove.
Ans:AAmethodinwhichrecordsarephysicallystoredinaspecifiedorderaccording
toakeyfieldineachrecordishash.
(Inhashmethod,ahashfunctionisperformedonthekeyvaluetodeterminethe
uniquephysicaladdressoftherecordtostoreorretrieve)
Q.31Asubschemaexpresses

(A)thelogicalview.(B)thephysicalview.
(C)theexternalview.(D)alloftheabove.
Ans:CAsubschemaexpressestheexternalview.
(Externalschemasarecalledalsocalledassubschemas)
Q.32CountfunctioninSQLreturnsthenumberof
(A)values.(B)distinctvalues.
(C)groups.(D)columns.
Ans:ACountfunctioninSQLreturnsthenumberofvalues.
(Countfunctioncountsallthenotnullvaluesinthespecificcolumn.Ifwewantto
countonlydistinctvaluesthantheDISTINCTkeywordisalsotobeused)
Q.33Whichoneofthefollowingstatementsisfalse?
(A)Thedatadictionaryisnormallymaintainedbythedatabase
administrator.
(B)Dataelementsinthedatabasecanbemodifiedbychangingthedatadictionary.
(C)Thedatadictionarycontainsthenameanddescriptionofeachdataelement.
(D)Thedatadictionaryisatoolusedexclusivelybythedatabaseadministrator.
Ans:B
Q.34Anadvantageofthedatabasemanagementapproachis
(A)dataisdependentonprograms.
(B)dataredundancyincreases.
(C)dataisintegratedandcanbeaccessedbymultipleprograms.
(D)noneoftheabove.
Ans:C
Q.35ADBMSquerylanguageisdesignedto
(A)supportenduserswhouseEnglishlikecommands.

(B)supportinthedevelopmentofcomplexapplicationssoftware.
(C)specifythestructureofadatabase.
(D)alloftheabove.
Ans:D
Q.36TrAnsactionprocessingisassociatedwitheverythingbelowexcept
(A)producingdetail,summary,orexceptionreports.
(B)recordingabusinessactivity.
(C)confirminganactionortriggeringaresponse.
(D)maintainingdata.
Ans:C
Q.37Itispossibletodefineaschemacompletelyusing
(A)VDLandDDL.(B)DDLandDML.
(C)SDLandDDL.(D)VDLandDML.
Ans:B
Q.38ThemethodofaccesswhichuseskeytrAnsformationisknownas
(A)direct.(B)hash.
(C)random.(D)sequential.
Ans:B
Q.39DataindependencemeAns
(A)dataisdefinedseparatelyandnotincludedinprograms.
(B)programsarenotdependentonthephysicalattributesofdata.
(C)programsarenotdependentonthelogicalattributesofdata.
(D)both(B)and(C).
Ans:Dboth(B)and(C)
Q.40ThestatementinSQLwhichallowstochangethedefinitionofatableis

(A)Alter.(B)Update.
(C)Create.(D)select.
Ans:A
Q.41ERmodelusesthissymboltorepresentweakentityset?
(A)Dottedrectangle.
(B)Diamond
(C)Doublyoutlinedrectangle
(D)Noneofthese
Ans:C
Q.42SETconceptisusedin:
(A)NetworkModel
(B)HierarchicalModel
(C)RelationalModel
(D)Noneofthese
Ans:A
Q.43RelationalAlgebrais
(A)DataDefinitionLanguage.
(B)MetaLanguage
(C)ProceduralqueryLanguage
(D)Noneoftheabove
Ans:C
Q.44Keytorepresentrelationshipbetweentablesiscalled
(A)Primarykey(B)SecondaryKey
(C)ForeignKey(D)Noneofthese
Ans:C

Q.45_______producestherelationthathasattributesofR1andR2
(A)Cartesianproduct(B)Difference
(C)IntersectionD)Product
Ans:A
Q.46Thefileorganizationthatprovidesveryfastaccesstoanyarbitraryrecordofafileis
(A)Orderedfile(B)Unorderedfile
(C)Hashedfile(D)Btree
Ans:C
Q.47DBMShelpsachieve
(A)Dataindependence(B)Centralizedcontrolofdata
(C)Neither(A)nor(B)(D)both(A)and(B)
Ans:D
Q.48Whichofthefollowingarethepropertiesofentities?
(A)Groups(B)Table
(C)Attributes(D)Switchboards
Ans:C
Q.49Inarelation
(A)Orderingofrowsisimmaterial
(B)Notworowsareidentical
(C)(A)and(B)botharetrue
(D)Noneofthese.
Ans:C
Q.50Whichofthefollowingiscorrect:
(A)aSQLqueryautomaticallyeliminatesduplicates.
(B)SQLpermitsattributenamestoberepeatedinthesamerelation.

(C)aSQLquerywillnotworkiftherearenoindexesontherelations
(D)Noneofthese
Ans:D
Q.51ItisbettertousefilesthanaDBMSwhenthereare
(A)Stringentrealtimerequirements.
(B)Multipleuserswishtoaccessthedata.
(C)Complexrelationshipsamongdata.
(D)Alloftheabove.
Ans:B
Q.52Theconceptualmodelis
(A)dependentonhardware.
(B)dependentonsoftware.
(C)dependentonbothhardwareandsoftware.
(D)independentofbothhardwareandsoftware.
Ans:D
Q.53Whatisarelationshipcalledwhenitismaintainedbetweentwoentities?
(A)Unary(B)Binary
(C)Ternary(D)Quaternary
Ans:B
Q.54Whichofthefollowingoperationisusedifweareinterestedinonlycertaincolumnsofa
table?
(A)PROJECTION(B)SELECTION
(C)UNION(D)JOIN
Ans:A
Q.55WhichofthefollowingisavalidSQLtype?

(A)CHARACTER(B)NUMERIC
(C)FLOAT(D)Alloftheabove
Ans:D
Q.56TheRDBMSterminologyforarowis
(A)tuple.(B)relation.
(C)attribute.D)degree.
Ans:A
Q.57Whichofthefollowingoperationsneedtheparticipatingrelationstobeunioncompatible?
(A)UNION(B)INTERSECTION
(C)DIFFERENCEqq(D)Alloftheabove
Ans:D
Q.58ThefullformofDDLis
(ADynamicDataLanguage(B)DetailedDataLanguage
(C)DataDefinitionLanguage(D)DataDerivationLanguage
Ans:C
Q.59Whichofthefollowingisanadvantageofview?
(A)Datasecurity(B)Derivedcolumns
(C)Hidingofcomplexqueries(D)Alloftheabove
Ans:D
Q.60WhichofthefollowingisalegalexpressioninSQL?
(A)SELECTNULLFROMEMPLOYEE;
(B)SELECTNAMEFROMEMPLOYEE;
(C)SELECTNAMEFROMEMPLOYEEWHERESALARY=NULL;
(D)Noneoftheabove
Ans:B

Q.61Theuserswhouseeasytousemenuarecalled
(A)Sophisticatedendusers.(B)Naveusers.
(C)Standaloneusers.(D)Casualendusers.
Ans:B
Q.62Whichdatabaselevelisclosesttotheusers?
(A)External(B)Internal
(C)Physical(D)Conceptual
Ans:A
Q.63Whicharethetwowaysinwhichentitiescanparticipateinarelationship?
(A)Passiveandactive(B)Totalandpartial
(C)SimpleandComplex(D)Alloftheabove
Ans:B
Q.64TheresultoftheUNIONoperationbetweenR1andR2isarelationthatincludes
(A)allthetuplesofR1
(B)allthetuplesofR2
(C)allthetuplesofR1andR2
(D)allthetuplesofR1andR2whichhavecommoncolumns
Ans:D
Q.65WhichofthefollowingisacomparisonoperatorinSQL?
(A)=(B)LIKE
(C)BETWEEN(D)Alloftheabove
Ans:D
Q.66Asetofpossibledatavaluesiscalled
(A)attribute.(B)degree.
(C)tuple.(D)domain.

Ans:D
Q.67Whichoftheoperationsconstituteabasicsetofoperationsformanipulatingrelational
data?
(A)Predicatecalculus(B)Relationalcalculus
(C)Relationalalgebra(D)Noneoftheabove
Ans:C
Q.68Whichofthefollowingisanothernameforweakentity?
(A)Child(B)Owner
(C)Dominant(D)Alloftheabove
Ans:A
Q.69Whichofthefollowingdatabaseobjectdoesnotphysicallyexist?
(A)basetable(B)index
(C)view
(D)noneoftheabove
Ans:C
Q.70NULLis
(A)thesameas0forinteger
(B)thesameasblankforcharacter
(C)thesameas0forintegerandblankforcharacter
(D)notavalue
Ans:D
Q.71Whichofthefollowingisrecordbasedlogicalmodel?
(A)NetworkModel(B)Objectorientedmodel
(C)ERModel(D)Noneofthese
Ans:A

Q.72Adatadictionaryisaspecialfilethatcontains:
(A)Thenameofallfieldsinallfiles.
(B)Thewidthofallfieldsinallfiles.
(C)Thedatatypeofallfieldsinallfiles.
(D)Alloftheabove.
Ans:D
Q.73Afilemanipulationcommandthatextractssomeoftherecordsfromafileiscalled
(A)SELECT(B)PROJECT
(C)JOIN(D)PRODUCT
Ans:A
Q.74ThephysicallocationofarecordisdeterminedbyamathematicalformulathattrAnsforms
afilekeyintoarecordlocationis:
(A)BTreeFile(B)HashedFile
(C)IndexedFile(D)Sequentialfile.
Ans:B
Q.75UsingRelationalAlgebrathequerythatfindscustomers,whohaveabalanceofover
1000is
(A)PCustomer_name(sbalance>1000(Deposit))
(B)sCustomer_name(Pbalance>1000(Deposit))
(C)PCustomer_name(sbalance>1000(Borrow))
(D)sCustomer_name(Pbalance>1000(Borrow))
Ans:A
Q.76Aprimarykeyiscombinedwithaforeignkeycreates
(A)ParentChildrelationshipbetweenthetablesthatconnectthem.
(B)Manytomanyrelationshipbetweenthetablesthatconnectthem.

(C)Networkmodelbetweenthetablesthatconnectthem.
(D)Noneoftheabove.
Ans:A
Q.77InERDiagramderivedattributearerepresentedby
(A)Ellipse(B)Dashedellipse
(C)Rectangle(D)Triangle
AnsB
Q.78CrossProductisa:
(A)UnaryOperator(B)TernaryOperator
(C)BinaryOperator(D)Notanoperator
Ans:C
Q.79AninstanceofrelationalschemaR(A,B,C)hasdistinctvaluesofAincludingNULL
values.Whichoneofthefollowingistrue?
(A)Aisacandidatekey(B)Aisnotacandidatekey
(C)AisaprimaryKey(D)Both(A)and(C)
Ans:B
Q.80ConsiderthejoinofarelationRwithrelationS.IfRhasmtuplesandShasntuples,
thenthemaximumsizeofjoinis:
(A)mn(B)m+n
(C)(m+n)/2(D)2(m+n)
Ans:A
Q.81Thenaturaljoinisequalto:
(A)CartesianProduct
(B)CombinationofUnionandCartesianproduct
(C)CombinationofselectionandCartesianproduct

(D)CombinationofprojectionandCartesianproduct
Ans:D
Q.82Whichoneofthefollowingisnottrueforaview:
(A)Viewisderivedfromothertables.
(B)Viewisavirtualtable.
(C)Aviewdefinitionispermanentlystoredaspartofthedatabase.
(D)Viewnevercontainsderivedcolumns.
Ans:C
Q.83Aprimarykeyifcombinedwithaforeignkeycreates
(A)ParentChildrelationshipbetweenthetablesthatconnectthem.
(B)Manytomanyrelationshipbetweenthetablesthatconnectthem.
(C)Networkmodelbetweenthetablesthatconnectthem.
(D)Noneoftheabove.
Ans:A
Q.84InERDiagramrelationshiptypeisrepresentedby
(A)Ellipse(B)Dashedellipse
(C)Rectangle(D)Diamond
Ans:D
Q.85Hierarchicalmodelisalsocalled
(A)Treestructure(B)PlexStructure
(C)NormalizeStructure(D)TableStructure
Ans:A
Q.86Todeleteaparticularcolumninarelationthecommandusedis:
(A)UPDATE(B)DROP
(C)ALTER(D)DELETE

Ans:C
Q.87The______operatorisusedtocompareavaluetoalistofliteralsvaluesthathavebeen
specified.
(A)BETWEEN(B)ANY
(C)IN(D)ALL
Ans:A
Q.88Alogicalschema
A)istheentiredatabase
B)isastandardwayoforganizinginformationintoaaccessiblepart
C)describehowdataisactuallystoredondisk
D)noneofthese
Ans:D
Q.89ABtreeofordermhasmaximumof_____________children
(A)m(B)m+1
(C)m1(D)m/2
Ans:A
Q.90_____________functiondividesonenumericexpressionbyanotherandreturnsthe
remainder.
(A)POWER(B)MOD
(C)ROUND(D)REMAINDER
Ans:B
Q.91Adatamanipulationcommandthecombinestherecordsfromoneormoretablesiscalled
(A)SELECT(B)PROJECT
(C)JOIN(D)PRODUCT
Ans:C

Q.92InERdiagramgeneralizationisrepresentedby
(A)Ellipse(B)Dashedellipse
(C)Rectangle(D)Triangle
Ans:D
Q.93_________isavirtualtablethatdrawsitsdatafromtheresultofanSQL
SELECTstatement.
(A)View(B)Synonym
(C)Sequence(D)TrAnsaction
Ans:A
Q.94ThemethodofaccesswhichuseskeytrAnsformationisknownas
(A)Direct(B)Hash
(C)Random(D)Sequential
Ans:B
Q.95Atablejoinedwithitselfiscalled
(A)Join(B)SelfJoin
(C)OuterJoin(D)EquiJoin
Ans:B
Q.96_________datatypecanstoreunstructureddata
(A)RAW(B)CHAR
(C)NUMERIC(D)VARCHAR
Ans:A

You might also like