StudyBrixFree worksheets, study guides and courses

Grade 7 · Computer science

Grade 7 Computer science practice

20 questions on digital literacy, algorithms & logic. The answer key is a separate download.

What is on the worksheet

  1. A file shrinks from 440 KB to 242 KB. What percentage of its original size was saved?

  2. An image is 240 pixels wide and 60 pixels high. How many pixels does it contain?

  3. An image is 340 pixels wide and 260 pixels high. How many pixels does it contain?

  4. FOR i FROM 8 TO 164 INCLUSIVE STEP 6: print i. How many numbers are printed?

  5. How many bits are in 2043 bytes?

  6. FOR i FROM 5 TO 77 INCLUSIVE STEP 8: print i. How many numbers are printed?

  7. How many bits are in 163 bytes?

  8. Start with total = 13. Repeat 11 times: add 15 to total. What is the final total?

  9. Using zero-based indexing, what is values[4] for values = [45, 7, 89, 59, 95]?

  10. Start with total = 6. Repeat 36 times: add 14 to total. What is the final total?

  11. Using zero-based indexing, what is values[0] for values = [28, 90, 64, 99, 24]?

  12. Convert the binary number 1100010010 to decimal.

  13. Convert the binary number 1010100111 to decimal.

  14. Convert the binary number 1101100101 to decimal.

  15. A file shrinks from 700 KB to 280 KB. What percentage of its original size was saved?

  16. A file shrinks from 800 KB to 40 KB. What percentage of its original size was saved?

  17. Convert the binary number 1000000 to decimal.

  18. Convert the binary number 101010 to decimal.

  19. Using zero-based indexing, what is values[4] for values = [48, 93, 34, 40, 59]?

  20. FOR i FROM 5 TO 65 INCLUSIVE STEP 5: print i. How many numbers are printed?

More worksheets like this