刷题
导入试题
【判断题】
假设re模块已成功导入,并且有 pattern = re.compile(‘^’+’.’.join([r’\d{1,3}’ for i in range(4)])+’$’),那么表达式 pattern.match(‘192.168.1.103’) 的值为None。
A. 对
B. 错
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
B
解析
暂无解析
相关试题
【判断题】
假设random模块已导入,那么表达式 random.sample(range(10), 20) 的作用是生成20个不重复的整数。
A. 对
B. 错
【判断题】
假设random模块已导入,那么表达式 random.sample(range(10), 7) 的作用是生成7个不重复的整数。
A. 对
B. 错
【判断题】
在Python 3.x中reduce()是内置函数。
A. 对
B. 错
【判断题】
以读模式打开文件时,文件指针指向文件开始处。
A. 对
B. 错
【判断题】
以追加模式打开文件时,文件指针指向文件尾。
A. 对
B. 错
【判断题】
已知x = (1, 2, 3, 4),那么执行x[0] = 5之后,x的值为(5, 2, 3, 4)。
A. 对
B. 错
【判断题】
已知x = 3,那么执行x += 6语句前后x的内存地址是不变的。
A. 对
B. 错
【判断题】
成员测试运算符in作用于集合时比作用于列表快得多。
A. 对
B. 错
【判断题】
在Python 3.x中,使用内置函数input()接收用户输入时,不论用户输入的什么格式,一律按字符串进行返回。
A. 对
B. 错
【判断题】
安装Python扩展库时只能使用pip工具在线安装,如果安装不成功就没有别的办法了。
A. 对
B. 错
【判断题】
使用random模块的函数randint(1, 100)获取随机数时,有可能会得到100。
A. 对
B. 错
【判断题】
如果只需要math模块中的sin()函数,建议使用from math import sin来导入,而不要使用import math导入整个模块。
A. 对
B. 错
【判断题】
已知列表x = [1, 2, 3, 4],那么表达式x.find(5)的值应为-1。
A. 对
B. 错
【判断题】
列表对象的排序方法sort()只能按元素从小到大排列,不支持别的排序方式。
A. 对
B. 错
【判断题】
g = lambda x: 3不是一个合法的赋值表达式。
A. 对
B. 错
【判断题】
内置函数len()返回指定序列的元素个数,适用于列表、元组、字符串、字典、集合以及range、zip等迭代对象。
A. 对
B. 错
【判断题】
已知x和y是两个等长的整数列表,那么表达式sum((i*j for i, j in zip(x, y)))的作用是计算这两个列表所表示的向量的内积。
A. 对
B. 错
【判断题】
已知x和y是两个等长的整数列表,那么表达式[i+j for i,j in zip(x,y)]的作用时计算这两个列表所表示的向量的和。
A. 对
B. 错
【判断题】
表达式int(‘1’*64, 2)与sum(2**i for i in range(64))的计算结果是一样的,但是前者更快一些。
A. 对
B. 错
【判断题】
已知x = list(range(20)),那么语句del x[::2]可以正常执行。
A. 对
B. 错
【判断题】
已知x = list(range(20)),那么语句x[::2] = []可以正常执行。
A. 对
B. 错
【判断题】
已知x = list(range(20)),那么语句print(x[100:200])无法正常执行。
A. 对
B. 错
【判断题】
已知x是个列表对象,那么执行语句y = x之后,对y所做的任何操作都会同样作用到x上。
A. 对
B. 错
【判断题】
已知x是个列表对象,那么执行语句y = x[:]之后,对y所做的任何操作都会同样作用到x上。
A. 对
B. 错
【判断题】
在Python中,变量不直接存储值,而是存储值的引用,也就是值在内存中的地址。
A. 对
B. 错
【判断题】
表达式(i**2 for i in range(100))的结果是个元组。
A. 对
B. 错
【判断题】
在Python中元组的值是不可变的,因此,已知x = ([1], [2]),那么语句x[0].append(3)是无法正常执行的。
A. 对
B. 错
【判断题】
包含yield语句的函数一般成为生成器函数,可以用来创建生成器对象。
A. 对
B. 错
【判断题】
在函数中yield语句的作用和return完全一样。
A. 对
B. 错
【判断题】
Python内置的字典dict中元素是按添加的顺序依次进行存储的。
A. 对
B. 错
【判断题】
Python内置的集合set中元素顺序是按元素的哈希值进行存储的,并不是按先后顺序。
A. 对
B. 错
【判断题】
已知x = {1:1, 2:2},那么语句x[3] =3无法正常执行。
A. 对
B. 错
【判断题】
Python内置字典是无序的,如果需要一个可以记住元素插入顺序的字典,可以使用collections.OrderedDict。
A. 对
B. 错
【判断题】
语句pass仅起到占位符的作用,并不会做任何操作。
A. 对
B. 错
【判断题】
在条件表达式中不允许使用赋值运算符“=”,会提示语法错误。
A. 对
B. 错
【判断题】
任何包含call()方法的类的对象都是可调用的。
A. 对
B. 错
【判断题】
在Python中函数和类都属于可调用对象。
A. 对
B. 错
【判断题】
无法使用lambda表达式定义有名字的函数。
A. 对
B. 错
【判断题】
已知x是一个列表,那么x = x[3:] + x[:3]可以实现把列表x中的所有元素循环左移3位。
A. 对
B. 错
【判断题】
已知x和y是两个字符串,那么表达式sum((1 for i,j in zip(x,y) if i==j))可以用来计算两个字符串中对应位置字符相等的个数。
A. 对
B. 错
推荐试题
【填空题】
boost prospect calculate accelerate promote mystery destruction analysis insight barrier 10 Not until recently have we realized that the increasing world population may lead to a potential gloomy ( ) for humanity starvation.
【填空题】
boost prospect calculate accelerate promote mystery destruction analysis insight barrier 2 It is the development strategy/of the company to ( ) its overseas expansion in order to take a slice of the world market
【填空题】
boost prospect calculate accelerate promote mystery destruction analysis insight barrier 3 Nearly six million people go to see the Mona Lisa every year,attracted by the ( )of her smile.When you're not lodking at her, she seems to be smiling;when you look at her,she stops.
【填空题】
Boost prospect calculate accelerate promote mystery destruction analysis insight barrier 4 To live with a family whose native language is English is the ideal way to further improve one's English and to gain ( )into its culture.
【填空题】
Boost prospect calculate accelerate promote mystery destruction analysis insight barrier 5 There is a real need to ( ) academic achievement in schools and help with the development of a student's overall character.
【填空题】
boost prospect calculate accelerate promote mystery destruction analysis insight barrier 6 Einstein said his scientific discoveries grew from his imagination rather than from( ), reason and language.
【填空题】
commence,deserve,tempting, coordinate, lodge,confess, grant, proceed ,display, consequently 1 When the police caught up with him, Mr.Foster had to [ ] that he'd broken the speed limit.
【填空题】
commence,deserve,tempting, coordinate, lodge,confess, grant, proceed ,display, consequently 2 Whenever my boss makes a decision that I don't agree with, I tell him what I really think, though it's [ ] to make him happy by telling him his ideas are always right
【填空题】
commence,deserve,tempting, coordinate, lodge,confess, grant, proceed ,display, consequently 3 As can be probably perceived, a manned tip to Mars may soon[ ] since scientists have achieved the manned moon mlssion
【填空题】
commence,deserve,tempting, coordinate, lodge,confess, grant, proceed ,display, consequently 4 A number of countries are [ ]their efforts to send out food to the area worst affected by the flood.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about She authorizcd her partner to carry out daily responsibllitles [ ]when she was on her business trip
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about On hering the latest news about your mother's ill health, I [ ]canceling your reservation at the Sheraton.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about There was an obvious indication that the police who have to enforce the new law were not[ ] the general discontent.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about When she heard of her failure in the experiment, her eyes[ ]tears; whether it was of shame, frustration, orgrief was difficult to tell.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about Rose knows that continuous letters fromJohn, together with countless roses are aimedat making her[ ]him.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about [ ]public school for drinking and smoking and then failing inshow business as a singer, she joined her father's business 10 years ago.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about Since the great scandals in banking,many people in the Country have[ ]the prospects of economic recovery within a few years.
【填空题】
immune to , fall in love with , go along with, on one's behalf, be filled with , take the liberty of , expel from , be pessimistic about The parents were quite happy to[ ]our suggestion because had taked their most important concernsinto consideration.
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 1When employees participated in the problem-solving process, they were muchvmore willing to [ ] solutions to the problems.___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 2 A strong police force has been placed between the two [ ]group in the village to prevent fighting and killing.___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 3 Although personally we believe this to be of only secondary importance, its potential role in [ ] innovative acts cannotbe.___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 4Though many things have been changed culturally, there is a commitment and sense of responsibility that have not yet been [ ] in today's society___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 5 Western nations have older and shrinking populations since they entered the 21stcentury and their [ ] birth rates have also posed problems___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 6 She didn't want to marry him and was [ ] against him because he had only a bachelor's degree and didn't meet her expectations for marriage.___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 7 The president is in trouble and will have to work hard to [ ] his credibility after people discovered that he was not telling the truth.___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 8 To study a number of subjects in the humanities has been both enjoyable and [ ]providing me with a new and different perpective on the world in which we live.___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 9 People are concerned about the environment issue because air and water pollution notonly affects everyone's health but also makesit difficult for businesses to [ ].___
【填空题】
enlighten, discard, restore, fluctuate,prejudice , profit , rival, motivate,implement, investigate 10 Instead of ignoring or envying successful students, I made it my mission to [ ]the mysterious causes of their success and greatness.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 1Though he was 80 years old, blind and hardly able to walk, his family [ ]him so much that they could hardly bear the thought of his death.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 2The support our volunteers provide to the community as well as society cannot [ ] purely practical terms, and their continuing contribution is vital.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 3 Please don't forget the Tourist Guide , which should [ ] when you travel to different places in Asia And Europe for the next few weeks.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 4 These people living in this area are still [ ] their traditions which give their life meaning and help them in answering many questions.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 5You will [ ]for not learning Enghsh; yod never know how much you will miss without being able to speak English.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 6 If you [ ] travel and trying to adjust to a new time zone, you may not be ready to face the new challenging environmen yet.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 7 The general manager of the company intends to introduce new management courses, and tighter controls will be [ ] management to raise efficiency.___
【填空题】
be measured in , come in handy , be exhausted from , impose on , attached to, cling to , pay a big price , revolve around 8 Class discussions next week will [ ] the importance of love, communication and a close relationship between parents and their children.___
【单选题】
1:手机银行客户自助签约账户数量___。
A. 3
B. 5
C. 6
D. 不受限
【单选题】
2:手机银行贴膜卡通过什么渠道实现银行业务的操作___
A. 加密短信
B. 网络
C. 以上皆可
【单选题】
3:客户如何开通手机银行贴膜卡业务?___
A. 银行柜面办理
B. 客户网上自行下载办理
C. 以上两种方法都可以
【单选题】
4:手机贴膜卡的初始密码是___。
A. 123456
B. 456789
C. 111111
D. 000000
欢迎使用我爱刷题
×
微信搜索我爱刷题小程序
温馨提示
×
请在电脑上登陆“www.woaishuati.com”使用