subprogram call 子程序调用
subprogram block 子程序块
subprogram execution 子程序执行
subprogram structure 子程序结构
nested subprogram 嵌套子程序
1. The main program calls a subprogram to process data.
主程序调用一个子程序来处理数据。
2. Each subprogram handles a specific function.
每个子程序负责一个特定功能。
3. The software is divided into several subprograms for clarity.
该软件被划分为多个子程序以便清晰管理。
4. Debugging a subprogram is easier than debugging the whole system.
调试子程序比调试整个系统更容易。
A: What is a subprogram in this code?
A:这段代码中的subprogram是什么?
B: It is a smaller function used by the main program.
B:它是主程序使用的一个较小功能模块。
1) 程序中的独立功能模块
2) 可被主程序调用的代码单元
3) 用于结构化编程的基本组成部分
4) 提高代码复用性的程序片段
1. 子程序;子程序模块
e.g. The subprogram is executed after the main function.
子程序在主函数之后执行。
2. 程序中的功能分块
e.g. Each subprogram performs a different task.
每个子程序执行不同的任务。
3. 可调用的代码单元
e.g. The subprogram can be reused in other projects.
该子程序可在其他项目中重复使用。
noun
1. A smaller part of a computer program designed to perform a specific task and be called by a main program.
Synonym: subroutine, function, module