当前位置:文档之家› 按键精灵开发者认证4级考试问答题(部分,2016年2月更新)

按键精灵开发者认证4级考试问答题(部分,2016年2月更新)

按键精灵开发者认证4级考试问答题(部分,2016年2月更新)
按键精灵开发者认证4级考试问答题(部分,2016年2月更新)

//实际分数:90,第2题扣了10分

//第2题给出扣10分的写法以及个人推荐的修改后写法

1、编写一段代码,获取记事本窗口中文本编辑器的句柄。要求:无论记事本窗口标题是什

么,脚本都能成功获取窗口句柄。

Hwnd = Plugin.Window.Find("Notepad", 0)

//查找窗口类名("Notepad")或者标题(0),返回找到的句柄Hwnd

Hwnd = Plugin.Window.FindEx(Hwnd, 0, "Edit", 0)

//根据父窗口句柄(Hwnd)查找子窗口匹配类名("Edit")或者匹配标题(0),返回找到匹配的句柄Hwnd

2、编写一个函数,实现SayString相似功能的函数,只要能够输入英文即可

//测试代码

//x = "Hello"

//MySayString x, 1000

//扣10分的写法:没有区分大小写

//函数名称:MySayString(str,dtime)

//函数功能:实现和SayString类似的功能(仅支持英文)

//传入参数:str:英文字符串dtime:延时操作时间

//返回参数:无

Function MySayString(str,dtime)

strLen = len(str) //获取输入字符串长度

For i = 1 To strLen

Delay dtime

KeyPress Mid(str,i,1) , 1

Next

End Function

//个人推荐的修改后写法

//函数名称:MySayString(str,dtime)

//函数功能:实现和SayString类似的功能(仅支持英文)

//传入参数:str:英文字符串dtime:延时操作时间

//返回参数:无

//参考:https://www.doczj.com/doc/6a18657265.html,/p/3570413748

Function MySayString(str,dtime)

strLen = len(str) //获取输入字符串长度

For i = 1 To strLen

mychar= Mid(str,i,1) //截取单个字符

If "A" <= mychar and mychar <= "Z" Then

Delay dtime

KeyPress "CapsLock", 1

Delay dtime

KeyPress mychar, 1

Delay dtime

KeyPress "CapsLock", 1

ElseIf "a" <= mychar and mychar <= "z" Then

Delay dtime

KeyPress mychar , 1

End If

Next

End Function

3、以下代码运行后未出现弹窗,请简述找不到图的可能原因(至少三个)FindPic 0, 0, 800, 600, "Attachment:\ajjl.bmp", 1.0, ajjlbmpX, ajjlbmpY

If ajjlbmpX > 0 And ajjlbmpY > 0 Then

MessageBox "找到图片"

End If

1、查找的区域内没有同附件相匹配的图片。

2、匹配的图片不在查找范围内

3、相似度的设定太高

4、附件ajjl.bmp可能不存在

按键精灵四级认证选择题及答案

F o r a=1T o5...N e x t循环结束后变量a的最终值。答:6 a = 1 : execute ("a=2*a"),a的值为? 答:2 如下代码,c的值为? a = 1 : b = - 1 c = a xor b 答:-2 答:系统中所有已显示的窗口句柄 在不确定颜色的情况下,寻找具备特定点阵信息的图形应该使用下列哪条命令 答:5 使用按键抓抓找窗口句柄时,如果用多个标题和运行特征完全相同的窗口,下列哪种方法不能确定每个句柄对应的窗口? 答:查看句柄信息 网页插件可以与网页版按键精灵(WQM)对接,实现自动填表等功能,在使用这个插件前,必须执行那条命令进行初始化? 答:Bind RGB命令可以实现使用红、绿、蓝三原色分量混合为一个颜色值,与此命令功能相反的命令是? 答: 答:可以获得透明窗口色

GetCursorShape命令有几种获取鼠标形状的方式? 答:2 ``对 关于Msgbox命令描述错误的是? 答:Msgbox命令一定没有返回值 ``` 代码 a = ",," : For 3 : a = Join(Split(a, ","), ",,") : Next 执行后,变量a包含多少个逗号? 答:16个 使用Access插件对数据库进行增删改查操作时,应先使用哪条命令连接到数据库? 答: 如何确定一个句柄对应的窗口是否存在? 答: 在网页版按键精灵(WQM)中调用JS代码应该使用下列哪条命令: 答: 以下哪个对Select命令的描述是错误的? 答:Select支持判断语句(例如:a>0) 下列操作中,哪一种是后台模拟无法实现的? 答:与Ctrl相关的组合键 获取窗口的客户区矩形(窗口边框内的空间)应该使用哪条命令? 答: 表达式 a = 1 Or 2 成功执行后,变量 a 的值应该为? 答:3

按键精灵5级题目+答案

QQ群:256416207 作者:【机器猫】 欢迎进群讨论 //1、(前台)区域范围为(100,150)到(200,300)内的所有点是否均为"FFFFFF",是则弹出对话框"没有其他颜色",否则弹出第一个点的颜色值并退出程序. 请写出代码 x = 100 y = 150 RtColor = Plugin.Color.GetPixelColor(x, y, 0) RtColor1 = RtColor While (y < 300) x=100 While (x < 200) If RtColor = "FFFFFF" Then x = x + 1 Else MessageBox RtColor1 ExitScript End If RtColor = Plugin.Color.GetPixelColor(x, y, 0) Wend y=y+1 Wend MessageBox "没有其他颜色"

//2、利用多线程对多个记事本的窗口位置进行随机移动.请写出代码 RunApp "notepad.exe" //启动3个记事本测试用 RunApp "notepad.exe" RunApp "notepad.exe" Delay 2000 //等待3个记事本工具打开 DimEnv Hwnd1 HwndEx = Plugin.Window.Search("记事本") Hwnd = Split(HwndEx,"|") If UBound(Hwnd) >= 0 Then //判断是否搜到句柄? For i = 0 To UBound(Hwnd) - 1 wnd = Clng(Hwnd(i)) //类型转换 Hwnd1 = wnd BeginThread 移动//启动线程 Delay 100 //启动线程需要点时间Next End If Do Delay 1000 Loop Sub 移动 Hwnd2 = Hwnd1 Randomize x = Int(Rnd * 500) Randomize y = Int(Rnd*500) // MessageBox x&","&y Call Plugin.Window.Move(Hwnd2, x+ 100, y + 100) End Sub

2016年12月英语四级真题(第一套)

2016年12月英语四级真题(第一套) Part I Writing (30minutes) (请于正式开考后半小时内完成该部分,之后将进行听力考试) Directions:For this part, you are allowed 30 minutes to write an essay .Suppose you are two options upon graduation: one is to take a job in a company and the other to go to a graduate school. You are to make a choice between the two. Write an essay to explain the reasons for your choice. You should write at least 120 words but no more than 180 words. Part II Listening Comprehension (25 minutes) Section A Directions: In this section, you will hear three news reports. At the end of each news report, you will hear two or three questions. Both the news report and the questions will be spoken only once. After you hear a question, you must choose the best answer from the four choices marked A), B), C). Then mark the corresponding letter on the Answer sheet1with a single line through the centre. Questions 1and 2 are based on the news report you have just the heard. 1. A) It was going to be renovated. C) It was dangerous to live in. B) He could no longer pay the rent. D) He had sold it to the royal family. 2. A) A storm. C) A forest fire. B) A strike. D) A Terrorist attack. Questions 3and 4 are based on the news report you have just heard. 3. A) They lost contact with the emergency department. B) They were injured by suddenly falling rocks. C) They sent calls for help via a portable radio. D) They were trapped in an underground elevator. 4. A) They provided the miner with food and water. B) They sent supplies to keep the miners warm. C) They released the details of the accident. D) They tried hard to repair the accident. Question5 to7 are based on the news report you have just heard. 5. A) Raise postage rates. C) Close some of its post offices. B) Improve its services. D) Redesign delivery routes. 6. A) Closing offices on holidays. C) Computerizing mail sorting processes. B) Shortening business hours. D) Stopping mail delivery on Saturdays.

新浪·按键精灵开发者一级认证参考答案

按键精灵开发者一级认证参考答案 1、关于按键精灵的描述,以下正确的是? 正确答案:按键精灵是一款绿色的模拟键盘鼠标操作的软件 2、不能用抓抓工具直接获取的是? 正确答案:PID 3、按键精灵的产品包括以下哪一个? 正确答案:按键盒子 4、UnlockMouse命令的含义是? 正确答案:解除锁定鼠标位置 5、LeftDown命令的含义是? 正确答案:左键按下 6、GetLastKey命令在获取一次ANSI字符代码后继续循环执行返回值是? 正确答案:0 7、按键精灵默认的启动热键是? 正确答案:F10 8、按键精灵自带的程序不包括下列哪一个? 正确答案:iexplore.exe 9、下列哪一种方法不能够正确输入命令? 正确答案:鼠标右键单击命令 10、SaveMousePos命令的含义是? 正确答案:保存当前鼠标所在位置

11、按键精灵自带的抓图工具是? 正确答案:按键抓抓 12、按键精灵里运算符乘号是? 正确答案:* 13、哪一种方法能够找到命令的帮助说明? 正确答案:在全部命令中搜索命令,点击后帮助说明会出现在编辑器下方. 14、RightUp命令的含义是? 正确答案:右键弹起 15、SetSimMode命令的含义是? 正确答案:设置模拟方式 16、GetLastClick命令的含义是? 正确答案:检测上次按过的鼠标键 17、MoveTo命令的含义是? 正确答案:移动 18、录制脚本之后需要重新运行这段脚本,下列哪个做法是正确的? 正确答案:保存脚本之后点击"运行"按钮 19、与取色判断命令没有直接关系的参数是? 正确答案:按键码 20、哪一类脚本程序是按键精灵官方授予销售权的? 正确答案:小精灵商业版 21、KeyUp命令的含义是?

按键精灵1--6级答案

以下哪一个不是按键精灵的产品按键箱子录制的脚本没有以下哪个功能记录鼠标特征码下列哪一个命令不属于"全部命令" 内核命令按键精灵自带的抓图工具是按键抓抓哪一种方法能够找到命令的帮助说明在全部命令中搜索命令, 点击后帮助说明会出现在编辑器下方. 按键精灵不可以在以下哪个系统中使用Linux 可以使用神盾功能的程序是小精灵商业版旧版本的脚本导入到新版本中, 以下哪种方法不可以纠正语法错误使用"自动缩进"功能? WaitClick 命令的含义是按任意鼠标键继续? 哪一类脚本程序是按键精灵官方授予销售权的小精灵商业版只要在编辑脚本,切换输入法时,按键精灵就卡住了, 可能是下列哪一个原因Plugin 目录下装有不是官方提供的插件引起的关于加密脚本的描述,下列是错误的是只有会员输入密码可以解开加密脚本GetLastClick 命令的含义是检测上次按过的鼠标键按键精灵生成的小精灵程序的后缀名是EXE 按键精灵会员不能享受的论坛权限是可以访问按键精灵“版版家园”专区享受版主资源网页按键精灵是下列哪一个程序wqm.exe 按键精灵的产品包括以下哪一个按键盒子按键精灵是下列哪一个程序按键精灵9.exe 按键精灵会员卡注册码,没有以下哪一种天卡(1 天) UnlockMouse 命令的含义是解除锁定鼠标位置? 按键精灵会员不能享受的资源是免费小精灵的源代码RightUp 命令的含义是右键弹起按键精灵的功能不包括自动发明汽车、飞机、火箭等机器按键精灵能兼容下列哪一种语言VBS 不能用抓抓工具直接获取的是PID 关于按键精灵的描述,以下正确的是按键精灵是一款绿色的模拟键盘鼠标操作的软件? 脚本编辑界面上没有的按钮是启动? 与取色判断命令没有直接关系的参数是按键码以下哪种方式可以在脚本编辑界面中获取到新的插件点击"资源库"按钮, 然后 导入需要的插件 LeftClick 命令的含义是左键单击按键精灵官方网站的网址是 RestoreMousePos命令的含义是恢复上次保存的鼠标位置如果按键精灵在某些环境失效, 可以使用下列哪个工具神盾SaveMousePo命令的含义是保存当前鼠标所在位置GetCursorPos 命令的含义是得到鼠标位置坐标键盘命令的类型不包括锁定按键精灵里运算符乘号是* KeyPress 命令的含义是按键 MiddleClick 命令的含义是中键单击 LockMouse命令的含义是锁定鼠标位置按键精灵会员不能享受的功能是脚本编写服务GetCursorShape 命令的含义是得到鼠标形状按键精灵自带的用户界面叫做什么QUI 界面RightClick 命令的含义是右键单击按键精灵里运算符减号是- 按键精灵默认的启动热键是F10 属于"全部命令"的是我的命令库“录制”功能不能录制的内容是记录鼠标指向的窗口句柄按键抓抓是下列哪一个程序picker.exe 想要知道脚本是否存在错误, 应该使用下列哪个功能调试以下哪种方式不可以获得论坛银币发布大量无内容的主题贴按键精灵里运算符除号是/ 按键精灵会员不能享受的技术支持是 技术人员上门服务按键精灵自带的功能不包括以下哪一个路由功能 GetLastKey命令在获取一次ANSI字符代码后继续循环执行返回值是?0 变量的定义,以下哪个是正确的dim a 下列哪一种方法不能够正确输入命令鼠标右键单击命令按键精灵的功能是?模拟鼠标键盘操作的工具? MoveF命令的含义是相对移动关于小精灵去广告的描述,下列正确的是会员用户在“制作按键小精灵”界面上->更多设置->选择会员去广告(是)即可? 按键精灵里运算符加号是+ 对小精灵的描述,以下是正确的按键小精灵是把按键精

2016年12月英语四级真题及答案第三套

2016年12月英语四级真题及答案第三套 Part I Writing (30 minutes) Directions: For this part, you are allowed 30 minutes to write an essay. Suppose you have two options upon graduation: one is to work in a state-owned business and the other in a joint venture.You are to make a choice between the two. Write an essay to explain the reasons for your choice. You should write at least 120 words but no more than 180 words. Part Ⅱ Listening Comprehension (25 minutes) Section A Directions: In this section, you will hear three news reports. At the end of each news report, you will hear two or three questions. Both the news report and the questions will be spoken only once. After you hear a question, you must choose the best answer from the four choices marked A), B), C) and D). Then mark the corresponding letter on Answer Sheet 1with a single line through the centre. Questions 1 and 2 are based on the news report you have just heard. 1. A) To satisfy the curiosity of tourists. B) To replace two old stone bridges. C) To enable tourists to visit Goat Island. D) To improve utility services in the state. 2. A) Countless tree limbs. B) A few skeletons. C) Lots of wrecked boats and ships. D) Millions of coins on the bottom. Questions 3 and 4 are based on the news report you have just heard. 3. A) It suspended diplomatic relations with Libya. B) It urged tourists to leave Tunisia immediately.

新浪·按键精灵开发者二级认证参考答案2016

按键精灵开发者二级认证参考答案 1、WaitKey命令有几个参数? 正确答案:0 2、颜色值为"FFFFFF"是什么颜色? 正确答案:白色 3、鼠标左键弹起的命令是? 正确答案:LeftUp 4、按键码53是下列哪一个按键? 正确答案:5 5、Delay命令有几个参数? 正确答案:1 6、延迟1天,以下哪一句代码是正确的? 正确答案:Delay 1000*60*60*24*1 7、下列哪一个命令会暂停脚本? 正确答案:WaitClick 8、EndScript命令的意义是? 正确答案:脚本停止运行 9、判断条件应该使用下列哪个语句? 正确答案:If语句 10、按键精灵找图命令需要的图片格式是下列哪一个? 正确答案:*.BMP 11、以下哪一个不属于按键精灵的"全部命令"? 正确答案:远程嗅探命令 12、鼠标所在位置为(100,50),经过命令 MoveToS 50+50,100 后鼠标 所在位置为? 正确答案:100,100 13、不能正确调用KeyPress命令的写法是? 正确答案:KeyPress "FB",1

正确答案:RightClick 15、组合键"CTRL+C"的正确按键顺序是? 正确答案:按下"CTRL",点击"C",弹起"CTRL" 16、"F10"的按键码是? 正确答案:121 17、以下哪一个命令能够延时1个小时? 正确答案:delay 1000*60*60 18、下列RGB颜色值,书写正确的是? 正确答案:"DD" 20、区域找图的命令是? 正确答案:FindPic 21、循环可以使用下列哪个语句? 正确答案:For语句 22、附件中哪一种文件可以不经过释放直接使用? 正确答案:BMP 23、以下哪一个写法不能点击"shift"键? 正确答案:KeyPress 60, 1 24、取指定点颜色的命令是? 正确答案:GetPixelColor 25、锁定鼠标位置是下列哪一个命令? 正确答案:LockMouse 26、延迟3分钟,以下哪一句代码是正确的? 正确答案:Delay 1000*60*3 27、鼠标右键弹起的命令是? 正确答案:RightUp 28、脚本停止运行命令是哪一个? 正确答案:EndScript

按键精灵1--6级答案

以下哪一个不是按键精灵的产品按键箱子 录制的脚本没有以下哪个功能记录鼠标特征码 下列哪一个命令不属于"全部命令" 内核命令 按键精灵自带的抓图工具是按键抓抓 哪一种方法能够找到命令的帮助说明在全部命令中搜索命令,点击后帮助说明会出现在编辑器下方. 按键精灵不可以在以下哪个系统中使用 Linux 可以使用神盾功能的程序是小精灵商业版 旧版本的脚本导入到新版本中,以下哪种方法不可以纠正语法错误使用"自动缩进"功能? WaitClick命令的含义是按任意鼠标键继续? 哪一类脚本程序是按键精灵官方授予销售权的小精灵商业版 只要在编辑脚本,切换输入法时,按键精灵就卡住了,可能是下列哪一个原因Plugin目录下装有不是官方提供的插件引起的 关于加密脚本的描述,下列是错误的是只有会员输入密码可以解开加密脚本GetLastClick命令的含义是检测上次按过的鼠标键 按键精灵生成的小精灵程序的后缀名是 EXE 按键精灵会员不能享受的论坛权限是可以访问按键精灵“版版家园”专区享受版主资源 网页按键精灵是下列哪一个程序 wqm.exe 按键精灵的产品包括以下哪一个按键盒子 按键精灵是下列哪一个程序按键精灵9.exe 按键精灵会员卡注册码,没有以下哪一种天卡(1天) UnlockMouse命令的含义是解除锁定鼠标位置? 按键精灵会员不能享受的资源是免费小精灵的源代码 RightUp命令的含义是右键弹起 按键精灵的功能不包括自动发明汽车、飞机、火箭等机器 按键精灵能兼容下列哪一种语言 VBS 不能用抓抓工具直接获取的是 PID 关于按键精灵的描述,以下正确的是按键精灵是一款绿色的模拟键盘鼠标操作的软件? 脚本编辑界面上没有的按钮是启动? 与取色判断命令没有直接关系的参数是按键码 以下哪种方式可以在脚本编辑界面中获取到新的插件点击"资源库"按钮,然后导入需要的插件 LeftClick命令的含义是左键单击 按键精灵官方网站的网址是 RestoreMousePos命令的含义是恢复上次保存的鼠标位置 如果按键精灵在某些环境失效,可以使用下列哪个工具神盾 SaveMousePos命令的含义是保存当前鼠标所在位置 GetCursorPos命令的含义是得到鼠标位置坐标 键盘命令的类型不包括锁定 按键精灵里运算符乘号是 * KeyPress命令的含义是按键

2016年12月大学英语四级考试真题及答案

2016 年 12 月大学英语四级考试真题(第一套) Part I Writing (30 minutes)( 请于正式开考后半小时内完成该部分,之后将进行听 力考试 ) Directions:For this part,you are allowed30 minutes to write an essay.Suppose you have two options upon graduation:one is to take a job in a company and the other to go to a graduate school.You are to make a choice between the two.Write an essay to explain the reasons for your choice. You should write at least 120 words but no more than 180 words. Much controversy has been aroused about whether the students should find a job or start their own business after graduation.Taking a look around,we can find that some graduates bustle around job markets,while others choose to run a shop on TMall. However, I prefer the former choice. From my perspective, there are good reasons to find a job in the first several years after their graduation.First and foremost, if a graduate intends to accumulate working experience and learn from the seniors, it is advisable for him to find a job. It is an undeniable fact that the theoretical knowledge will provide the graduates with the ability to consider things comprehensively,however,only under the integration with practice can the rigid knowledge be useful for their future development. Inevitably, doing something small is the premise of undertaking something great. Take Jack Ma, the founder of Alibaba and taobao, for example. He also finds some jobs before establishing his own career,laying a solid foundation for his later success. Consequently,it is of great necessity to find a job after graduation.I firmly believe that it will continue to bring about more returns to our life and future. Part II Listening Comprehension (25 minutes) Section A

2015年-10-16更新按键精灵开发者 最全认证三级答案

1.True的值是?-1 2.返回值=Round( 3.141592,5),求返回值是什么?3.141592 3.False的值是?0 4.选出下列代码中无法实现循环效果的选项.Fori=9To0:Delay100:Next 5.PrintScreen命令支持哪种格式截图?jpg 6.a=10.05Mod2,那么a的值为?0 7.关于自定义变量的描述以下哪一个是正确的?自定义变量可以是类 8.数组MyArray(5)的最大可用下标为?5 9.VarType函数的作用是?返回指示变量子类型的值 10.以下哪一个命令可以将表达式转化为字符串?Cstr 11.常数VbOk的值为?1 12.文本不存在,以下哪一个命令会新建立文本?WriteFileEx 13.Erase语句的含义是?重新初始化固定大小数组的元素,并释放动态数组的存储空间 14.下列哪一个函数可以取数组最大可用下标?Ubound 15.在大型脚本的设计中,以下哪一个命令不推荐使用?goto命令 17.a=34,b=&H22,下列描述哪一个是错误的?cstr(b)的值为 "&H22" 16.MsgBox命令最多可以使用几个参数?5 18.以下哪一个命令需要绑定WQM使用?CallPlugin.Web.ScrollTo(0,0) 19.假如“神盾”图像存在,以下无法识别到图像的命令是? FindPic0,0,1024,768,"神盾.jpg",0.9,intX,intY 20.DateDiff命令有几个必选参数?且返回值类型是?3个必选参数,返回值类型为:整数 21.myarray=Array(1,2,3,4,5),那么Ubound(myarray)的值为?4 22.以下命令可以获取当前窗口所在屏幕位置精确坐标的是? Text=Plugin.Window.GetWindowRect(Hwnd) 23.FindMultiColor命令的颜色特征点最少为几个?2个 24.如果有多个重复标题的窗口,以下哪个命令能够直接获取到所有对应窗口的句柄?Plugin.Window.Search 25.QUI输入框控件返回值的变量类型是?字符串 26.以下哪一个返回值是字符串?

2016年6月英语四级真题答案(卷2)word版

2016年6月英语四级真题第二套 Part I Writing (30 minutes) Directions:For this part, you are allowed 30 minutes to write a letter to express your thanks to one of your school teachers upon entering college. You should write at least 120 words but no more than 180 words. Part III Reading Comprehension (40 minutes) Section A Directions: In this section, there is a passage with ten blanks. You are required to select one word for each blank from a list of choices given in a word bank following the passage. Contrary to popular belief, older people generally do not want to live with their children. Moreover, most adult children _____(26)every bit as much care and support to their aging parents as was the case in the "good old days", and roost older people do not feel _____(27). About 80% of people 65 years and older have living children, and about 90% of them have _____(28)contact with their children. About 75% of elderly parents who don't go to nursing homes live within 30 minutes of at least one of their children.

按键精灵教程

变量!神奇的小柜子 变量就是会变化的量。就像一个小柜子,我们可以在柜子里装载不同的东西,而当我们需要找到这些东西的时候,只要记住柜子的名字就可以了。 使用变量的方法是:先定义(给柜子起名)、再赋值(将物品放进柜子)、最后使用(根据柜子名字找到放在其中的物品)。 使用Dim命令定义变量,例如: Dim str1 //定义变量str1 Dim var1=22 //定义变量Var1,并且赋值为22 例子1:使用变量设置输出文字的内容 1、下面红色的是3行脚本,请把他复制到“源文件”当中 Dim str1 str1 = "你很聪明" SayString str1 2、Dim str1 就是定义变量,也就是说我们创建了一个小柜子,给他起名为str1 3、str1 = "你很聪明" 就是赋值,我们把"你很聪明"这几个字放到str1这个小柜子里 4、SayString str1 表示我们输出str1这个变量的内容,也就是说把str1这个小柜子里的内容拿出来交给SayString 这个命令去使用。 5、如果你希望修改喊话的内容,只要修改str1这个小柜子里的内容就可以了。 例子2:变量的一些用法 a=1 把数字1放进柜子a中。 b="你猜对了吗?" 把字符串你猜对了吗?放进柜子b中。字符串必须用""包含。 dc=3.14159265 把小数放进柜子dc中。 num1=1 num1=33 num2=55 sum=num1+num2 首先把33和55分别放入num1和num2中。然后把他们取出来,做加法操作(加法是由CPU来处理的),把结果放在sum中。结果sum等于88 num1=1 num1=33 num1被给值为1,然后又给值为33。此时,num1中存储是的33。1就被覆盖掉了。没有了:) sum=sum+1 这句不等同于数学的加法,也是初学者不容易理解的地方。我们只要想,把sum拿出来和1做加法,再放回sum中就可以了。sum原来的值是88,做完加法后,sum等于89。 pig=1 pig=pig*3+pig 能猜出pig最后等于几么?1*3+1。结果是4 例子3:使用变量输入1到100的数字 VBSCall RunApp("notepad") Delay 2000 a=1

按键精灵3级考试问答题标准答案

1、True的值是? -1 A. 0 B. -2 C. -1 D. 1 2、返回值=Round(3.141592,5),求返回值是什么? A. 3.1415 B. 3.141592 C. 3.14 错 D. 3.14159 3、False的值是? 0 A. 0 B. -1 C. 1 D. -2 5以下哪一个不是数学函数? A. Sgn B. Abs C. Ccur D. Rnd 7、下列哪一个函数可以取数组最大可用下标? A. Ubound B. Array C. Lbound D. Split 9、132 Mod 13 的值为? A. 0 B. 3 C. 2 D. 4 11、选出下列代码中无法实现循环效果的选项。 A. For i = 9 To 0 : Delay 100 : Next B. For 10 : Delay 100 : Next C. For i = 0 To 19 Step 2 : Delay 100 : Next D. For i = 0 To 9 : Delay 100 : Next 12、以下命令可以获取当前窗口所在屏幕位置精确坐标的是?

A. Text = Plugin.Window.GetClientRect(Hwnd) B. Text = Plugin.Window.GetWindowRect(Hwnd) C. Text = Plugin.Window.GetExePath(Hwnd) D. Text = Plugin.windows.isWindow(Hwnd) 15、PrintScreen命令支持哪种格式截图? A. TIF B. png C. gif D. jpg 16、a = 10.05 Mod 2 ,那么a的值为? A. 0.05 B. 5 C. 0 D. 5.025 17、Erase 语句的含义是? A. 将控制权传递给Sub 过程或Function 过程 B. 声明用于代替文字值的常数 C. 重新初始化固定大小数组的元素,并释放动态数组的存储空间 D. 声明变量并分配存储空间 19、以下哪一个返回值是字符串? A. len("anjian") B. clng("520") C. "anjian"&"vrbrothers" D. "10"-1 20、下列命令中,无法改变鼠标指针位置的是? A. MoveRH B. MoveTo C. MoveR D. MouseWheel 21、假如MyDate = "October 19, 1962": YourDate = #10/19/62#: NoDate = "Hello",返回值为False的是? A. IsDate(time) B. IsDate(YourDate)

(完整版)16年12月英语四级真题(一)

2016年12月英语四级真题(卷一) PartⅠ Writing (30 minutes) Directions: For this part, you are allowed 30 minutes to write an essay. Suppose you have twooptions upon graduation: one is to find a job somewhere and the other to start abusiness of your own. You are to make a decision. Write an essay to explain the reasonsfor your decision. You should write at least 120 words but no more than 180 words. Part Ⅱ >>音频下载 Listening Comprehension ( 25 minutes) Section A Directions: In this section, you will hear three news reports. At the end of each newsreport, you will hear two or three questions. Both the news report and thequestions will be spoken only once. After you hear a question, you mustchoose the best answer from the four choices marked A, B, C and D.Then mark the corresponding letter on Answer Sheet 1 with a single linethrough the centre. Questions 1 and 2 are based on the news report you have just heard. 1. A. It was dangerous to live in. B. It was going to be renovated. C. He could no longer pay the rent. D. He had sold it to the royal family. 2. A. A strike. B. A storm. C. A forest fire. D. A terrorist attack. Questions 3 and 4 are based on the news report you have just heard. 3. A. They lost contact with the emergency department. B. They were trapped in an underground elevator. C. They were injured by suddenly falling rocks. D. They sent calls for help via a portable radio. 4. A. They tried hard to repair the elevator. B. They released the details of the accident. C. They sent supplies to keep the miners warm. D. They provided the miners with food and water. Questions 5 to 7 are based on the news report you have just heard. 5. A. Raise postage rates. B. Improve its services. C. Redesign delivery routes. D. Close some of its post offices. 6. A. Shortening business hours. B. Closing offices on holidays. C. Stopping mail delivery on Saturdays. D. Computerizing mall sorting processes.

2016年12月英语四级真题第3套

2016年12月英语四级考试真题(第3套) Part I Writing(30 minutes) Directions: For this part, you are allowed 30 minutes to write an essay. Suppose you have two options upon graduation: one is to find a job somewhere and the other to start a business of your own. You are to make a decision. Write an essay to explain the reasons for your choice. You should write at least 120 words but no more than 180words. 说明:由于2016年12月四级考试全国共考了2套听力,本套真题听力与前2套内容完全一样,只是顺序不一样,因此在本套真题中不再重复出现。 Part III Reading Comprehension (40 minutes) Section A Directions: In this section, there is a passage with ten blanks. You are required to select one word for each blank from a list of choices given in a word bank following the passage. Read the passage through carefully before making your choices. Each choice in the bank is identified by a letter. Please mark the corresponding letter for each item on Answer Sheet 2 with a single line through the centre. You may not use any of the words in the bank more than once. When someone commits a criminal act, we always hope the punishment will match the offense. But when it comes to one of the crudest crimes—animal fighting—things __26__ work out that way. Dog-fighting victims are __27__ and killed for profit and “sport,” yet their criminal abusers often receive a __28__ sentence for causing a lifetime of pain. Roughly half of all federally-convicted animal fighters only get probation (缓刑). Some progress has been made in the prosecution(起诉)of animal fighters. But federal judges often rely heavily on the U.S. Sentencing Guidelines when they __29__ penalties, and in the case of animal fighting, those guidelines are outdated and extremely __30__ . The U.S. Sentencing Commission, which __31__ these sentencing guidelines, is revisiting them, proposing to raise the minimum sentence from 6-12 to 21-27 months. This is a step in the right __32__ , but we’d like to see the U.S. Sentencing Commission make further changes to the guidelines. Along with this effort, we’re working with animal advocates and state and federal lawmakers to __33__ anti-cruelty laws across the country, as well as supporting laws and policies that assist overburdened animal __34__ that care for animal fighting victims. This help is__35__ important because the high cost of caring for animal victims is a major factor that prevents people from getting involved in cruelty cases in the first place. A)convenient B) creates C) critically D) determine E) direction F) hesitate G) inadequate H)inspired I)method J) minimal K) rarely L)shelters M) strengthen N) sufferings O)tortured Section B Directions: In this section, you are going to read a passage with ten statements attached to it. Each statement contains information given in one of the paragraphs. Identify the paragraph from which the information is derived. You may choose a paragraph more than once. Each paragraph is marked with a letter. Answer the questions by marking the corresponding letter on Answer Sheet 2.

相关主题
文本预览
相关文档 最新文档