相关试题
【判断题】
放在一对三引号之间的任何内容将被认为是注释。
【判断题】
Python支持使用字典的“键”作为下标来访问字典中的值。
【判断题】
尽管可以使用import语句一次导入任意多个标准库或扩展库,但是仍建议每次只导入一个标准库或扩展库。
【判断题】
为了让代码更加紧凑,编写Python程序时应尽量避免加入空格和空行。
【判断题】
在Python 3.5中运算符+不仅可以实现数值的相加、字符串连接,还可以实现列表、元组的合并和集合的并集运算。
【判断题】
已知x为非空列表,那么表达式 sorted(x, reverse=True) == list(reversed(x)) 的值一定是True。
【判断题】
已知x为非空列表,那么x.sort(reverse=True)和x.reverse()的作用是等价的。
【判断题】
生成器推导式比列表推导式具有更高的效率,推荐使用。
【判断题】
Python字典中的“键”不允许重复。
【判断题】
Python字典中的“值”不允许重复。
【判断题】
Python字典中的“键”可以是列表。
【判断题】
Python字典中的“键”可以是元组。
【判断题】
Python列表中所有元素必须为相同类型的数据。
【判断题】
Python列表、元组、字符串都属于有序序列。
【判断题】
在Python 3.x中语句 print(*[1,2,3]) 不能正确执行。
【判断题】
已知A和B是两个集合,并且表达式A < B的值为False,那么表达式A > B的值一定为True。
【判断题】
列表对象的append()方法属于原地操作,用于在列表尾部追加一个元素。
【判断题】
对于列表而言,在尾部追加元素比在中间位置插入元素速度更快一些,尤其是对于包含大量元素的列表。
【判断题】
假设有非空列表x,那么x.append(3)、x = x+[3]与x.insert(0,3)在执行时间上基本没有太大区别。
【判断题】
使用Python列表的方法insert()为列表插入元素时会改变列表中插入位置之后元素的索引。
【判断题】
假设x为列表对象,那么x.pop()和x.pop(-1)的作用是一样的。
【判断题】
使用del命令或者列表对象的remove()方法删除列表中元素时会影响列表中部分元素的索引。
【判断题】
带有else子句的循环如果因为执行了break语句而退出的话,则会执行else子句中的代码。
【判断题】
对于带有else子句的循环语句,如果是因为循环条件表达式不成立而自然结束循环,则执行else子句中的代码。
【判断题】
已知列表 x = [1, 2, 3],那么执行语句 x = 3 之后,变量x的地址不变。
【判断题】
在UTF-8编码中一个汉字需要占用3个字节。
【判断题】
在GBK和CP936编码中一个汉字需要2个字节。
【判断题】
如果仅仅是用于控制循环次数,那么使用for i in range(20)和for i in range(20, 40)的作用是等价的。
【判断题】
使用列表对象的remove()方法可以删除列表中首次出现的指定元素,如果列中不存在要删除的指定元素则抛出异常。
【判断题】
元组是不可变的,不支持列表对象的inset()、remove()等方法,也不支持del命令删除其中的元素,但可以使用del命令删除整个元组对象。
【判断题】
无法删除集合中指定位置的元素,只能删除特定值的元素。
【判断题】
元组的访问速度比列表要快一些,如果定义了一系列常量值,并且主要用途仅仅是对其进行遍历二不需要进行任何修改,建议使用元组而不使用列表。
推荐试题
【单选题】
心神的物质基础是___
A. 血
B. 气
C. 精
D. 津
E. 营气
【单选题】
津液变成汗、尿是气的何种功能___
A. 推动作用
B. 温照作用
C. 防御作用
D. 气化作用
E. 固摄作用
【单选题】
津液输布的主妥通道为___
A. 经络
B. 赎理
C. 尿道
D. 三焦
E. 骨
【单选题】
气的运行受阻,运行不利,称为___
A. 气滞
B. 气结
C. 气闭
D. 气机不畅
E. 气机失调
【单选题】
与人的睡眠有密切关系的气是___
A. 宗气
B. 元气
C. 卫气
D. 营气
E. 牌气
【单选题】
机体内物质转化和能量转化过程有赖于气的___
A. 推动作用
B. 温熙作用
C. 固摄作用
D. 气化作用
E. 防御作用
【单选题】
下列哪一项是人体正常水液的总称___
A. 体液
B. 阴液
C. 津液
D. 津
E. 液
【单选题】
津液化为汗液排出体外,主要依赖于什么作用___
A. 心主血脉
B. 肺主宣发
C. 肾主气化
D. 肝主疏泄
E. 脾主统摄
【单选题】
下列除哪一项外均是血液正常运行所必需的条件___
A. 血液充盈
B. 脉道通畅
C. 肺脾肾功能正着
D. 心气充沛
E. 三焦通利
【单选题】
气能生津的机理是___
A. 气为生津的物质基础
B. 气为生津的动力
C. 气为生津的物质基础和动力
D. 气能化生精气
E. 气能生血,血能化津
【单选题】
血和津液生成的共同物质来源是___
A. 水谷精微
B. 宗气
C. 精
D. 元气
E. 营气
【单选题】
昼行于阳,夜行于阴的气是___
A. 营气
B. 卫气
C. 元气
D. 宗气
E. 肾气
【单选题】
“夺血者无汗”的生理基础是___
A. 肝肾同源
B. 乙类同源
C. 津血同源
D. 精血同源
E. 以上均不是
【单选题】
Q1: What does the man suggest that the woman do this weekend?___
A. Read J .K .Rowling's first book .
B. Go to buy a new Harry Potter book .
C. Watch BBC news about J .K .Rowling .
D. Take her cousin to see a new Harry Potter movie .
【单选题】
Q2: Where did J. K. Rowling come up with the idea for Harry Potter?___
A. At a cafe .
B. On a train .
C. At a cinema .
D. In a bookstore .
【单选题】
Q3: What are J. K. Rowling’s future plans?___
A. She won't write any more books .
B. She will write more magic stories .
C. She hasn't said anything about her future plans .
D. She said she would work on more serious subjects .
【单选题】
Q4: What are the two speakers mainly talking about?___
A. J.K. Rowling's secret .
B. J .K .Rowling's writing plan .
C. A new book by J .K.Rowling.
D. An interview with J .K .Rowling .
【单选题】
Q1: What happened when Stephen tried to remove a bottle of milk from the refrigerator?___
A. He broke the milk bottle .
B. He fell down on the floor .
C. He made a mess inside the refrigerator .
D. He spilled the milk over the kitchen floor .
【单选题】
Q2: What did Stephen’s mother do when she came into the kitchen?___
A. She gave him a long lecture .
B. She shouted at him in anger .
C. She enjoyed the wonderful mess .
D. She cleaned up the mess with him .
【单选题】
Q3: What did Stephen’s mother teach him later?___
A. How to do an experiment .
B. How to carry a milk bottle .
C. How to clean up spilled milk .
D. How to avoid making mistakes .
【单选题】
Q4: What did Stephen learn from this experience?___
A. Mistakes can become learning opportunities .
B. Mistakes are just like scientific experiments .
C. One should sometimes make mistakes .
D. One should try to avoid making mistakes .
【单选题】
Q1: Why is surfing the man’s favorite activity?___
A. Because he likes the sunny weather.
B. Because he wants to challenge himself .
C. Because it can help solve his sleeping problem .
D. Because it can help him forget all his troubles .
【单选题】
Q2: What is the woman going to do this weekend?___
A. To go sailing .
B. To go surfing .
C. To go to the beach .
D. To go to her nephew's .
【单选题】
Q3: What does the woman love doing?___
A. Going to visit relatives.
B. Enjoying the warm sun on the beach .
C. Building sand castles with her niece and nephew .
D. Playing in the sand and jumping in the waves .
【单选题】
Q4: What does the man remember doing with his brothers?___
A. Surfing in the sea .
B. Collecting seashells .
C. Building sand castles .
D. Jumping in the waves .
【单选题】
Q1: According to the survey, what percentage of British adults watched TV in theirfree time?___
A. 89 percent .
B. 84 percent .
C. 76 percent .
D. 71 percent .
【单选题】
Q2: Which age group would be the most likely to visit their friends and relatives?___
A. People aged 16 to 24
B. People aged 25 to 34 .
C. People aged 16 and over .
D. People aged 55 and over .
【单选题】
Q3: What does the speaker say about listening to music as a leisure activity for British people?___
A. People aged 16 to 24 preferred listening to music most .
B. It was getting more and more popular among the British people .
C. It was the third most popular activity among people aged 55 and over .
D. People aged 25 to 34 listened to music more often than those aged 16 to 24 .
【单选题】
Q4: According to the survey, how are leisure activities related to age?___
A. Older people go out to pubs more often . frequently .
B. Younger people go to the cinema less frequently.
C. Older people spend more time reading and gardening .
D. Younger people spend less time visiting friends and family .
【单选题】
Q1: Why was the girl excited?___
A. She is going to have a lot of vanilla ice cream .
B. She won the spelling competition at her school .
C. She is going to the state capital for a competition .
D. She "excellence"correctly,but others didn't .
【单选题】
Q2: What happened when the man was 13 years old?___
A. His family moved to Sacramento to settle down .
B. His family bought him a new suit and a new tie .
C. He went to Sacramento for a spelling competition .
D. He won the first prize in the state spelling competition .
【单选题】
Q3: Why did the man’s mom give him a big hug?___
A. To make him feel better after he lost the first prize .
B. To apologize for not buying him some ice cream .
C. To wish him good luck in the next competition .
D. To congratulate him on winning the first prize .
【单选题】
Q4: What color is the girl going to wear for her next competition?___
A. Red .
B. Blue .
C. Green .
D. Yellow .
【单选题】
Q1: What is this passage mainly about?___
A. Superstitions and science .
B. Tips on how to have good luck .
C. Superstitions in the United States .
D. Rational and superstitious societies .
【单选题】
Q2: According to the passage, what is considered as bad luck?___
A. Walking under a ladder .
B. Dreaming of a black cat .
C. Hanging a mirror in the house .
D. Stepping on one's own shadow .
【单选题】
Q3: Why is it considered bad luck to see a black cat crossing one’s path?___
A. Because black cats look like witches . e witches .
B. Because black cats were thought to be witches .
C. Because black cats bring seven years of bad luck .
D. Because black cats are hard to notice in darkness .
【单选题】
Q4: According to the passage, what will bring people good luck?___
A. Breaking a mirror on purpose .
B. Catching a falling leaf on one's birthday .
C. Finding a on the ground and picking it up .
D. Dreaming of blowing out the candles in one blow .