当前位置:考试网  > 试卷库  > 计算机类  > 等级考试  > 计算机二级  > MySQL数据库程序设计  >  有下列程序:执行后的输出结果是( ) fun(int x ,int y) { static int m=0 ,i=2; i+=m+1;m=i+x+y;return m; } main() { int j=1 ,m=1,k; k=fun(j ,m);print S( ”%d,”, k); k=fun(j ,m);printf( ”%d n”, k); )
试题预览

有下列程序:执行后的输出结果是( )

fun(int x ,int y)

{ static int m=0 ,i=2;

i+=m+1;m=i+x+y;return m;

}

main()

{ int j=1 ,m=1,k;

k=fun(j ,m);print S( ”%d,”, k);

k=fun(j ,m);printf( ”%d n”, k);

)

A、5,5
B、5,11
C、5,10
D、11,5
查看答案
收藏
纠错
正确答案:

B

答案解析:

暂无解析

你可能感兴趣的试题

newweapontofightcancer

1.Britishscientistsarepreparingtolaunchtrialsofaradicalnewwaytofightcancer,whichkillstumoursbyinfectingthemwithviruseslikethecommoncold.

2.Ifsuccessful,virustherapycouldeventuallyformathirdpillaralongsideradiotherapyandchemotherapyinthestandardarsenalagainstcancer,whileavoidingsomeofthedebilitatingside-effects.

3.LeonardSeymour,aprofessorofgenetherapyatOxfordUniversity,whohasbeenworkingonthevirustherapywithcolleaguesinLondonandtheUS,willleadthetrialslaterthisyear.CancerResearchUKsaidyesterdaythatitwasexcitedbythepotentialofProfSeymour’spioneeringtechniques.

4.Oneofthecountry’sleadinggeneticists,ProfSeymourhasbeenworkingwithvirusesthatkillcancercellsdirectly,whileavoidingharmtohealthytissue."Inprinciple,you’vegotsomethingwhichcouldbemanytimesmoreeffectivethanregularchemotherapy,"hesaid.

5.Cancer-killingvirusesexploitthefactthatcancercellssuppressthebody’slocalimmunesystem."Ifacancerdoesn’tdothat,theimmunesystemwipesitout.Ifyoucangetavirusintoatumour,virusesfindthemaverygoodplacetobebecausethere’snoimmunesystemtostopthemreplicating.Youcanregarditasthecancer’sAchilles’heel."

6.Onlyasmallamountofthevirusneedstogettothecancer."Theyreplicate,yougetamillioncopiesineachcellandthecellburstsandtheyinfectthetumourcellsadjacentandrepeattheprocess,"saidProfSeymour.

7.Preliminaryresearchonmiceshowsthatthevirusesworkwellontumoursresistanttostandardcancerdrugs."It’saninterestingpossibilitythattheymayhaveanadvantageinkillingdrug-resistanttumours,whichcouldbequitedifferenttoanythingwe’vehadbefore."

8.Researchershaveknownforsometimethatvirusescankilltumourcellsandsomeaspectsoftheworkhavealreadybeenpublishedinscientificjournals.Americanscientistshavepreviouslyinjectedvirusesdirectlyintotumoursbutthistechniquewillnotworkifthecancerisinaccessibleorhasspreadthroughoutthebody.

9.ProfSeymour’sinnovativesolutionistomaskthevirusfromthebody’simmunesystem,effectivelyallowingthevirusestodowhatchemotherapydrugsdo-spreadthroughthebloodandreachtumourswherevertheyare.Thebighurdlehasalwaysbeentofindawaytodelivervirusestotumoursviathebloodstreamwithoutthebody’simmunesystemdestroyingthemontheway.

10."Whatwe’vedoneismakechemicalmodificationstothevirustoputapolymercoataroundit-it’sastealthviruswhenyouinjectit,"hesaid.

11.Afterthestealthvirusinfectsthetumour,itreplicates,butthecopiesdonothavethechemicalmodifications.Iftheyescapefromthetumour,thecopieswillbequicklyrecognisedandmoppedupbythebody’simmunesystem.

12.Thetherapywouldbeespeciallyusefulforsecondarycancers,calledmetastases,whichsometimesspreadaroundthebodyafterthefirsttumourappears."There’sanawfulstatisticofpatientsinthewest...withmalignantcancers;75%ofthemgoontodiefrommetastases,"saidProfSeymour.

