ÄÏ¿ª´óѧ

ÄÏ¿ª21ÇïѧÆÚ£¨1709¡¢1803¡¢1809¡¢1903¡¢1909¡¢2003¡¢2009¡¢2103

ʱ¼ä£º2022-04-16  ×÷Õß:ÔÚÏß  À´Ô´£ºwww.youxue100f.com  µã»÷£º ´Î  

±êÇ©£º ÔÚÏß×÷Òµ Python±à³Ì»ù´¡ °ÂÅô×÷Òµ´ð°¸
ÄÚÈÝÕªÒª£º
ÄÏ¿ª21ÇïѧÆÚ£¨1709¡¢1803¡¢1809¡¢1903¡¢1909¡¢2003¡¢2009¡¢2103¡¢2109£©¡¶Python±à³Ì»ù´¡¡·ÔÚÏß×÷Òµ100·Ö

¿É×ö°ÂÅôÈ«²¿ÔºÐ£×÷Òµ¡¢¹ú¿ªÐο¼×÷Òµ´ð°¸¡¢ÔÚÏß×÷Òµ¡¢ÀëÏß×÷Òµ¡¢±ÏÒµÂÛÎÄ£¬´ð°¸ÁªÏµ°ÂÅô×÷Òµ´ð°¸£¬°ÂÅô³É¿¼×÷Òµ´ú×öÁªÏµÓÅѧÍø Î¢ÐÅ£ºwxxygzs

