Q1
True / FalseIn MySQL, the + operator can be used to add two numeric values.
The + operator in MySQL is used to perform addition on two numeric values.
Q2
True / FalseIn MySQL, the * operator is used for division.
The * operator in MySQL is used for multiplication, not division. The / operator is used for division.
Q3
True / FalseIn MySQL, the - operator can subtract one numeric value from another.
The - operator in MySQL is used to subtract one numeric value from another.
Q4
True / FalseIn MySQL, using the % operator with two integers returns the quotient of the division.
The % operator in MySQL is used to return the remainder (modulus) of the division, not the quotient.
Q5
True / FalseMySQL supports the use of parentheses () to change the precedence of arithmetic operations.
Parentheses can be used in MySQL to change the order of operations in arithmetic expressions.
Q6
True / FalseIn MySQL, 5 / 2 returns 2.5.
In MySQL, dividing two integers returns a floating-point result if the division is not exact.
Q7
True / FalseIn MySQL, the DIV operator is used for integer division and discards the fractional part.
The DIV operator in MySQL performs integer division, discarding any fractional part of the result.
Q8
True / FalseIn MySQL, the expression 10 MOD 3 returns 3.
The MOD operator in MySQL returns the remainder of the division. 10 MOD 3 returns 1.
Q9
True / FalseMySQL does not allow the use of arithmetic operators on date values.
MySQL allows the use of arithmetic operators on date values for date calculations, such as adding or subtracting days.
Q10
True / FalseIn MySQL, 7.0 / 2 returns 3.5, demonstrating MySQL's ability to handle floating-point division
In MySQL, dividing a floating-point number by an integer (or vice versa) returns a floating-point result.