13.Twovirusesarelikelytobeexaminedinthefirstclinicaltrials:adenovirus,whichnormallycausesacold-likeillness,andvaccinia,whichcausescowpoxandisalsousedinthevaccineagainstsmallpox.Forsafetyreasons,bothwillbedisabledtomakethemlesspathogenicinthetrial,butProfSeymoursaidheeventuallyhopestousenaturalviruses.

14.Thefirsttrialswilluseuncoatedadenovirusandvacciniaandwillbedeliveredlocallytolivertumours,inordertoestablishwhetherthetreatmentissafeinhumansandwhatdoseofviruswillbeneeded.Severalmoreyearsoftrialswillbeneeded,eventuallyalsoonthepolymer-coatedviruses,beforethetherapycanbeconsideredforuseintheNHS.Thoughtheapproachwillbeexaminedatfirstforcancersthatdonotrespondtoconventionaltreatments,ProfSeymourhopesthatonedayitmightbeappliedtoallcancers.

Questions1-6

Dothefollowingstatementsagreewiththeinformationgiveninthereadingpassage?Forquestions1-6write

TRUEifthestatementagreeswiththeinformation

FALSEifthestatementcontradictstheinformation

NOTGIVENifthereisnoinformationonthisinthepassage

1.Virustherapy,ifsuccessful,hasanadvantageineliminatingside-effects.

2.CancerResearchUKisquitehopefulaboutProfessorSeymour’sworkonthevirustherapy.

3.Viruscankillcancercellsandstopthemfromgrowingagain.

4.Cancer’sAchilles’heelreferstothefactthatvirusmaystaysafelyinatumorandreplicate.

5.Toinfectthecancercells,agooddealofvirusesshouldbeinjectedintothetumor.

6.Researchesonanimalsindicatethatviruscouldbeusedasanewwaytotreatdrug-resistanttumors.

Question7-9

Basedonthereadingpassage,choosetheappropriateletterfromA-Dforeachanswer.

7.Informationaboutresearchesonviruseskillingtumorcellscanbefound

(A)onTV

(B)inmagazines

(C)oninternet

(D)innewspapers

8.Totreattumorsspreadingoutinbody,researcherstryto

(A)changethebody’immunesystem

(B)injectchemotherapydrugsintobloodstream.

(C)increasetheamountofinjection

(D)disguisethevirusesonthewaytotumors.

9.Whenthechemicalmodifiedvirusintumorreplicates,thecopies

(A)willsoonescapefromthetumorandspreadout.

(B)willbewipedoutbythebody’simmunesystem.

(C)willbeimmediatelyrecognizedbytheresearchers.

(D)willeventuallystopthetumorfromspreadingout.

Questions10-13

Completethesentencesbelow.Chooseyouranswersfromthelistofwords.Youcanonlyuseeachwordonce.

NBTherearemorewordsinthelistthanspacessoyouwillnotusethemall.

Inthefirstclinicaltrials,scientistswilltryto……10……adenovirusandvaccinia,soboththeviruseswillbelesspathogenicthanthe……11…….Theseuncoatedviruseswillbeapplieddirectlytocertainareastoconfirmsafetyonhumanbeingsandtheright……12……needed.Theexperimentswillfirstlybe……13……tothetreatmentofcertaincancers

简述滞期费和速遣费的含义。

国际货协运单有什么作用?

Ihopedwecancooperatehappily.

1.Thefailureofahigh-profilecholesteroldrughasthrownaspotlightonthecomplicatedmachinerythatregulatescholesterollevels.Butmanyresearchersremainconfidentthatdrugstoboostlevelsof'good'cholesterolarestilloneofthemostpromisingmeanstocombatspirallingheartdisease.

2.DrugcompanyPfizerannouncedon2Decemberthatitwascancellingallclinicaltrialsoftorcetrapib,adrugdesignedtoraiseheart-protectivehigh-densitylipoproteins(HDLs).Inatrialof15000patients,asafetyboardfoundthatmorepeoplediedorsufferedcardiovascularproblemsaftertakingthedrugplusacholesterol-loweringstatinthanthoseinacontrolgroupwhotookthestatinalone.

