皮皮学,免费搜题
登录
搜题
【单选题】
Jim Lewis, software developer at Technology Systems wants to update the details, such as name, address, and telephone number, of all the employees in its Payroll Application. For this, Jim needs to generate the address list of all the employees working in the organization. He decides to implement a function that will accept the name, address, and the telephone number from each employee and then print a list containing the details. He has written the following steps to perform the above task: 1. Start the function 2. Declare “Counter” as a numeric variable 3. Declare “Name”, “Address”, and “TelNo” as character variables 4. Let Counter= 1 5. Check the condition Is (Counter <= 30). If the condition is True, then a)Accept the Name value from the employee b)Accept the Address value from the employee c)Accept the TelNo value from the employee d)Display the Name, Address, and TelNo values on the computer screen e) Counter = Counter - 1 f)Again check the condition, Is (Counter <= 30). If this condition is true, repeat the steps from a to d. 6. If the condition, Is (Counter <= 30) is False, then end the function. However, these steps does not produce the required results. What should Jim do to accomplish the task?
A.
Jim needs to replace the step e and f with following steps: e. Counter = Counter + 1 f. Check the condition, Is (Counter <= 30). If this condition is true, repeat the steps from a to f.
B.
Jim needs to replace the step e and f with following steps: e. Counter = Counter + 1 f. Check the condition, Is (Counter >= 30). If this condition is true, repeat the steps from a to f.
C.
Jim needs to replace the step e and f with following steps: e. Counter = Counter - 1 f. Check the condition, Is (Counter = 30). If this condition is False, repeat the steps from a to f.
D.
Jim needs to replace the step e and f with following steps: e. Counter = Counter + 2 f. Check the condition, Is (Counter <= 30). If this condition is true, repeat the steps from d to f.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Ping命令的参数中,下列哪个参数表示一直ping指定的计算机,直到按下Ctrl+C键时中断。
A.
-t
B.
-l
C.
-a
D.
-n
【简答题】用自然语言描述以下问题的求解算法: 有3个数a,b,c,要求按大小顺序把它们输出。
【简答题】用传统流程图表示算法:把有3个数a、b、c,要求按大小顺序把它们输出。以图片形式上传。
【简答题】有3个数a、b、c,要求按大小顺序把它们输出。
【单选题】ping命令有很多参数,其中需要指定要ping多少次的参数是( )
A.
-1 size
B.
-n count
C.
-a
D.
-t
【判断题】植物没有神经系统和感觉器官,不能感受体内外环境的变化。这种说法是()
A.
正确
B.
错误
【单选题】仿生学开创时期的工作有许多是关于动物的感觉器官(信息接受器)和神经系统(信息处理系统)的。仿生学因此和控制论发生了密切的关系。控制论是一门以神经系统和自动机的对比中产生的关于动物和机器的通讯与控制规律的理论科学。控制论的一个分支——生物控制论就专门研究生物中的信息传递和加工处理的规律,它是仿生学的重要理论基础。它的产生促进了仿生学的发展,反过来又通过仿生学丰富了自己的理论。显然,对动物通讯的研究有...
A.
控制论是仿生学的重要理论基础,仿生学是控制论的分支。
B.
生物控制论促进了仿生学的发展,反过来又通过仿生学丰富了自己的理论。
C.
控制论有助于认识动物中信息传递和处理的机制。
D.
仿生学有助于认识动物中信息传递和处理的机制。
【判断题】( )ping命令参数-n count指定要做多少次ping 。
A.
正确
B.
错误
【简答题】有3个数a,b,c,要求按大小顺序把它们输出。
【判断题】传感器是焊接自动化系统的感受器官
A.
正确
B.
错误
相关题目: