未分类题
假定有以下两个过程: Sub S1(ByVal x As Integer, ByVal y As Integer) Dim t As Integer t=K x=y y=t End Sub Sub S2(x As Integer, y As Integer) Dim t As Integer t=K x=y y=t End Sub 则以下说法中正确的是 ( )
D.用过程S1和S2都不能实现交换两个变量值的操作
A.用过程S1可以实现交换两个变量值的操作,S2不能实现
B.用过程S2可以实现交换两个变量值的操作,S1不能实现
C.用过程S1和S2都可以实现交换两个变量值的操作
【参考答案】
B
解析:本题主要是对调用方式的考查。在S1中实现的是传值调用,故不影响实际参数值。S2过程中实现的是传址调用,影响到实际参数。故用过程S2可以实现两个变量值的操作,而S1不能实现。选项B正确。
点击查看答案
<上一题
目录
下一题>
热门
试题
未分类题
执行语句Open'C: stu.dat'For Input As #2之后,系统 ( )A.将C盘当前文件夹下名为stu. dat的文件的内容读人内存B.在C盘当前文件夹下建立名为stu的顺序文件C.将内存数据存放在C盘当前文件夹下名为stu. dat的文件中D.将某个磁盘文件的内容写入C盘当前文件夹下名为stu. dat的文件中
A.dat'For
B.将C盘当前文件夹下名为stu.
C.在C盘当前文件夹下建立名为stu的顺序文件
C.将内存数据存放在C盘当前文件夹下名为stu.
D.将某个磁盘文件的内容写入C盘当前文件夹下名为stu.
点击查看答案
单项选择题
属于应用软件的一组是()A. Windows 2000,WPS Office 2003,Word 2010B. UNIX,Visual FoxPro,AutoCADC. MS-DOS,学籍管理系统,财务软件D. Word 2010,Excel 2013,金山词霸
点击查看答案
单项选择题
婴儿最初社会性发生的标志是( )。 A、诱发性微笑的出现 B、不出声的笑 C、有差别的微笑的出现 D、出声的笑
点击查看答案
未分类题
Health implies. more than physical fitness. It also implies mental and emotional wellbeing. An angry, frustrated, emotionally (1)_____ person in good physical condition is not (2)_____ healthy. Mental health, therefore, has much to do (3)_____ how a person copes with the world as it exists. Many of the factors that (4)_____ physical health also affect mental and emotional well-being.Having a good self-image means that people have positive (5)_____ pictures and good positive feelings about themselves, about what they are capable (6)_____, and about the roles they play. People with good self-images like themselves, and they are (7)_____ like others. Having a good self- image is based (8)_____ a realistic (9)_____ of one's own worth and value and capabilities.Stress is an unavoidable, necessary, and potentially healthful (10)_____ of our society. People of all ages (11)_____ stress. Children begin to (12)_____ stress during prenatal development and during childbirth. Examples of stress-inducing (13)_____ in the life of a young person are death of a pet, pressure to (14)_____ academically, the divorce of parents, or joining a new youth group. The different ways in which individuals (15)_____ to stress may bring healthful or unhealthy results. One person experiencing a great deal of stress may function exceptionally well (16)_____ another may be unable to function at all. If stressful situations are continually encountered, the individual's physical, social, and mental health are eventually affecteD.Satisfying social relations are vital to (17)_____ mental and emotional health. It is believed that in order to (18)_____, develop, and maintain effective and fulfilling social relationships people must (19)_____ the ability to know and trust each other, understand each other, influence, and help each other. They must also be capable of (20)_____ conflicts in a constructive way.A.unstableB.unsureC.impreciseD.impractical
A.B.
C.
D.
A.unstable
B.unsure
C.imprecise
点击查看答案
问答题
在多缸工作的液压系统中,控制两个或两个以上的执行元件保持相同速度或相同位移运动的回路称为[填空]回路。
点击查看答案
多项选择题
故宫口红是润百颜与故宫的首次深度IP合作,推出的美妆产品。该套口红共6款,口红膏体颜色均来自故宫博物院所藏的红色国宝器物,口红管外观设计则从清宫后妃服饰上汲取灵感,一个外观设计对应一款膏体色。故宫口红一经推出就激发了火爆的消费热情,取得了很好的销售效果。 故宫利用品牌化的营销策略组合顺利地实现了品牌的年轻化,让肃穆厚重的文化和历史在创新运营和传播中得到了更具可视化的传承和扩散,当然,这也很大程度离不开我国日渐增强的民族自信心和年轻一代开始回归聚焦正在复兴的传统文化。 A. 中国传统文化精深博大,可以继承发扬 B. 传统文化不能守旧,需要创新 C. 故宫这一超强IP,对故宫口红的产品传播起到了作用 D. 国潮风的大热,也说明了中国经济的发展和文化自信
点击查看答案
未分类题
The phrase 'familiar sights' in the first sentence is nearest in meaning to ______.A.people who are familiar with the surroundingsB.people who enjoy sightseeingC.people who have very good eye-sightsD.people or objects that are often seen around by others
A.A.people
B.people
C.people
D.people
点击查看答案
未分类题
The phrase 'fair or foul' in the second paragraph is used to describe _______.A.the graveyardB.the weatherC.BobbyD.Traill
A.A.the
B.the
C.Bobby
点击查看答案
未分类题
In the first sentence of the second paragraph, the word 'skyrocketed' most probably means ______.A.became variousB.was updatedC.increased rapidlyD.remained the same
A.A.became
B.was
C.increased
D.remained
点击查看答案
未分类题
有人说:“既然实践是检验真理的唯一标准,党提出的新的路线、方针和政策还没有经过实践的检验,还不能证明它是真理,因而不能坚决贯彻执行。'这种说法错在不承认党的新的路线、方针和政策( )。
A.是建立在过去实践基础上的
B.是经过实践证明其正确后制定的
C.只有在执行的实践过程中才能不断完善
D.是在马列主义指导下对现状经过调查研究制定的
点击查看答案
相关试题
单击命令按钮时,下列程序代码的运行结果为...
胡萝卜种子为果实型种子。果皮革质,含有挥...
在窗体中添加一个命令按钮(其Name属性为Co...
以下语句的输出结果是 ( ) Print For...
The proposed 'alternative funding mo...
阅读下列程序: Private Sub Commad1_...
下列程序段的执行结果为 a='ABBACDDCBA'...
假定有下面的程序段: For i=1 To 3...
目标的设置最好是既高于当前的状态一点,又...
各类接地可以采用单独的接地线,但接地极和...
In asserting that the organic model...
(ex7)(Taylor展开)求下列函数在x=0...
What is the cause of coughing gree...
专用宿舍楼基础形式是()。 A、条形基础...
2007年税收收入比_卜.年增长了约( ...
In 1998, the American Film Ins...
2007年黑龙江省国际互联网络拔号、专线...
一位农夫在河流A岸集市上买了一只狗、一只...
掷一枚筛子的点数的数学期望为3.5。 A...
春节期间,铁路系统在某两个城市间增加了临...
工业机器人大概有[填空][填空(1)] ...
PLC面板上箭头向里的24伏直流电源,是为C...
治痈疡剂分为散结消痈剂、托里透脓剂以及补...
IgG fold consists of a pair of β...
With a good command of English, h...
普通铅蓄电池极板使用的材料是: A、正极...
经验迁移:是指通过类比,发现两类事物之间...
发散式思维:是指根据已有的信息,从不同角...
横断科学:是指从客观世界的诸多物质结构及...
家庭成员之间的互动不会造成少年的影响,因...
由于技术理性造就了资本主义机器生产体系和...
两端固定式轴向固定适用于工作温度不高的短...
在微观世界中,中微子一直是一个无所不在而...
农业考古学家可以重新发掘出我们祖先被遗忘...
上海市高新技术产品出口正在成为外贸领域强...