Computer Science Programming Basics - Operators 0.0 / 5 ? ComputingProgrammingRepresenting dataGCSENone Created by: x.precious.xCreated on: 12-05-20 12:55 The arithmetic operators do this Take two values and perform a maths function on them 1 of 10 These are the operators involved Addition, subtraction, multiplication, division, exponentiation, DIV and MOD 2 of 10 This operator is used to raise a number to a power Exponentiation operator 3 of 10 This operator returns the whole number part of a division DIV operator 4 of 10 This operator gives the remainder part of a division MOD 5 of 10 The operators follow this rule BIDMAS/BODMAS 6 of 10 This operator is used to assign values to constants or variables Assignment operator 7 of 10 This should be on the left side of the = The name of the constant or variable 8 of 10 This should be on the right side of the = Whatever you're assigning it to 9 of 10 This operator compares the expresson on the left side to the expression on the right side, and produces a boolean value Comparison Operator 10 of 10
Comments
No comments have yet been made