×÷Òµ ¿¼ºË ÂÛÎÄ ´ð°¸ÁªÏµ QQ£º3064302332 ΢ÐÅ£ºwxxygzs
ÄÏ¿ª23ÇïѧÆÚ£¨½öÏÞ-¸ßÆðר1909¡¢×¨Éý±¾1909£©¡¶ÍøÂçÅÀ³æÓëÐÅÏ¢ÌáÈ¡¡·ÔÚÏß×÷Òµ[±ê×¼´ð°¸]
ÊÔ¾í×Ü·Ö:100 µÃ·Ö:100
Ò»¡¢µ¥Ñ¡Ìâ (¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
1.µ±ÐèÒª°ÑPythonÀïÃæµÄÊý¾Ý·¢Ë͸øÍøҳʱ,Ó¦ÏȽ«Æäת»»³É()
A.Json×Ö·û´®
B.GET
C.POST
D.Request
2.ScrapyÖÐʹÓÃXpath»ñµÃµÄ½á¹ûµ÷ÓÃÁË.extract·½·¨,½á¹ûÒÔ()ÐÎʽÉú³É
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
3.PythonÖÐObject={'obj_1':'1','obj_2':'2'},ÔòObjcetÊÇ()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
4.µ±ÐèÒª°ÑPythonÀïÃæµÄÊý¾Ý·¢Ë͸øÍøҳʱ,ÐèÒªÏÈת»»³É()×Ö·û´®
A.Python
B.Json
C.ÕýÔò±í´ïʽ
D.Ajax
5.PythonÕýÔò±í´ïʽģ¿éµÄfindall·½·¨ÌáÈ¡ÄÚÈÝ°üº¬¶à¸ö,Ôò·µ»Ø½á¹ûµÄÁбíÖлá°üº¬()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
6.HTTP³£ÓÃ״̬Âë±íÃ÷·þÎñÆ÷²»ÔÊÐí·ÃÎÊÄǸö×ÊÔ´µÄÊÇ()
A.500
B.503
C.403
D.405
7.PythonÖÐÍ˳öÑ»·Ó¦Óùؼü×Ö()
A.break
B.continue
C.exit
D.return
8.ʹÓÃpython¶¨ÖÆmitmproxy,ÏÂÃæµÄÓï¾äÇëÇóµÄÊÇ()¡£{req.headers["User-Agent"]}
A.headers
B.Îı¾ÄÚÈÝ
C.Ä¿±êÍøÕ¾
D.user-agent
9.requestsÖÐpostÇëÇó·½·¨µÄʹÓÃΪrequests.post('ÍøÖ·', data=data)ÖеÄdataΪ()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
10.ÔÚScrapyµÄĿ¼ÏÂ,ÄĸöÎļþ¸ºÔð´æ·ÅÅÀ³æµÄ¸÷ÖÖÅäÖÃÐÅÏ¢?()
A.spidersÎļþ¼Ð
B.item.py
C.pipeline.py
D.settings.py
11.ͨ³£Ê¹ÓÃ()¹¤¾ßÀ´Ä£Äâä¯ÀÀÆ÷½øÐÐÅÀ³æÇëÇó
A.Selenium
B.Chrome
C.ChromeDriver
D.WebDriver
12.µ±ÅÀ³æÔËÐе½yield scrapy.Request()»òÕßyield itemµÄʱºò,ÏÂÁÐÄĸöÅÀ³æÖмä¼þµÄ·½·¨±»µ÷ÓÃ?
A.process_spider_output()
B.process_spider_exception()
C.process_spider_input()
D.process_start_ requests()
13.ÏÂÃæ´úÂëÒ»¹²Ö´ÐÐÑ»·¶àÉÙ´Î(): i=0 while i<10: i+=1
A.9
B.10
C.11#0
14.ʹÓÃUI Automator»ñ¹ö¶¯ÆÁÄ»µÄ²Ù×÷Êǵõ½ÏàÓ¦¿Ø¼þºóʹÓÃÃüÁî()
A.scroll
B.scroll_up
C.scroll_forword
D.scroll_back
15.ijЩÍøÕ¾ÔÚ·¢ÆðAjaxÇëÇóʱ»áЯ´ø()×Ö·û´®ÓÃÓÚÉí·ÝÑéÖ¤
A.Token
B.Cookie
C.ReqTime
D.sum
16.PythonÖÐÒÔÏÂÄĸöÈÝÆ÷ÀïµÄÔªËز»ÄÜÖظ´()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
17.Python²Ù×÷CSVÎļþ¿Éͨ¹ý()ÈÝÆ÷µÄ·½Ê½²Ù×÷µ¥Ôª¸ñ
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
18.ÒÔÏÂÄĸöÃüÁîÊÇÀûÓÃURLÓï·¨ÔÚÃüÁîÐÐϹ¤×÷µÄÎļþ´«Ê乤¾ß()
A.curl
B.tar -zxvf
C.mkdir
D.cp
19.PythonÖÐÈô¶¨Òåobject="12345",Ôòprint(object[::-1])Êä³ö()
A.1
B.5
C.54321
D.³ÌÐò±¨´í
20.ÔÚMac OSÏ°²×°MongoDBʹÓÃÃüÁî() install mongodb
A.brew
B.apt-get
C.sudo
D.apt
¶þ¡¢¶àÑ¡Ìâ (¹² 10 µÀÊÔÌâ,¹² 20 ·Ö)
21.ÍøÂçÅÀ³æµÄÓÃ;ÓÐ()
A.ÊÕ¼¯Êý¾Ý
B.¾¡Ö°µ÷²é
C.Ìá¸ßÁ÷Á¿
D.¹¥»÷·þÎñÆ÷
22.ÒÔÏÂHTTP״̬Âë±íʾ·þÎñÆ÷ûÓÐÕý³£·µ»Ø½á¹ûµÄÊÇ
A.200
B.301
C.404
D.500
23.requestsÖÐpostÇëÇó·½·¨µÄµÚ¶þ¸ö²ÎÊý¿ÉÒÔΪ()
A.×Öµä
B.Áбí
C.jsonÊý¾Ý
D.×Ö·û´®
24.HTTP³£ÓÃ״̬Âë±íÃ÷±íÃ÷·þÎñÆ÷±¾Éí·¢Éú´íÎóµÄÓÐ()
A.403
B.404
C.500
D.503
25.MongoDBÖлñÈ¡Ãû×ÖΪdbµÄ¿âµÄÓï¾äΪ()
A.client.db
B.client('db')
C.client['db']
D.client{'db'}
26.ʹÓÃBeautifulSoup¶ÔÏóºó¿ÉÒÔʹÓÃ()À´²éÕÒÄÚÈÝ
A.find_all
B.find
C.search
D.search_all
27.PythonÖеÄÈÝÆ÷ÓÐ()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
28.PyMongoɾ³ý²Ù×÷ÓÐ()
A.delete
B.delete_all
C.delete_one
D.delete_many
29.PyMongo¸üвÙ×÷ÓÐ()
A.update
B.update_all
C.update_one
D.update_many
30.RedisÖеÄÖµ¿ÉÒÔÖ§³Ö()
A.Áбí
B.¹þÏ£
C.¼¯ºÏ
D.ÓÐÐò¼¯ºÏ
Èý¡¢ÅжÏÌâ (¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
31.ʹÓÃUI Automatorr²Ù×÷ʵÌå¼üµÄÃüÁîΪdevice.press.ʵÌå°´¼üÃû³Æ()
32.µ±Charles×¥°üÒÔºó,ÔÚMac OSϵͳÏ¿ÉÒÔ°´Command+F×éºÏ¼ü,ÔÚWindowsϵͳÏ°´Ctrl+F×éºÏ¼ü´ò¿ªCharles½øÐÐËÑË÷
33.XPathÌáÈ¡³öÀ´µÄÄÚÈÝÊÇÒ»¸öSelectorList¶ÔÏó,ËüµÄµÚ0¸öÔªËؾÍÊÇÍøÒ³µÄÔ´´úÂë¡£
34.PythonÖÐдCSVÎļþµÄwriterow·½·¨²ÎÊýΪ°üº¬×ÖµäµÄÁбíÀàÐÍ
35.PythonÖÐÏà±ÈÓÚfindall·½·¨,search·½·¨¶ÔÓÚ´Ó³¬¼¶´óµÄÎı¾ÀïÃæÖ»ÕÒµÚ1¸öÊý¾ÝÌرðÓÐÓÃ,¿ÉÒÔ´ó´óÌá¸ß³ÌÐòµÄÔËÐÐЧÂÊ¡£
36.process_spider_output(response, result, output)ÊÇÔÚÏÂÔØÆ÷Öмä¼þ´¦ÀíÍê³Éºó,ÂíÉÏÒª½øÈëij¸ö»Øµ÷º¯Êýparse_xxx()Ç°µ÷ÓÃ
37.RedisÖÐдÊý¾ÝÃüÁîlpushÖÐl´ú±ílist
38.ΪÁ˱£Ö¤Êý¾Ý²åÈëЧÂÊ,ÔÚÄÚ´æÔÊÐíµÄÇé¿öÏÂ,Ó¦¸ÃÒ»´ÎÐÔ°ÑÊý¾Ý¶ÁÈëÄÚ´æ,¾¡Á¿¼õÉÙ¶ÔMongoDBµÄ¶ÁÈ¡²Ù×÷¡£
39.HTTP״̬Âë503±íʾ·þÎñÆ÷ÄÚ²¿¹ÊÕÏ¡£
40.Robo 3TÓëRoboMongoÊÇÍêÈ«²»Ò»ÑùµÄÈí¼þ
41.ʹÓÃAJAX¼¼Êõ,¿ÉÒÔÔÚ²»Ë¢ÐÂÍøÒ³µÄÇé¿öϸüÐÂÍøÒ³Êý¾Ý
42.PythonÖÐÌõ¼þÓï¾äÔÚʹÓÃandÁ¬½ÓµÄ¶à¸ö±í´ïʽÖÐ,Ö»ÒªÓÐÒ»¸ö±í´ïʽ²»ÎªÕæ,ÄÇôºóÃæµÄ±í´ïʽ¾Í²»»áÖ´ÐС£
43.UI Automator ViewerÓëPython uiautomator¿ÉÒÔͬʱʹÓÃ
44.ÔÚĬÈÏÇé¿öÏÂ,Scrapyd¿ÉÒÔ´ÓÍâÍø·ÃÎÊ
45.ÐèҪʵÃûÈÏÖ¤µÄ´òÂëÍøÕ¾¸ü¼Ó°²È«¿É¿¿¡£
46.requestsÖÐpostÇëÇó·½·¨µÄʹÓÃΪrequests.post('ÍøÖ·', data=data)
47.HTTP״̬ÂëÖÐ303״̬ÂëÃ÷È·±íʾ¿Í»§¶ËÓ¦µ±²ÉÓÃPOST·½·¨»ñÈ¡×ÊÔ´
48.×Ô¼ºÄܲ鿴µÄÊý¾Ý,ÔÊÐíÉÃ×ÔÄøøµÚÈý·½²é¿´
49.chrome¿ª·¢Õß¹¤¾ßû·¨¶ÔÊý¾Ý½øÐÐËÑË÷¡£Èç¹ûÏëÖªµÀÒ»¸öÌض¨µÄÒì²½¼ÓÔØÄÚÈÝÀ´×ÔÄĸöÇëÇó,±ØÐëÔÚ“Network”Ñ¡ÏÀïÃæÒ»¸öÇëÇóÒ»¸öÇëÇóµØ½øÐв鿴.
50.ÔÚÇëÇóÍ·ÖÐÉèÖÃUser-Agent¼´¿ÉÕý³£ÇëÇóÍøÕ¾