电子科技大学英才学院2012-2013学年第1学期期末考试A卷离散数学课程考试题A卷(120分钟)考试形式:闭卷考试日期2013年月日课程成绩构成:平时分,期中分,实验分,期末100分一二三四五六七八九十合计I.MultipleChoice(15%,1.5pointseach)(A)1.(p∧q)→(p∨q)islogicallyequivalenttoa)Tb)p∨qc)Fd)p∧q(A)2.IfP(A)isthepowersetofA,andA=Æ,whatis|P(P(P(A)))|?a)4b)24c)28d)216(C)3.WhichofthesestatementsisNOTaproposition?a)TodayisMonday.`b)1+1=2.c)AmIright?d)Goandplaywithme.(C)4.Whichofthesepropositionsisnotlogicallyequivalenttotheotherthree?a)(p®q)(r®q)b)(pÚr)®qc)(pr)®qd)Thecontrapositiveof¬q®(¬p^¬r)(B)5.SupposeA3andB8.Thenumberof1-1functionsfA®Bisa)24b)P(83).c)38d)83(B)6.LetRbearelationonthepositiveintegerswherexRyifxisafactorofy.WhichofthefollowinglistsofpropertiesbestdescribestherelationR?a)symmetric,transitiveb)antisymmetric,transitive,reflexivec)antisymmetric,symmetric,reflexived)symmetric,transitive,reflexive(C)7.Whichofthefollowingarepartitionsof?a).b)c).d)(C)8.Thefunctionf(x)=x2log(x3+78)isbig-Oofwhichofthefollowingfunctions?a)x2b)x(logx)3c)x2logxd)xlogx(A)9.If,thenRis:a)reflexiveb)symmetricc)antisymmetricd)transitive.(B)10.WhichofthefollowingsisafunctionfromZtoR?a).`b).c)d)II.TrueorFalse(10%,1pointeach)(T)1.If10,then56.(F)2.(p∧q)∨r≡p∧(q∨r)(F)3.IfA,B,andCaresets,then(A-C)-(B-C)=A-B.(T)4.SupposeAabc,thenaP(A).(F)5.isdefinedasafunctionwithdomainRandcodomainR.(T)6.SupposegA®BandfB®C,wherefgis1-1andfis1-1.gmustbe1-1?(T)7.Ifpandqareprimes(2),thenpqiscomposite.(F)8.IftherelationRisdefinedonthesetZwhereaRbmeansthatab0,thenRisanequivalencerelationonZ.(T)9.(AB)(AC)=A(BC).(T)10.ThesetÆaÆaÆisthepowersetofsomesetIII.FillintheBlanks(20%,2pointseach)1.Letpandqbethepropositions“Iamacriminal”and“Irobbanks”.ExpressinsimpleEnglishtheproposition“ifpthenq”:IfIamacriminalthemIrobbanks.2.P(xy)means“x2yxy”,wherexandyareintegers.ThetruthvalueofxyP(xy)isFalse.3.Thenegationofthestatement“Notestsareeasy.”issometestsareeasy.4.Ifthenis.5.SupposeAxy.Thenis{Æ,{x},{y},{x,y}}.6.SupposegA®AandfA®AwhereA1234,g(14)(21)(31)(42)andf(13)(22)(34)(42).Thenfg=(12)(23)(33)(42).7.Thesumof2481632210is2112.8.Theexpressionofgcd(45,12)asalinearcombinationof12and45is12445(1).9.Thereare5!permutationsofthesevenlettersA,B,C,D,E,FhaveAimmediatelytotheleftofE.10.Thetwo'scomplementof13is10011.IV.AnswertheQuestions(32%,4pointseach):1.Determinewhetherthefollowingargumentisvalid:p®rq®rqÚr________pAns:Notvalid:ptrue,qtrue,rtrue2.Supposeyouwishtoproveatheoremoftheform“ifpthenq”.(a)Ifyougiveadirectproof,whatdoyouassumeandwhatdoyouprove?(b)Ifyougiveanindirectproof,whatdoyouassumeandwhatdoyouprove?(c)Ifyougiveaproofbycontradiction,whatdoyouassumeandwhatdoyouprove?Ans:(a)Assumep,proveq.(b)Assumeq,provep.(c)Assumepq,showthatthisleadstoacontradiction.3.Provethatbygivingaproofusinglogicalequivalence.Ans:4.SupposefR®Rwheref(x)x2.(a)IfSx1x6,findf(S).(b)IfT345,findf1(T).Ans:(a)0123(b)[612).5.Usethedefinitionofbig-ohtopr...