ÄÏ¿ª24ÇïѧÆÚ£¨¸ßÆð±¾£º1809-2103¡¢×¨Éý±¾¸ßÆðר£º2103£©¡¶ÍøÂçÅÀ³æÓëÐÅÏ¢ÌáÈ¡¡·ÔÚÏß×÷Òµ(±ê×¼´ð°¸)
ÊÔ¾í×Ü·Ö:100 µÃ·Ö:100
Ò»¡¢µ¥Ñ¡Ìâ (¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
1.ÒÔϱíʾÇëÇóÕý³£´¦ÀíµÄHTTP״̬ÂëΪ
A.200
B.301
C.404
D.500
2.ÇëÎÊ°´Äĸö¼ü¿ÉÒÔ´ò¿ªChrome×Ô´øµÄ¿ª·¢Õß¹¤¾ß£¨ * £©
A.F10
B.F1
C.F11
D.F12
3.PythonÖÐÏ̳߳Ømap£¨ * £©·½·¨µÚ¶þ¸ö²ÎÊýÊÇ£¨ * £©
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
4.HTTP³£ÓÃ״̬Âë±íÃ÷·þÎñÆ÷ÉÏûÓÐÇëÇóµÄ×ÊÔ´µÄÊÇ£¨ * £©
A.500
B.503
C.403
D.404
5.ÍøÕ¾¸ùĿ¼ÖÐÄĸöÎļþÀïÃæµÄÄÚÈÝ»á¸æËßÅÀ³æÄÄЩÊý¾ÝÊÇ¿ÉÒÔÅÀÈ¡µÄ,ÄÄЩÊý¾ÝÊDz»¿ÉÒÔÅÀÈ¡µÄ£¨ * £©¡£
A.robot.txt
B.robot.html
C.robots.txt
D.robots.html
6.PyMongoÖÐÂß¼²éѯ±íʾ´óÓÚµÈÓڵķûºÅÊÇ£¨ * £©
A.$gt
B.$lt
C.$gte
D.$lte
7.RedisÖÐÍù¼¯ºÏÖÐÌí¼ÓÊý¾Ý,ʹÓùؼü×Ö£¨ * £©
A.sadd
B.add
C.append
D.sappend
8.RedisÊÇÒ»¸ö¿ªÔ´µÄʹÓ㨠* £©ÓïÑÔ±àд
A.ANSI C
B.C++
C.JAVA
D.Python
9.ÏÂÁÐ˵·¨´íÎóµÄÊÇ£¨ * £©
A.CharlesÖ»ÄܽػñHTTPºÍHTTPSµÄÊý¾Ý°ü£¬Èç¹ûÍøվʹÓõÄÊÇwebsocket»òÕßÊÇflashsocket£¬ÄÇôCharles¾ÍÎÞÄÜΪÁ¦¡£
B.ÓÐһЩApp»á×Ô´øÖ¤Ê飬ʹÓÃÆäËûÖ¤Ê鶼ÎÞ·¨Õý³£·ÃÎʺǫ́½Ó¿Ú¡£ÔÚÕâÖÖÇé¿öÏ£¬Charles×Ô´øµÄÖ¤Êé¾Í²»ÄÜÕý³£Ê¹Óã¬Ò²¾ÍûÓа취ץȡÕâÖÖAppµÄÊý¾Ý
C.ÓÐһЩAppµÄÊý¾Ý¾¹ý¼ÓÃÜ£¬App½ÓÊÕµ½Êý¾ÝÒÔºóÔÚÆäÄÚ²¿½øÐнâÃÜ¡£CharlesÎÞ·¨»ñÈ¡ÕâÖÖAppµÄÊý¾Ý
D.¶ÔÓÚÉÏÊöÇé¿ö£¬CharlesÄÜץȡµ½¾¹ý¼ÓÃܵÄÊý¾Ý¡£µ«ÊÇÈç¹ûÎÞ·¨ÖªµÀÊý¾ÝµÄ¾ßÌå¼ÓÃÜ·½·¨£¬¾ÍûÓа취½â¶ÁCharlesץȡµ½µÄÊý¾Ý¡£
10.Scrapy_redisÊÇScrapyµÄ“£¨ * £©”,ËüÒѾ·â×°ÁËʹÓÃScrapy²Ù×÷RedisµÄ¸÷¸ö·½·¨
A.×é¼þ
B.Ä£¿é
C.¿Ø¼þ
D.µ¥Ôª
11.PythonÔÚWindows·¾¶×Ö·û´®×óÒýºÅµÄ×ó±ß¼Ó£¨ * £©·ûºÅÀ´±ÜÃⷴб¸ÜÎÊÌâ
A.s
B.c
C.d
D.r
12.ÒªÏëÈÃScrapy½áºÏRedis,Ó¦¸Ã¶ÔScrapyÅÀ³æÇëÇóµÄµ÷¶ÈËã·¨½øÐÐÐÞ¸Ä,ÒÔÏÂÄÄÖÖÐ޸IJ»ÄÜÍê³ÉÕâÒ»ÈÎÎñ?£¨ * £©
A.¶ÓÁÐ
B.Õ»
C.ÉÏËø
D.ÓÅÏȼ¶¶ÓÁÐ
13.PythonÖÐÈô¶¨Òåobject=[1, 2, 3, 4, 5],Ôòprint(object[-4])Êä³ö£¨ * £©
A.NULL
B.2
C.4
D.³ÌÐò±¨´í
14.Èç¹ûʹÓÃPythonµÄÊý¾Ý½á¹¹À´×öÀà±ÈµÄ»°,MongoDBÖÐÎĵµÏ൱ÓÚÒ»¸ö£¨ * £©
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
15.PythonдCSVÎļþÐèÒªÄĸö·½·¨£¨ * £©
A.CSVWriter
B.CsvWriter
C.DictWriter
D.FileWriter
16.ä¯ÀÀÆ÷ÓÃÀ´¼Ç¼Óû§×´Ì¬ÐÅÏ¢µÄÊý¾Ý½Ð
A.session
B.cookies
C.moonpies
D.selenium
17.ÔÚScrapyµÄĿ¼ÏÂ,ÄĸöÎļþ¸ºÔð´æ·ÅÅÀ³æÎļþ?£¨ * £©
A.spidersÎļþ¼Ð
B.item.py
C.pipeline.py
D.settings.py
18.lxml¿âÖÐetreeÄ£¿éµÄ£¨ * £©·½·¨°ÑSelector¶ÔÏóת»»ÎªbytesÐ͵ÄÔ´´úÂëÊý¾Ý
A.etree.tostring
B.etree.convertBytes
C.etree.toBytes
D.etree.convertstring
19.HTTP³£ÓÃ״̬Âë±íÃ÷·þÎñÆ÷ÄÚ²¿×ÊÔ´³ö¹ÊÕÏÁ˵ÄÊÇ£¨ * £©
A.500
B.503
C.403
D.404
20.Ò»°ãÀ´ËµÔÚÒ³Ãæ´«ÊäµÇ¼ÐÅÏ¢¶¼ÓÃHTTP£¨ * £©ÇëÇóÀàÐÍ
A.GET
B.POST
C.PUT
D.SEND
¶þ¡¢¶àÑ¡Ìâ (¹² 10 µÀÊÔÌâ,¹² 20 ·Ö)
21.ÏÂÁйØÓÚÔÚIOSÉÏÅäÖÃcharlesµÄ˵·¨ÕýÈ·µÄÊÇ£¨ * £©
A.²»Í¬iosÉ豸֮¼ä»áÓбȽϴóµÄ²î±ð£¬ËùÒÔÅäÖõÄʱºòÐèÒªÕÒµ½¶ÔÓ¦µÄ°²×°Ö¤ÊéµÄÈë¿Ú¡£
B.ÊÖ»úºÍµçÄÔÐèÒªÔÚͬһ¸ö¾ÖÓòÍøÏ¡£
C.HTTP´úÀí¿ÉÒÔʹÓÓ×Ô¶¯”Ñ¡Ïî¡£
D.°²×°ºÃÖ¤ÊéÒԺ󣬴ò¿ªiOSÉ豸ÉϵÄÈκÎÒ»¸öApp£¬¿ÉÒÔ¿´µ½CharlesÖÐÓÐÊý¾Ý°üÔÚÁ÷¶¯
22.MongoDBÖлñÈ¡Ãû×ÖΪset1µÄ¼¯ºÏµÄÓï¾äΪ£¨ * £©
A.database.set1
B.database('set1')
C.database['set1']
D.database{'set1'}
23.×î³£¼ûµÄHTTPÇëÇóÀàÐÍÓУ¨ * £©
A.GET
B.POST
C.SEND
D.RECEIVE
24.ÒÔÏÂHTTP״̬Âë±íʾ·þÎñÆ÷ûÓÐÕý³£·µ»Ø½á¹ûµÄÊÇ
A.200
B.301
C.404
D.500
25.MongoDBÖлñÈ¡Ãû×ÖΪdbµÄ¿âµÄÓï¾äΪ£¨ * £©
A.client.db
B.client('db')
C.client['db']
D.client{'db'}
26.×Ô¶¯Ìî³äÑéÖ¤ÂëµÄ·½Ê½ÓÐ
A.ÊÖ¶¯Ê¶±ðÌîд
B.ͼÏñʶ±ð
C.´òÂëÍøÕ¾
D.ä¯ÀÀÆ÷×Ô¶¯Ê¶±ð
27.PythonÖУ¨ * £©ÓëÔª×éÓÉÀàËƵÄÊý¾Ý¶ÁÈ¡·½Ê½
A.×Ö·û´®
B.Áбí
C.×Öµä
D.¼¯ºÏ
28.HTTP³£ÓÃ״̬Âë±íÃ÷ÇëÇó±»Õý³£´¦ÀíµÄÓУ¨ * £©
A.200
B.301
C.302
D.204
29.PythonÖУ¨ * £©ÈÝÆ÷ÓÐÍƵ¼Ê½
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
30.ÏÂÁÐ˵·¨´íÎóµÄÊÇ£¨ * £©
A.mitmproxyµÄÇ¿´óÖ®´¦ÔÚÓÚËü»¹×Ô´øÒ»¸ömitmdumpÃüÁî¡£Õâ¸öÃüÁî¿ÉÒÔÓÃÀ´ÔËÐзûºÏÒ»¶¨¹æÔòµÄPython½Å±¾£¬²¢ÔÚPython½Å±¾ÀïÃæÖ±½Ó²Ù×÷HTTPºÍHTTPSµÄÇëÇó£¬ÒÔ¼°·µ»ØµÄÊý¾Ý°ü¡£
B.ÃüÁîÐÐÖÐÖ´ÐÐmitmdump -s parse_request.py¼´¿ÉÔËÐÐpython ½Å±¾
C.ʹÓÃpython¿ÉÒÔ×Ô¶¨Òå·µ»ØµÄÊý¾Ý°ü£¬Èç response.headers£¬¾ÍÊÇ·µ»ØµÄÍ·²¿ÐÅÏ¢
D.Èç¹û·µ»ØµÄÊÇJSONÀàÐ͵Ä×Ö·û´®£¬pythonÎÞ·¨½øÐнâÎö¡£
Èý¡¢ÅжÏÌâ (¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
31.HTTP״̬ÂëÖÐ303״̬ÂëÃ÷È·±íʾ¿Í»§¶ËÓ¦µ±²ÉÓÃPOST·½·¨»ñÈ¡×ÊÔ´
32.¶ÔCharlesÉèÖôúÀíʱ,Ip¿ÉÒÔÉèÖÃΪ127.0.0.1,¶Ë¿ÚΪ8888.
33.CharlesºÍChrome¿ª·¢Õß¹¤¾ßÏà±È,Ö»ÊǶàÁËÒ»¸öËÑË÷¹¦ÄÜ¡£
34.Òì²½¼ÓÔصÄÄÚÈÝÒ»°ãÔÚÍøÒ³¿ò¼Ü¼ÓÔØÍê³É֮ǰ
35.Èç¹ûͨ¹ýÅÀ³æץȡij¹«Ë¾ÍøÕ¾µÄ¹«¿ªÊý¾Ý,·ÖÎöÒÔºó·¢ÏÖÕâ¸ö¹«Ë¾Òµ¼¨·Ç³£ºÃ¡£ÓÚÊǽ«Êý¾Ý»òÕß·ÖÎö½á¹û³öÊÛ¸øij»ù½ð¹«Ë¾,´Ó¶ø»ñµÃÏúÊÛÊÕÈë¡£ÕâÊǺϷ¨µÄ¡£
36.scrapyÓëselenium½áºÏ¿ÉÒÔʵÏÖÖ±½Ó´¦ÀíÐèÒªÒì²½¼ÓÔصÄÒ³Ãæ
37.Scrapyd¿ÉÒÔͬʱ¹ÜÀí¶à¸öScrapy¹¤³ÌÀïÃæµÄ¶à¸öÅÀ³æµÄ¶à¸ö°æ±¾
38.Èç¹ûͨ¹ýÅÀ³æץȡij¹«Ë¾ÍøÕ¾µÄ¹«¿ªÊý¾Ý,·ÖÎöÒÔºó·¢ÏÖÕâ¸ö¹«Ë¾Òµ¼¨·Ç³£ºÃ,ÓÚÊÇÂòÈë¸Ã¹«Ë¾¹ÉƱ²¢×¬ÁËÒ»±ÊÇ®¡£ÕâÊǺϷ¨µÄ¡£
39.ÔÚĬÈÏÇé¿öÏÂ,Scrapyd¿ÉÒÔ´ÓÍâÍø·ÃÎÊ
40.RedisÖÐÁбí¶ÁÈ¡Êý¾ÝÃüÁîlrangeÖÐl´ú±íleft,¼´´Ó×ó²à¿ªÊ¼¶ÁÈ¡
41.CharlesÊÇÒ»¸öÊÕ·ÑÈí¼þ,Èç¹ûûÓÐ×¢²á,°²×°ÒÔºóµÄÇ°30Ìì¿ÉÒÔÕý³£Ê¹Óá£30ÌìÒÔºó,ËäÈ»¹¦Äܲ»»áËõË®,µ«Ã¿¹ý30·ÖÖÓCharles»á×Ô¶¯¹Ø±ÕÒ»´Î
42.ҪʵÏÖCharles¶ÔAndroid×¥°ü,Æä¹ý³Ì±ÈiOSÉÔ΢¸´ÔÓÒ»µã¡£ÕâÊÇÒòΪ²»Í¬µÄAndoridÉ豸,°²×°Ö¤ÊéµÄÈë¿Ú¿ÉÄܲ»Ò»Ñù
43.ÐèÒªµÇ¼µÄÍøÕ¾Ò»°ãͨ¹ýGETÇëÇó¾Í¿ÉÒÔʵÏֵǼ¡£
44.ÔËÐÐMongoDBÒÔºó,²»»áÔÚÖն˴òÓ¡ÈκÎLog
45.ÔÚWindowsÖÐÏÂÈôÒªÔËÐÐRedis¿ÉÒÔÔËÐÐredis-server /usr/local/etc/redis.conf
46.PythonÖк¯Êý·µ»ØÖµµÄ¸öÊý¿ÉÒÔÊǶà¸ö
47.ÅÀ³æµÄÔ´´úÂëͨ¹ý¹«¿ª²»»á¶Ô±»ÅÀ³æÍøÕ¾Ôì³ÉÓ°Ïì
48.ΪÁ˱£Ö¤Êý¾Ý²åÈëЧÂÊ,ÔÚÄÚ´æÔÊÐíµÄÇé¿öÏÂ,Ó¦¸ÃÒ»´ÎÐÔ°ÑÊý¾Ý¶ÁÈëÄÚ´æ,¾¡Á¿¼õÉÙ¶ÔMongoDBµÄ¶ÁÈ¡²Ù×÷¡£
49.´òÂëƽ̨¶¼ÊÇ¿¿»úÆ÷ʹÓÃOCR¼¼Êõʶ±ðͼƬÉϵÄÎÄ×Ö¡£
50.΢ÐÅС³ÌÐòµÄ·´ÅÀ³æÄÜÁ¦Òª±ÈÍøÒ³µÄ¸ßºÜ¶à¡£