StudyBrixFree worksheets, study guides and courses

Grade 11 · Computer science

Grade 11 Computer science practice

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

What is on the worksheet

  1. An outer loop runs 26 times. Each time, an inner loop prints once on each of 21 iterations. How many prints occur?

  2. A raw image is 47 × 55 pixels with 3 bytes per pixel. Ignoring headers and compression, how many bytes?

  3. An outer loop runs 13 times. Each time, an inner loop prints once on each of 29 iterations. How many prints occur?

  4. A raw image is 150 × 63 pixels with 4 bytes per pixel. Ignoring headers and compression, how many bytes?

  5. A 502 MB payload is sent over a constant 200 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.

  6. An outer loop runs 25 times. Each time, an inner loop prints once on each of 26 iterations. How many prints occur?

  7. A raw image is 103 × 11 pixels with 4 bytes per pixel. Ignoring headers and compression, how many bytes?

  8. An outer loop runs 27 times. Each time, an inner loop prints once on each of 26 iterations. How many prints occur?

  9. An outer loop runs 17 times. Each time, an inner loop prints once on each of 8 iterations. How many prints occur?

  10. An outer loop runs 24 times. Each time, an inner loop prints once on each of 20 iterations. How many prints occur?

  11. An outer loop runs 8 times. Each time, an inner loop prints once on each of 17 iterations. How many prints occur?

  12. A 248 MB payload is sent over a constant 15 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.

  13. A raw image is 27 × 89 pixels with 4 bytes per pixel. Ignoring headers and compression, how many bytes?

  14. A sorted array has 63 entries. Binary search always inspects a middle entry. What is the largest number of inspected entries for a successful search? Round the final result to 4 decimal places if needed.

  15. A raw image is 133 × 185 pixels with 2 bytes per pixel. Ignoring headers and compression, how many bytes?

  16. A raw image is 108 × 21 pixels with 2 bytes per pixel. Ignoring headers and compression, how many bytes?

  17. A raw image is 97 × 35 pixels with 3 bytes per pixel. Ignoring headers and compression, how many bytes?

  18. A raw image is 133 × 33 pixels with 4 bytes per pixel. Ignoring headers and compression, how many bytes?

  19. A 710 MB payload is sent over a constant 60 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.

  20. A raw image is 133 × 153 pixels with 4 bytes per pixel. Ignoring headers and compression, how many bytes?

More worksheets like this