What is the main advantage of using a function in a program?
Answer and explanation
Correct answer: B. Code can be reused and tested separately
- Step 1: Functions group steps that can be called many times.
Answer
Code can be reused and tested separately.
Why not the others: The program runs without a computer, The code becomes shorter in memory only and The program no longer needs input do not fit.
Practise more Networks, security and data.
Free questions with an explanation for every one, and full timed Saudi Secondary School Certificate mock tests.
More Networks, security and data questions
- How many usable host addresses are in a network with prefix /30?
- How many usable host addresses are in a network with prefix /25?
- How many usable host addresses are in a network with prefix /29?
- How many usable host addresses are in a network with prefix /24?
- How many usable host addresses are in a network with prefix /26?
- How many usable host addresses are in a network with prefix /27?