Nepedia
Back to Discover
Developing Reader
💻

Parameter (computer programming)

technology Maturity 11-13 Next article →

Computers use special sets of rules. These rules tell the computer how to work. A rule might need some information to start. This information is called an argument.

Inside the rule, there are empty spots. These spots are called parameters. They wait for the information to arrive.

When you give the information, it fills the spots. This helps the computer do a task. For example, it can add numbers together.

You can give one piece of info or many. Some rules even have a default value. This is a value used if you skip one.

It is important to give the right info. If you give too little, the computer might fail.

112 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.