Topic Practice · Basics
Operators problems
50 problems: 22 Easy, 18 Medium, 10 Hard.
✓1. Last Digit
5 test casesEasy✓2. Even?
5 test casesEasy✓3. Power
5 test casesEasy✓4. Share the Sweets
5 test casesEasy✓5. Compare
4 test casesEasy✓6. In Range
6 test casesEasy✓7. Both Positive
5 test casesEasy✓8. Order of Operations
4 test casesEasy✓9. What Is Left Over?
4 test casesEasy✓10. Square Root With a Power
4 test casesEasy✓11. Between Two Numbers
4 test casesEasy✓12. Weekend Picnic
4 test casesEasy✓13. Four Operations
4 test casesEasy✓14. Remainder
4 test casesEasy✓15. Floor Division Rounds Down
4 test casesEasy✓16. At Least the Pass Mark
4 test casesEasy✓17. Add With +=
4 test casesEasy✓18. Both Even
4 test casesEasy✓19. Either Is Zero
4 test casesEasy✓20. Different?
4 test casesEasy✓21. Exact Division
4 test casesEasy✓22. Strictly Between
4 test casesEasy✓23. Divisible by 3 and 5
6 test casesMedium✓24. Exactly One
5 test casesMedium✓25. Sum of Digits
5 test casesMedium✓26. Reverse Two Digits
5 test casesMedium✓27. Hypotenuse
4 test casesMedium✓28. Leap Year (one expression)
5 test casesMedium✓29. Average and Remainder
4 test casesMedium✓30. Not Not
4 test casesMedium✓31. Augmented Assignment
4 test casesMedium✓32. is vs ==
4 test casesMedium✓33. Permission Flags
4 test casesMedium✓34. Add Minutes to a Time
4 test casesMedium✓35. Reverse a Three-Digit Number
4 test casesMedium✓36. Larger Without if
4 test casesMedium✓37. Inside the Circle?
4 test casesMedium✓38. Bitwise AND, OR, XOR
4 test casesMedium✓39. Minutes Between Two Times
4 test casesMedium✓40. Multiply With Shifts
4 test casesMedium✓41. Count the Ones
5 test casesHard✓42. Power of Two
6 test casesHard✓43. Clock Arithmetic
5 test casesHard✓44. Buses Needed
5 test casesHard✓45. Swap With XOR
4 test casesHard✓46. Digits by Arithmetic
4 test casesHard✓47. Gray Code
4 test casesHard✓48. Next Power of Two
5 test casesHard✓49. Day of the Week by Formula
4 test casesHard✓50. Check an ISBN-10
5 test casesHard
5 test casesEasy✓2. Even?
5 test casesEasy✓3. Power
5 test casesEasy✓4. Share the Sweets
5 test casesEasy✓5. Compare
4 test casesEasy✓6. In Range
6 test casesEasy✓7. Both Positive
5 test casesEasy✓8. Order of Operations
4 test casesEasy✓9. What Is Left Over?
4 test casesEasy✓10. Square Root With a Power
4 test casesEasy✓11. Between Two Numbers
4 test casesEasy✓12. Weekend Picnic
4 test casesEasy✓13. Four Operations
4 test casesEasy✓14. Remainder
4 test casesEasy✓15. Floor Division Rounds Down
4 test casesEasy✓16. At Least the Pass Mark
4 test casesEasy✓17. Add With +=
4 test casesEasy✓18. Both Even
4 test casesEasy✓19. Either Is Zero
4 test casesEasy✓20. Different?
4 test casesEasy✓21. Exact Division
4 test casesEasy✓22. Strictly Between
4 test casesEasy✓23. Divisible by 3 and 5
6 test casesMedium✓24. Exactly One
5 test casesMedium✓25. Sum of Digits
5 test casesMedium✓26. Reverse Two Digits
5 test casesMedium✓27. Hypotenuse
4 test casesMedium✓28. Leap Year (one expression)
5 test casesMedium✓29. Average and Remainder
4 test casesMedium✓30. Not Not
4 test casesMedium✓31. Augmented Assignment
4 test casesMedium✓32. is vs ==
4 test casesMedium✓33. Permission Flags
4 test casesMedium✓34. Add Minutes to a Time
4 test casesMedium✓35. Reverse a Three-Digit Number
4 test casesMedium✓36. Larger Without if
4 test casesMedium✓37. Inside the Circle?
4 test casesMedium✓38. Bitwise AND, OR, XOR
4 test casesMedium✓39. Minutes Between Two Times
4 test casesMedium✓40. Multiply With Shifts
4 test casesMedium✓41. Count the Ones
5 test casesHard✓42. Power of Two
6 test casesHard✓43. Clock Arithmetic
5 test casesHard✓44. Buses Needed
5 test casesHard✓45. Swap With XOR
4 test casesHard✓46. Digits by Arithmetic
4 test casesHard✓47. Gray Code
4 test casesHard✓48. Next Power of Two
5 test casesHard✓49. Day of the Week by Formula
4 test casesHard✓50. Check an ISBN-10
5 test casesHard