Tag: Programming

Glossary: Assignment operator

Posted on

A type of operator which uses numbers to assign a value to a variable. It is made up of two operands one of which being your variable, or an operand (your variable) and an expression. For example, if you were to say x = 3 the letter x is your variable and 3 is your […]

Glossary: Operand

Posted on

An operand is a term in both maths and programming. It decribes an item that can be modified in some way by having an operation performed upon it. Taking a basic sum 1 + 2. Both the number 1 and 2 act as operands, the + is an operator.

Glossary: Empty value

Posted on

Variables that do not have a value stored in them. For example, if you want to store the number of litres of water you have drank today, you may have a variable called number-of-litres. If you’re not sure how many litres you have drunk, perhaps because it is only half-way though the day and there […]

Glossary: Logical operator

Posted on

A type of operator which combines multiple statements. For example, you have the attributes ‘cat’ and ‘dog’: if a person likes cats you’d set the value of that attribute to ‘yes’, and if they did not you’d set the value to ‘no’, and the same goes for dogs. If you used an operator of AND, […]

Glossary: If statement

Posted on

An if statement is a way of telling a computer to only perform a specific task under some circumstances. It is considered a conditional statement. If statments, depending on the language you use, consist of ‘if’, ‘if else’ and ‘else’. You can have as many ‘if else’ parts as you like, but only one ‘if’ […]