3.Thenewscameasakickintheteethtomanycardiologistsbecauseearliertestsinanimalsandpeoplesuggesteditwouldlowerratesofcardiovasculardisease."Therehavebeennoredflagstomyknowledge,"saysJohnChapman,aspecialistinlipoproteinsandatherosclerosisattheNationalInstituteforHealthandMedicalResearch(INSERM)inPariswhohasalsostudiedtorcetrapib."Thiscancellationcameasacompleteshock."

4.TorcetrapibisoneofthemostadvancedofanewbreedofdrugsdesignedtoraiselevelsofHDLs,whichferrycholesteroloutofartery-cloggingplaquestotheliverforremovalfromthebody.Specifically,torcetrapibblocksaproteincalledcholesterolestertransferprotein(CETP),whichnormallytransfersthecholesterolfromhigh-densitylipoproteinstolowdensity,plaque-promotingones.Statins,incontrast,mainlyworkbyloweringthe'bad'low-densitylipoproteins.

Underpressure

5.Researchersarenowtryingtoworkoutwhyandhowthedrugbackfired,somethingthatwillnotbecomeclearuntiltheclinicaldetailsarereleasedbyPfizer.Onehintliesinevidencefromearliertrialsthatitslightlyraisesbloodpressureinsomepatients.Itwasthoughtthatthismildproblemwouldbeoffsetbytheheartbenefitsofthedrug.Butitispossiblethatitactuallyprovedfatalinsomepatientswhoalreadysufferedhighbloodpressure.Ifbloodpressureistheexplanation,itwouldactuallybegoodnewsfordrugdevelopersbecauseitsuggeststhattheproblemsarespecifictothiscompound.OtherprototypedrugsthatarebeingdevelopedtoblockCETPworkinaslightlydifferentwayandmightnotsufferthesamedownfall.

6.ButitisalsopossiblethatthewholeideaofblockingCETPisflawed,saysMotiKashyap,whodirectsatherosclerosisresearchattheVAMedicalCenterinLongBeach,California.WhenHDLsexcretecholesterolintheliver,theyactuallyrelyonLDLsforpartofthisprocess.SoinhibitingCETP,whichpreventsthetransferofcholesterolfromHDLtoLDL,mightactuallycauseanabnormalandirreversibleaccumulationofcholesterolinthebody."You'reblockingaphysiologicmechanismtoeliminatecholesterolandeffectivelyconstipatingthepathway,"saysKashyap.Goingup

7.Mostresearchersremainconfidentthatelevatinghighdensitylipoproteinslevelsbyonemeansoranotherisoneofthebestroutesforhelpingheartdiseasepatients.ButHDLsarecomplexandnotentirelyunderstood.Oneapproveddrug,calledniacin,isknowntobothraiseHDLandreducecardiovascularriskbutalsocausesanunpleasantsensationofheatandtingling.Researchersareexploringwhethertheycanbypassthissideeffectandwhetherniacincanlowerdiseaseriskmorethanstatinsalone.Scientistsarealsoworkingonseveralothermeanstobumpuphigh-densitylipoproteinsby,forexample,introducingsyntheticHDLs."Theonlythingweknowisdeadinthewateristorcetrapib,notthewholeideaofraisingHDL,"saysMichaelMiller,directorofpreventivecardiologyattheUniversityofMarylandMedicalCenter,Baltimore.

Questions7-13

Matchtorcetrapib,HDLs,statinandCETPwiththeirfunctions(Questions8-13)..WritethecorrectletterA,B,CorDinboxes8-13onyouranswersheet.NBYoumayuseanylettermorethanonce.

7.Ithasbeenadministeredtoover10,000subjectsinaclinicaltrial.

8.Itcouldhelpridhumanbodyofcholesterol.

9.Researchersareyettofindmoreaboutit.

10.Itwasusedtoreducethelevelofcholesterol.

11.AccordingtoKashyap,itmightleadtounwantedresultifit'sblocked.

12.Itproducedcontradictoryresultsindifferenttrials.

13.ItcouldinhibitLDLs.Listofchoices

A.TorcetrapicB.HDLSC.StatinD.CETP

热门试题 更多>
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:4次
试题分类: 专业实践技能
练习次数:1次
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:0次
试题分类: 专业实践技能
练习次数:0次
扫一扫,手机做题