[ÄÏ¿ª´óѧ]21ÇïѧÆÚ£¨1709¡¢1803¡¢1809¡¢1903¡¢1909¡¢2003¡¢2009¡¢2103¡¢2109£©¡¶Python±à³Ì»ù´¡¡·ÔÚÏß×÷Òµ
ÊÔ¾í×Ü·Ö:100  µÃ·Ö:100
Ò»¡¢µ¥Ñ¡Ìâ (ÓÅѧÍøÔÚÏߴ𰸣¨www.youxue100f.com£©¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
1.ϵͳģ¿éµÄÃû×ÖÊÇ( )¡£
A.sys
B.system
C.os
D.windows
 
2.re.findallº¯ÊýÆ¥Åäʧ°ÜʱµÄ·µ»Ø½á¹ûÊÇ( )¡£
A.Áбí
B.Ôª×é
C.µü´úÆ÷
D.None
 
3.ÏÂÃæÑ¡ÏîÖÐ,ÃèÊö´íÎóµÄÊÇ( )¡£
A.Èç¹ûÒª´´½¨µÄĿ¼ÒѾ­´æÔÚ£¬Ôòos.mkdirº¯Êý»á±¨´í
B.Èç¹ûÒª´´½¨µÄĿ¼ÒѾ­´æÔÚ£¬Ôòos.makedirsº¯Êý²»»á±¨´í
C.Èç¹ûҪɾ³ýµÄĿ¼²»´æÔÚ£¬Ôòos.rmdirº¯Êý»á±¨´í
D.Èç¹ûҪɾ³ýµÄĿ¼ÒÑ´æÔÚµ«Ä¿Â¼²»Îª¿Õ£¬Ôòos.rmdirº¯Êý»á±¨´í
 
4.( )ÊǼÆËã»úÍê³ÉµÄÒ»¸ö×î»ù±¾µÄ²Ù×÷¡£
A.³ÌÐò
B.Ö¸Áî
C.´úÂë
D.ÃüÁî
 
5.ÒÑÖª“str='Python#C++##Python'”,Ôò“str.rfind('Python')”·µ»ØµÄ½á¹ûÊÇ( )¡£
A.0
B.12
C.-1
D.±¨´í
 
6.ÒÑÖªStudentÀàÊÇÒ»¸ö¿ÕÀà,Ôòͨ¹ý“Student.name='unknown'”Óï¾äÔö¼ÓµÄÊôÐÔ¿ÉÒÔͨ¹ý( )·ÃÎÊ¡£
A.ÀàÃû»ò¶ÔÏóÃû
B.½öÀàÃû
C.½ö¶ÔÏóÃû
D.ÎÞ·¨·ÃÎÊ
 
7.ʹÓÃ×ÖµäÖеÄ( )·½·¨¿ÉÒÔɾ³ýÖ¸¶¨¼üµÄÔªËØ¡£
A.del
B.delete
C.pop
D.remove
 
8.²»¶¨³¤µÄ¹Ø¼ü×Ö²ÎÊýÔÚ´«µÝ¸øº¯Êýʱ»á±»·â×°³É( )¡£
A.Ôª×é
B.Áбí
C.¼¯ºÏ
D.×Öµä
 
9.¶ÔÓÚ±Õ°ü,¶¨ÒåÔÚÍâ²ãº¯ÊýÖе«ÓÉÄڲ㺯ÊýʹÓõıäÁ¿³ÆΪ( )¡£
A.Íâ²ã±äÁ¿
B.±Õ°ü±äÁ¿
C.×ÔÓɱäÁ¿
D.Ô¼Êø±äÁ¿
 
10.ͳ¼ÆÁбílsÖеÄֵΪ3µÄÔªËظöÊýӦʹÓÃ( )¡£
A.ls.count(3)
B.count(ls,3)
C.ls.len(3)
D.len(ls,3)
 
11.ÔÚAÀàµÄij¸ö·½·¨ÖÐ,“super()”µÈ¼ÛÓÚ( )¡£
A.super(A)
B.super(A,self)
C.super(self)
D.super
 
12.ÏÂÃæÎļþÎļþ´ò¿ª·½Ê½ÖÐ,²»ÄܶԴò¿ªµÄÎļþ½øÐÐд²Ù×÷µÄÊÇ( )¡£
A.w
B.wt
C.r
D.a
 
13.ÒÑÖªMÄ£¿éÖÐÓÐÒ»¸öÎ޲κ¯Êýfun,ÇÒÔڽű¾ÎļþN.pyÖÐÓГfrom M import fun”,ÔòÔÚN.pyÖе÷ÓÃMÄ£¿éÖÐfunº¯ÊýµÄ·½Ê½Îª( )¡£
A.fun()
B.fun()
C.fun()
D.M.fun()
 
14.´ÓÒ»¸öÐòÁжÔÏóÖÐÈ¡²¿·ÖÔªËØÐγÉÒ»¸öеÄÐòÁжÔÏóµÄ²Ù×÷±»³Æ×÷( )¡£
A.Ñ¡Ôñ
B.ÇÐƬ
C.×ÓÐòÁÐ
D.ͶӰ
 
15.µÝ¹éº¯ÊýÊÇÖ¸( )¡£
A.ÔÚÒ»¸öº¯ÊýÄÚ²¿Í¨¹ýµ÷ÓÃ×Ô¼ºÍê³ÉÎÊÌâµÄÇó½â
B.ÔÚÒ»¸öº¯ÊýÄÚ²¿Í¨¹ý²»¶Ïµ÷ÓÃÆäËûº¯ÊýÍê³ÉÎÊÌâµÄÇó½â
C.Ò»¸öº¯Êý²»¶Ï±»ÆäËûº¯Êýµ÷ÓÃÍê³ÉÎÊÌâµÄÇó½â
D.°Ñº¯Êý×÷Ϊ²ÎÊýµÄÒ»ÖÖº¯Êý
 
16.ÒÑÖª“ls=[1,3,2,5]”,ÔòÖ´ÐГls.sort()”ºólsµÄֵΪ( )¡£
A.[1,3,2,5]
B.[1,2,3,5]
C.[5,3,2,1]
D.[5,2,3,1]
 
17.³ÌÐòÔÚÔËÐÐʱ,ÊäÈëÊý¾ÝºÍÊä³öÊý¾Ý¶¼ÊÇ´æ·ÅÔÚ( )ÖС£
A.Íâ´æ
B.ÄÚ´æ
C.CPU
D.Ó²ÅÌ
 
18.ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ( )¡£ score=80 if score<60: print('²»¼°¸ñ') else: pass
A.²»¼°¸ñ
B.pass
C.±¨´í
D.ÎÞÊä³ö
 
19.ΪAÀàÖеÄtÊôÐÔ¶¨ÒåÒ»¸ö»ñÈ¡ÊôÐÔÖµµÄ·½·¨(¼´getter),ÔòӦʹÓÃ( )×°ÊÎÆ÷¡£
A.@property
B.@t.getter@property.getter
C.t.property.getter
 
20.ʹÓü¯ºÏµÄadd·½·¨,ÒªÇó´«ÈëµÄʵ²Î±ØÐëÊÇ( )¡£
A.Ôª×é
B.Áбí
C.¿É¹þÏ£¶ÔÏó
D.¿Éµü´ú¶ÔÏó
 
¶þ¡¢¶àÑ¡Ìâ (ÓÅѧÍøÔÚÏߴ𰸣¨www.youxue100f.com£©¹² 10 µÀÊÔÌâ,¹² 20 ·Ö)
21.ÏÂÁÐÑ¡ÏîÖÐ,·µ»Ø½á¹ûΪTrueµÄ±í´ïʽÊÇ( )¡£
A.'Python'>'python'
B.'Python3.7'>'Python'
C.'Python'!='python'
D.'C++'<'Python'
 
22.Èç¹ûÒªÌæ»»×Ö·û´®ÖÐÓëÖ¸¶¨ÕýÔò±í´ïʽƥÅäµÄ×Ó´®,¿ÉÒÔʹÓÃreÄ£¿éµÄ( )º¯Êý¡£
A.replace
B.split
C.sub
D.subn
 
23.ÏÂÁÐÑ¡ÏîÖÐ,¿ÉÒÔÓÃÓÚÅжÏxºÍyÊÇ·ñ¶ÔӦͬÑù´æ´¢µ¥ÔªµÄÓï¾äÊÇ( )¡£
A.x==y
B.x is y
C.id(x)==id(y)
D.not x!=y
 
24.ÏÂÁÐÑ¡ÏîÖÐ,Äܹ»Éú³ÉÁбí[1,3,5]µÄÓï¾ä°üÀ¨( )¡£
A.list(range(1,7,2))
B.list(range(1,5,2))
C.[x for x in range(7) if x%2!=0]
D.[2*x+1 for x in range(3)]
 
25.ÏÂÁÐÑ¡ÏîÖÐ,²»ÄÜ´´½¨×Öµä¶ÔÏóµÄÓï¾äÊÇ( )¡£
A.{'one':1, 'two':2, 'three':3}
B.dict('one':1, 'two':2, 'three':3)
C.{one=1, two=2, three=3}
D.dict(one=1, two=2, three=3)
 
26.ÒÑÖªÓдúÂë“for x in y:”,ÔòyµÄÊý¾ÝÀàÐÍ¿ÉÒÔÊÇ( )¡£
A.Áбí
B.Ôª×é
C.ÊýÖµ
D.×Ö·û´®
 
27.Python³ÌÐòʹÓÃ( )½øÐжàÐÐ×¢ÊÍ¡£
A.Èý¸öÁ¬Ðøµ¥ÒýºÅ
B.Èý¸öÁ¬ÐøË«ÒýºÅ
C.·ÖºÅ
D.¾®ºÅ
 
28.Èç¹ûÏ£ÍûÓÃÒ»¸öreturnÓï¾ä½áÊøº¯Êýµ«²»·µ»ØÈκÎÊý¾Ý,Ôò¿ÉÒÔдΪ( )¡£
A.return False
B.return
C.return None
D.return 0
 
29.ÏÂÃæ¹ØÓÚ°üµÄÐðÊöÖÐ,ÕýÈ·µÄÊÇ( )¡£
A.ÀûÓðü¿ÉÒÔ½«¶à¸ö¹ØϵÃÜÇеÄÄ£¿é×éÖ¯ÔÚÒ»Æð
B.¶¨ÒåÒ»¸ö°ü¾ÍÊÇ´´½¨Ò»¸öÎļþ¼Ð²¢ÔÚ¸ÃÎļþ¼ÐÏ´´½¨Ò»¸öÃûΪ__init__.pyµÄÎļþ
C.Ò»¸ö°üÏÂÃæÖ»ÄÜ°üº¬Ä£¿é
D.Ò»¸ö°üÏÂÃ滹¿ÉÒÔ°üº¬×Ó°ü
 
30.×Ö·û´®¼ìË÷ʱ,¼ìË÷ʧ°Üʱ²»»áÒý·¢Òì³£µÄ·½·¨°üÀ¨( )¡£
A.find
B.rfind
C.index
D.rindex
 
Èý¡¢ÅжÏÌâ (ÓÅѧÍøÔÚÏߴ𰸣¨www.youxue100f.com£©¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
31.ͨ¹ý“set()”¿ÉÒÔ´´½¨Ò»¸ö¿Õ¼¯ºÏ¡£
 
32.1.25e3±íʾ¸¡µãÊý1250.0µÄ¿Æѧ¼ÇÊý·¨±íʾ·½Ê½¡£
 
33.ÔÚforÑ­»·ºÍwhileÑ­»·ºóÃæ¿ÉÒÔ¸ú×Åelse·ÖÖ§,Í˳öÑ­»·ºó±ØÈ»»áÖ´ÐÐelseºóÃæµÄÓï¾äÐòÁС£
 
34.ÒÑÖªÖ´ÐГd=dict(sno='1810100', name='ÀîÏþÃ÷', age=19)”,ÔòÖ´ÐГr=d.pop('age')”ºó,rµÄֵΪ19¡£
 
35.Ö´ÐÐprint('d:\\Python'),Ôò»áÔÚÆÁÄ»ÉÏÊä³ö“d:\Python”¡£
 
36.ÔÚÒ»¸öº¯ÊýÖж¨ÒåµÄ±äÁ¿ÔÚÁíÒ»¸öº¯ÊýÖв»ÄÜʹÓá£
 
37.Îö¹¹·½·¨¿ÉÒÔûÓÐÐβΡ£
 
38.Èç¹ûÒ»¸öÒì³£ÎÞ·¨±»ÈκεÄexcept×Ӿ䲶»ñ,Ôò³ÌÐò»áÅ׳ö¸ÃÒì³£²¢Í£Ö¹¡£
 
39.re.match(r'py$','puppy')·µ»ØµÄÊÇÒ»¸öMatch¶ÔÏó¡£
 
40.ÔÚËùÓк¯ÊýÍⶨÒåµÄ±äÁ¿¾ÍÊÇÈ«¾Ö±äÁ¿¡£
 
41.ͨ¹ý“{}”¿ÉÒÔ´´½¨Ò»¸ö¿Õ¼¯ºÏ¡£
 
42.×°ÊÎÆ÷µÄ×÷ÓÃÊÇÔÚ²»ÐÞ¸ÄÒÑÓк¯ÊýÇé¿öÏÂÏòÒÑÓк¯Êý×¢Èë´úÂë¡£
 
43.Ö´ÐГprint('%.2f%%'%52.50)”,Êä³ö½á¹ûΪ“52.50%”¡£
 
44.ͨ¹ýϱê“[]”²»½ö¿ÉÒÔ·ÃÎÊÁбíÖеÄij¸öÔªËØ,»¹¿ÉÒÔ¶ÔÔªËؽøÐÐÐ޸ġ£
 
45.Äܹ»Ê¹ÓÃnextº¯Êý»ñÈ¡ÏÂÒ»¸öÔªËØÖµµÄ¶ÔÏó¶¼Êǵü´úÆ÷¡£
 
46.ÒÑÖª“str1='abcdefabc'”,ÔòÖ´ÐГstr2=str1.replace('abc','cba',1)”ºó,str2Öб£´æµÄ×Ö·û´®Îª'cbadefabc'¡£
 
47.__ÓÅѧÍøÔÚÏߴ𰸣¨www.youxue100f.com£©__·½·¨µÄ·µ»ØÖµ¿ÉÒÔÊÇÕûÊý¡£
 
48.Èç¹ûÒ»¸öÊôÐÔÖ»ÓÐÓÃÓÚ»ñÈ¡ÊôÐÔÖµµÄgetter·½·¨,¶øûÓÐÓÃÓÚÉèÖÃÊôÐÔÖµµÄsetter·½·¨,Ôò¸ÃÊôÐÔÊÇÒ»¸öÖ»¶ÁÊôÐÔ¡£
 
49.PythonÖÐÁ½¸öСÊý×ö³Ë·¨ÔËËãºó,ÔËËã½á¹ûÓëʵ¼Ê½á¹û¿ÉÄÜ»á´æÔÚÆ«²î¡£
 
50.Íâ²ãº¯ÊýÖж¨ÒåµÄ¾Ö²¿±äÁ¿±»Äڲ㺯ÊýʹÓÃ,Ôòÿµ÷ÓÃÒ»´ÎÍâ²ãº¯ÊýÔò»áÐγÉÒ»¸ö±Õ°ü¡£
 

³ö´¦£º°Â°ÂÅô×÷Òµ´ð°¸_ÓÅѧÍø_רҵµÄ×÷Òµ´ð°¸¸¨µ¼Íø
ÍøÖ·£ºyouxue100f.comתÔØʱÇë×¢Ã÷³ö´¦ºÍÍøÖ·
×÷Òµ´ð°¸_ÓÅѧÍø_רҵµÄÔÚÀëÏß×÷Òµ´ð°¸¸¨µ¼Íø

ÁªÏµ£ºQQ£º3064302332 µã»÷ÕâÀï¸øÎÒ·¢ÏûÏ¢£¬Ð»Ð»

¾«²ÊÍƼö
ÈÈÃŵã»÷
±¾ÀàÅÅÐÐ

×÷Òµ×ÊÁÏ×ÛºÏÐÅÏ¢·¢²¼ÍøÕ¾
ÁªÏµQQ:3064302332 ÓÅѧÍøΪÄú·þÎñ£¡µã»÷ÕâÀï¸øÎÒ·¢ÏûÏ¢£¬Ð»Ð»
ÓÅѧÍø³É¿¼×÷Òµ´ð°¸ÍøΪÄú·þÎñ£¡
QQ£º3064302332

ÓÅѧÍø100·Ö×÷Òµ´ð°¸
΢ÐÅ£ºwxxygzs
ÁªÏµ£ºQQ£º3064302332 youxue100f.comÍøΪÄú·þÎñ£¡µã»÷ÕâÀï¸øÎÒ·¢ÏûÏ¢£¬Ð»Ð»
×÷Òµ×ÊÁϸ¨µ¼Æ½Ì¨_ÓÅѧÍøµáICP±¸2021005493ºÅ ³É¿¼×÷Òµ´ð°¸ÁªÏµÓÅѧÍøÍøÕ¾µØͼ
Copyright ©2002-2018 °ÂÅô×÷Òµ´ð°¸_ÓÅѧÍø_רҵµÄ°ÂÅôÔÚÏßÀëÏß×÷Òµ´ð°¸¸¨µ¼Íø Îľü¿Æ¼¼ °æȨËùÓÐ Power by DedeCms