What does the term mean?

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” => […]

What does the term 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…”  […]

What does the term 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 […]

What does the term 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 […]

What does the term 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 […]

What does the term 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 […]

What does the term 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, […]

Today I hope to have the final week of my Data Analysis course completed. As I hurt my back over the weekend, however, I might not be able to. Sitting at my desk on a dining chair is not the best idea and a computer chair should probably be on the list of things to […]

What does the term mean?

A type of operator which compares two input values, called operands. Expressions using this type of operator always return one of two values: true or false. For example, if you were to ask if the number 2, the same as the number 3, 2 = 3? This would return false. If instead you were to […]