Word
subprograms
子程序
subprograms is the plural of subprogram.
核心释义
a set sequence of steps, part of larger computer program
- 1.
包含在更大程序中的程序
A program contained within a larger program.
包含在更大程序中的程序;子程序;[电] 子程序
用法In use
The main program calls a subprogram to calculate the square root.
用法提示:此处 subprogram 为名词,表示被主程序调用的子程序。
Each subprogram in the library is designed to perform a specific task.
用法提示:subprogram 用作名词,指库中一个个独立的子程序。
Debugging a complex subprogram can be time-consuming.
用法提示:subprogram 为名词,作为动名词短语 Debugging 的宾语。
subprogram that does sth
子程序常被主程序调用。
The main program calls a subprogram that calculates the square root.
主程序调用一个计算平方根的子程序。
call/execute a subprogram
相关词与表达Connections
易混词Confusing words
- subroutine
- 子程序 · 子程序(subroutine)与子程序(subprogram)基本同义,但‘subroutine’更常见于编程语境,强调可被重复调用的代码块;而‘subprogram’是更正式的术语,泛指任何程序内部调用的独立单元。
- function
- 函数 · 函数(function)通常有返回值,而子程序(subprogram)不一定返回值,可以包含无返回的过程;在编程中,函数是子程序的一种特定类型。
- procedure
- 过程 · 过程(procedure)通常不返回值,而子程序(subprogram)可以包括有返回值的函数和无返回的过程;‘procedure’特指无返回的子程序。
词族Word family
- subprograms
- plural
学习提示Learner notes
一起学习词形Learn the forms together
页面下方列出了常见词形变化。学习时注意它们在句子中的语法位置。
Dictionary facts from ECDICT, WIKTIONARY.