Recall & Review
beginner
What does the '+' operator do in PowerShell?
The '+' operator adds two numbers together. For example, 3 + 2 equals 5.
Click to reveal answer
beginner
How do you perform multiplication in PowerShell?
Use the '*' operator to multiply numbers. For example, 4 * 5 equals 20.
Click to reveal answer
beginner
What is the result of 10 % 3 in PowerShell?
The '%' operator gives the remainder of division. 10 % 3 equals 1 because 3 goes into 10 three times with 1 left over.
Click to reveal answer
beginner
How do you subtract numbers in PowerShell?
Use the '-' operator to subtract. For example, 7 - 4 equals 3.
Click to reveal answer
beginner
What operator divides numbers in PowerShell?
The '/' operator divides numbers. For example, 20 / 4 equals 5.
Click to reveal answer
Which operator in PowerShell gives the remainder after division?
✗ Incorrect
The '%' operator is the modulus operator and returns the remainder after division.
What is the result of 8 + 5 in PowerShell?
✗ Incorrect
8 + 5 equals 13 using the addition operator '+'.
How do you multiply 6 by 7 in PowerShell?
✗ Incorrect
The '*' operator multiplies numbers, so 6 * 7 equals 42.
What does the '/' operator do in PowerShell?
✗ Incorrect
The '/' operator divides numbers.
What is the result of 15 - 9 in PowerShell?
✗ Incorrect
15 - 9 equals 6 using the subtraction operator '-'.
Explain how to use the basic arithmetic operators in PowerShell with examples.
Think about simple math operations you do every day.
You got /5 concepts.
Describe what the modulus operator (%) does and give a real-life example.
Imagine sharing candies equally and seeing how many are left.
You got /3 concepts.