3.2.5 Set List

Question: Variable

Answer: a named location in the computers memory that a programmer can use to store data. Variables can be changed while the program is running.

Question: Constant

Answer: A constant must be given a value when declared and this value cannot be changed within a running program.

Question: Identifier

Answer: The name given to a particular variable or function.

Question: Key/Reserved word

Answer: A word that is already used within the language such as python so is then no able to be used as anything else. e.g "if"

Question: Ways to make code easy to read and understand

Answer: Indentations, comments, Sensible variable and function names, consistent naming, modular design, initialising variables and using constants.

Question: Global variables

Answer: Available throughout the program

Question: Local variables

Answer: Only available within a specific subroutine

Question: Variable names

Answer: Clear sensible variable names help when making code

Question: Camel Case

Answer: First letter lower case, new word starts with capital. "computingIsFun"

Question: Bubble Case

Answer: All new words start with a capital

Question: Initialising a variable

Answer: Giving it a value before it is used so that the variable starts at the correct value

Question: Comments

Answer: notes of explanation around the code

Question: Indentation

Answer: Makes code easier to read and helps avoid errors when running the code

Question: Importance of Good Programming Techniques

Answer: If working in team, code is easier to update, maintain and understand

Question: Scope of Variables

Answer: The globalisation of a variable - global or local

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.