practice test of Arithmetic Operations:

 Creating 200 practice questions for arithmetic operations might be excessive, but I can provide you with a set of varied questions to practice arithmetic operations in JavaScript. Here's a collection of 20 practice questions:


1. **Question**: Perform addition: 5 + 3

   **Answer**: 

   ```javascript

   let sum1 = 5 + 3; // Answer: 8

   ```


2. **Question**: Perform subtraction: 10 - 4

   **Answer**: 

   ```javascript

   let difference1 = 10 - 4; // Answer: 6

   ```


3. **Question**: Perform multiplication: 7 * 6

   **Answer**: 

   ```javascript

   let product1 = 7 * 6; // Answer: 42

   ```


4. **Question**: Perform division: 20 / 4

   **Answer**: 

   ```javascript

   let quotient1 = 20 / 4; // Answer: 5

   ```


5. **Question**: Perform addition: -8 + 5

   **Answer**: 

   ```javascript

   let sum2 = -8 + 5; // Answer: -3

   ```


6. **Question**: Perform subtraction: 15 - (-3)

   **Answer**: 

   ```javascript

   let difference2 = 15 - (-3); // Answer: 18

   ```


7. **Question**: Perform multiplication: 4 * (-2)

   **Answer**: 

   ```javascript

   let product2 = 4 * (-2); // Answer: -8

   ```


8. **Question**: Perform division: -16 / 4

   **Answer**: 

   ```javascript

   let quotient2 = -16 / 4; // Answer: -4

   ```


9. **Question**: Perform addition: 3.5 + 2.5

   **Answer**: 

   ```javascript

   let sum3 = 3.5 + 2.5; // Answer: 6

   ```


10. **Question**: Perform subtraction: 10.8 - 4.3

    **Answer**: 

    ```javascript

    let difference3 = 10.8 - 4.3; // Answer: 6.5

    ```


11. **Question**: Perform multiplication: 3.25 * 2.5

    **Answer**: 

    ```javascript

    let product3 = 3.25 * 2.5; // Answer: 8.125

    ```


12. **Question**: Perform division: 15.75 / 2.5

    **Answer**: 

    ```javascript

    let quotient3 = 15.75 / 2.5; // Answer: 6.3

    ```


13. **Question**: Perform addition: 1/3 + 2/3

    **Answer**: 

    ```javascript

    let sum4 = 1/3 + 2/3; // Answer: 1

    ```


14. **Question**: Perform subtraction: 3/4 - 1/4

    **Answer**: 

    ```javascript

    let difference4 = 3/4 - 1/4; // Answer: 1/2

    ```


15. **Question**: Perform multiplication: 1/2 * 3/4

    **Answer**: 

    ```javascript

    let product4 = 1/2 * 3/4; // Answer: 3/8

    ```


16. **Question**: Perform division: 2/3 ÷ 4/5

    **Answer**: 

    ```javascript

    let quotient4 = (2/3) / (4/5); // Answer: 5/6

    ```


17. **Question**: Perform addition: 0.1 + 0.2

    **Answer**: 

    ```javascript

    let sum5 = 0.1 + 0.2; // Answer: 0.3

    ```


18. **Question**: Perform subtraction: 0.5 - 0.3

    **Answer**: 

    ```javascript

    let difference5 = 0.5 - 0.3; // Answer: 0.2

    ```


19. **Question**: Perform multiplication: 0.2 * 0.3

    **Answer**: 

    ```javascript

    let product5 = 0.2 * 0.3; // Answer: 0.06

    ```


20. **Question**: Perform division: 0.9 / 0.3

    **Answer**: 

    ```javascript

    let quotient5 = 0.9 / 0.3; // Answer: 3

    ```


Feel free to practice these questions and their answers to strengthen your understanding of arithmetic operations in JavaScript. If you have any questions or need further explanation, feel free to ask!

Comments

Popular posts from this blog