A type of operator which uses numbers to perform simple mathematic equations. It is made up of two operands . For example, if you were to say x + y the letters x and y are your operands. When you then ask the computer to show you the value of this expression you would get[…] Read the full article.
A type of variable that can store multiple pieces of information and sort these pieces in a specified manner. Arrays store values, sometimes alongside a key that identifies that value. Stroed values can be retrieved at another point, or be modified. An array lets you add new items, delete items and rearrange the items inside[…] Read the full article.
A type of operator which allows you to perform actions on two or more arrays and their contents. Although they vary in how they are written between languages, the array operators are roughly as follows: Operator Example Description + apples=[“russet”=>2,”cox”=>5,”golden delicious”=>2] pears=[“dessert”=>3, “conference”=>2] apples + pears returns [“russet” => 2, “cox” => 5, “dessert” =>[…] Read the full article.
The value stored in a variable. For example if your variable is a box used to store teddy bears, then the teddy bears are the assignment.
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[…] Read the full article.
Something that defines a particular property of an object and usually consists of a name and a value. Sometimes this is referred to as metadata. Using a blog as an example, you could have ‘category’ as the name, and either ‘coding’, ‘personal’, ‘web design’ etc. as the value.
Operators that affect two variables. The use of – to subtract one number from another is binary.
A type of operator that can group input values together. These are similar to logical operators but only work with bits – the 1s and 0s of machine code). Operator Example Description & (AND) AND Sets each bit to 1 if both bits are 1 | (OR) OR Sets each bit to 1 if one[…] Read the full article.
A data type that has one of two fixed values: true or false. Booleans can also return 0 and 1, or even 0 and -1, depending on the program or programming language.
A class is a chunk of code that performs a certain function within your program. In object-oriented programming a class is a template, or the building blocks, for an object. If you had a class of dog it would contain everything that a dog has such as what type of tail it has, what colour[…] Read the full article.