示例程序如下: import urllib.request response=urllib.request.urlopen ('http://python.org') print(response.getcode()) 若上述示例程序正常运行成功,则程序输出的结果为( )。
A. 200
B. 304
C. 403
D. 500
查看答案
下列方法中,用于对传递的URL进行编码和解码的是( )。
A. urldecode, urlencode
B. unquote, urlencode c. urlencode, urldecode
C. urlencode, unquote
Which word has the closest meaning to the italic word “assumed” in the last paragraph()?
A. adjusted
B. adapted
C. dreamed
D. supposed
Questions 19 to 24 are based on the following passage.【1】Our world now moves so fast that we seldom stop to see just how far we have come in just a few years. The latest iPhone6s, for example, has a dual-core processor and fits nicely into your pocket. By comparison, you would expect to find a technological specification like this on your standard laptop in an office anywhere in the world.【2】It’s no wonder that new applications for the Internet of Things are moving ahead fast when almost every new device we buy has a plug on the end of it or a wireless connection to internet. Soon, our current smartphone lifestyle will expand to create our own smart home lifestyle too.【3】All researches agree that close to 25 billion devices, things and sensors will be connected by 2020 which incidentally is also the moment that Millennials(千禧一代)are expected to make up 75 percent of our overall workforce, and the fully connected home become a reality for large numbers of people worldwide.【4】However, this is just the tip of the proverbial iceberg as smart buildings and even cities increasingly become the norm as leaders and business owners begin to wake up to the massive savings that technology can deliver through connected sensors and new forms of automation coupled with intelligent energy and facilities management.【5】Online security cameras, intelligent lighting and a wealth of sensors that control both temperature and air quality are offering an unprecedented level of control, efficiency, and improvements to what were once classed necessary costs when running a business or managing a large building.【6】We can expect that the ever-growing list of devices, systems and environments remain connected, always online and talking to each other. The big benefit will not only be in the housing of this enormous and rapidly growing amount of data, but will also be in the ability to run real time data analytics to extract actionable and ongoing knowledge.【7】The biggest and most exciting challenge of this technology is how to creatively leverage this ever-growing amount of data to deliver cost savings, improvements and tangible benefits to both businesses and citizens of these smart cities.【8】The good news is that most of this technology is already invented. Let's face it, it wasn't too long ago that the idea of working from anywhere and at anytime was some form of a distant utopian (乌托邦式的) dream, and yet now we can perform almost any office-based task from any location in the world as long as we have access to the internet.【9】It's time to wake up to the fact that making smart buildings, cities and homes will dramatically improve our quality of life in the years ahead.19. In the first paragraph, the author mentioned iPhone 6s in order to ________().
A. show the power of the phone
B. imply that the phone will be replaced by another brand
C. illustrate how fast the technology is progressing
D. emphasize the popularity of the phone
Questions 7 to 12 are based on the following passage.【1】Last autumn, I happened to overhear a student telling the others he had decided not to sign up for an introductory philosophy course. The demands of his major, he said seriously, meant he needed to take “practical” courses, and “enlightenment” would simply have to wait. For now, employability was the most important.【2】The students’ conversation fits into a larger alarming narrative about the role of the humanities in higher education. In a time of dizzying technological achievement and of rapid scientific innovation, sceptics of the humanities may question the usefulness of studying Aristotle, the Italian Renaissance or Chinese fiction.【3】Actually, I regret not interrupting that student to argue for taking that introductory philosophy course. I would have started by reminding him that, for much of America’s history, college graduates were not considered truly educated unless they had mastered philosophy, literature, political theory and history. The key role of higher education was to invite students into the conversations about matters like what it means to be alive and the definition of justice. Fostering engagement with these subjects is still an essential part of the university’s function in society.【4】I would have also mentioned to the student that he was misinformed about the job market. It is true that many employers are looking for graduates with specialized technical skills, but they also look for other capabilities. As the world is transformed by artificial intelligence, machine learning and automation, the unique human qualities of creativity, imagination and moral reasoning will be (). All these skills are developed in humanities courses.【5】Further, I would have argued that while a degree anchored in the sciences is an important precondition for many jobs, it is not the only route. Look no further than the founders of companies such as LinkedIn, Slack and Flickr, who are among the many tech businesspersons with degrees in the humanities, and who credit that training for their success.【6】Contrary to the widely held belief that humanities majors have a hard time getting jobs, recent studies show that those with humanities degrees are successful in the workplace, experiencing low rates of unemployment and reporting high levels of job satisfaction. The ratio between average median(中位数) incomes for humanities degree holders and those with business, engineering, and health and medical sciences degrees has been shown to narrow over the course of a career.【7】The case for the humanities can also be understood as a foundational preparation for a life well lived. A humanities education plays a vital role in encouraging citizens to lead an examined life. It fosters critical thinking, self-reflection, empathy and tolerance, the usefulness of which only becomes more apparent as one navigates life’s challenges. 【8】By all means, students should take courses they think practical and follow their interests, but if they also make a point of studying the literature of the Renaissance, or researching into modern poetry, or even taking introductory philosophy, we will all benefit.7. The students’ conversation imply that ____.
A. Students feel employment difficult.
B. Students satisfy all of the university courses.
C. Students find scientific innovation interesting.
D. Students think philosophy less important.