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 Array operatorItems tagged with “Programming”
What does the term String operator mean?
A type of operator which allows you to perform join different strings together. Although they vary in how they are written between languages, the string operators are roughly as follows: Operator Example Description . “my name is…” . “Joe…” returns “my name is…Joe…” Concatenates or joins two strings together .= “my name is…” += “Joe…” […]
Read the full article String operator- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on String operator
What does the term Increment/decrement operator mean?
A type of operator which allows you to increase or decrease a particular variable by 1. Depending on the language, the result can be returned. Although they vary in how they are written between languages, the increment / decrement operators are roughly as follows: Operator Example Description ++x ++2 adds 1 to 2 and then […]
Read the full article Increment/decrement operator- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Increment/decrement operator
What does the term Arithmetic operator mean?
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 Arithmetic operator- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Arithmetic operator
What does the term Type operator mean?
A type of operator which tells you how a particular piece of code or variable is stored in your program. Type operators are not available in all programming languages. Although they vary in how they are written between languages, the type operators are roughly as follows: Operator Example Description typeof typeof “John” returns “string” typeof […]
Read the full article Type operator- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Type operator
What does the term Assignment operator mean?
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 Assignment operator- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Assignment operator
What does the term Operand mean?
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.
Read the full article Operand- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Operand
What does the term Empty value mean?
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 […]
Read the full article Empty value- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Empty value
What does the term Logical operator mean?
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, […]
Read the full article Logical operator- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on Logical operator
What does the term If statement mean?
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’ […]
Read the full article If statement- person Michelle-Louise - also known as Michelle-Louise Janion (Michelle-Louise, Janion) and Jambonium jambonium.co.uk Logo for jambonium.co.uk
- today
- update
- mode_comment No Comments on If statement