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

2076 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Convert the hexadecimal '3E', which represents a 2's compliment binary number, in decimal.


Explain how the even parity system works when transmitting ASCII codes. Include a description of the roles of the sending device and the receiving device during transmission.


What is method "Overloading" in object-oriented programming (OOP) ?


A binary, 8-bit floating point number 0111 0010 is said to have a 4-bit mantissa and a 4-bit exponent. What is meant by the terms 'mantissa' and 'exponent'? What is the value of this 8-bit binary floating point number?


We're here to help

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

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences