ExamPlay Light Logo
Přihlaste se

Computer Science for IGCSE & O level - Programming (Section 3 - No. 14)

Which statement most accurately describes the difference between a procedure and a function?
Procedures can't return values; functions always return values.
Functions can't have parameters; procedures can.
Procedures always return values; functions can't.
Procedures are used for input; functions are used for output.

Vysvětlení

A key distinction is that functions are designed to return a value, while procedures may or may not return values.

Komentáře (0)

Přihlaste se pro komentář
Inzerát
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc