In a computer program, a parameter may be passed to a procedure by value. Explain how this method works.

Parameters are variables sent to procedures so that the procedures are able to use them. There are two main ways of passing parameters, one of which is by value: Passing a parameter by value is where a copy of the variable you want to send is made, and sent to the procedure as a new variable. This means that any changes made to this new variable within the procedure will not affect the original variable.

Answered by Aymen Q. Computing tutor

2032 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Write pseudocode for the binary search algorithm and state, with an explanation, it's worst case complexity in big-O notation


Define resolution in regards to images and how it differs from colour depth


Convert 10101100 to decimal.


A computer stores floating point numbers of size 1 byte, with 3 bits for the mantissa and 5 bits for the exponent. State what the effects would be on the stored numbers if instead 5 bits were used for the mantissa and 3 bits were used for the exponent.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences