当前位置:考试网  > 试卷库  > 计算机类  > 等级考试  > 计算机二级  > Python语言程序设计  > 以下关于文件的描述,错误的是:
试题预览

以下关于文件的描述,错误的是:

A、二进制文件和文本文件的操作步骤都是“打开-操作-关闭”
B、open()打开文件之后,文件的内容并没有在内存中
C、open()只能打开一个已经存在的文件
D、文件读写之后,要调用close()才能确保文件被保存在磁盘中了
查看答案
收藏
纠错
正确答案:

C

答案解析:

暂无解析

你可能感兴趣的试题

翻译训练:

酒和饮酒文化在中国的历史中占据着重要地位。从宋代开始,白酒(whiteliquor)成为中国人饮用的主要酒类。中国白酒制作工艺复杂,原料丰富多样,是世界著名的六大蒸馏酒(distilledliquor)之一。中国有很多优秀的白酒品牌,受到不同人群的喜爱。在当代社会,饮酒文化得到了前所未有的丰富和发展。不同地区和场合的饮酒习俗和礼仪已成为中国人日常生活中重要的部分。在几千年的文明史中,酒几乎渗透到社会生活中的各个领域,如文学创作、饮食保健等。

翻译:

Cultureshockiscausedbytheanxietythatresultsfromlosingallfamiliarsignsandsymbolsofsocialintercourse.(PassageFour)

PARTVREADINGCOMPREHENSION

PASSAGEONE

(1)TheearliestsettlerscametotheNorthAmericancontinenttoestablishcoloniesthatwerefreefromthecontrolsthatexistedinEuropeansocieties.Theywantedtoescapethecontrolsplacedontheirlivesbykingsandgovernments,priestsandchurches,noblemenandaristocrats.ThehistoricdecisionsmadebythosefirstsettlershavehadaprofoundeffectontheshapingoftheAmerican

character.Bylimitingthepowerofthegovernmentandthechurchesandeliminatingaformalaristocracy,theycreatedaclimateoffreedomwheretheemphasiswasontheindividual.IndividualfreedomisprobablythemostbasicofalltheAmericanvalues.Byfreedom,Americansmeanthedesireandtheabilityofallindividualstocontroltheirowndestinywithoutoutsideinterferencefromthegovernment,arulingnobleclass,thechurch,oranyotherorganizedauthority.

(2)Thereis,however,apricetobepaidforthisindividualfreedom:self-reliance.ItmeansthatAmericansbelievetheyshouldstandontheirownfeet,achievingbothfinancialandemotionalindependencefromtheirparentsasearlyaspossible,usuallybyage18or21.

(3)AsecondimportantreasonwhyimmigrantshavetraditionallybeendrawntotheUnitedStatesisthebeliefthateveryonehasaequalchancetoenteraraceandsucceedinthegame.BecausetitlesofnobilitywereforbiddenintheConstitution,noformalclasssystemdevelopedintheU.S.

(4)Thereis,however,apricetobepaidforthisequalityofopportunity:competition.Ifmuchoflifeisseenasrace,thenapersonmustruntheraceinordertosucceed;apersonmustcompetewithothers.ThepressuresofcompetitioninthelifeofanAmericanbegininchildhoodandcontinueuntilretirementfromwork.Infact,anygroupofpeoplewhodoesnotcompetesuccessfullydoesnotfit

intothemainstreamofAmericanlifeaswellasthosewhodo.

(5)AthirdreasonwhyimmigrantshavetraditionallycometotheUnitedStatesistohaveabetterlife.Becauseofitsabundantnaturalresources,theUnitedStatesappearedtobea“landofplentywheremillionscouldcometoseektheirfortunes.Thephrase“goingfromragstoriches”becameasloganfortheAmericandream.Manypeopledidachievematerialsuccess.MaterialwealthbecameavaluetotheAmericanpeople,anditalsobecameanacceptedmeasureofsocialstatus.

(6)Americanspayaprice,however,fortheirmaterialwealth:hardwork.HardworkhasbeenbothnecessaryandrewardingformostAmericansthroughouttheirhistory.Insomeways,materialpossessionsareseenasevidenceofpeople’sabilities.BarryGoldwater,acandidateforthepresidencyin1964,saidthatmostpoorpeoplearepoorbecausetheydeservetobe.MostAmericanswouldfind

thisaharshstatement,butmanymightthinktherewassometruthinit.

(7)ThesebasicvaluesdonottellthewholestoryoftheAmericancharacter.Rather,theyshouldbethoughtofasthemes,aswecontinuetoexploremorefacetsoftheAmericancharacterandhowitaffectslifeintheUnitedStates.

1.Para.4seemstosuggestthat__________.

A.Americansarebornwithasenseofcompetition

B.thepressureofcompetitionbeginswhenonestartswork

C.successfulcompetitionisessentialinAmericansociety

D.competitionresultsinequalityofopportunities

2.WhichofthefollowingmethodsdoestheauthormainlyuseinexplainingAmericanvalues?

A.Comparison

D.Causeandeffect

C.Definition

D.Processanalysis

Paragraphs2and3explain________.

Hewasluredintoacrimehewouldnot____________havecommitted.

热门试题 更多>
试题分类: 专业基础课(法学)
练习次数:4次
试题分类: 专业综合课
练习次数:7次
试题分类: 综合能力
练习次数:0次
扫一扫,手机做题