StudyBrixFree worksheets, study guides and courses

Grade 12 · Computer science

Grade 12 Computer science diagnostic

15 questions on data systems, algorithms & logic and data structures, plus 3 from Grade 11. Answer what you can, then check your answers to see which topics are secure and what to practise next.

15 questions3 topicsAbout 15 minutesSet 1 of 5

Skip a question if you do not know the answer. It is better than guessing, because it shows what to practise.

1Algorithms & logicAn outer loop runs 10 times. Each time, an inner loop prints once on each of 13 iterations. How many prints occur?
2Algorithms & logicAdvanced computing concepts: which term fits this description? A field or field combination that refers to a key in a related table.
3Algorithms & logicAn outer loop runs 8 times. Each time, an inner loop prints once on each of 29 iterations. How many prints occur?
4Algorithms & logicAdvanced computing concepts: which term fits this description? A formatted unit of data transmitted through a network.
5Data structuresA sorted array has 8191 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.
6Data structuresA sorted array has 127 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.
7Data structuresA sorted array has 1048575 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.
8Data structuresA sorted array has 15 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.
9Data systemsA 837 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.
s
10Data systemsA 640 MB payload is sent over a constant 65 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
s
11Data systemsA 834 MB payload is sent over a constant 20 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
s
12Data systemsA 831 MB payload is sent over a constant 125 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
s

From Grade 11

These questions check skills from the grade below, so gaps can be spotted early.

13Digital literacy (Grade 11)A raw image is 86 × 103 pixels with 2 bytes per pixel. Ignoring headers and compression, how many bytes?
14Algorithms & logic (Grade 11)Python: 17 % 5. What value is returned?
15Digital literacy (Grade 11)A raw image is 144 × 37 pixels with 3 bytes per pixel. Ignoring headers and compression, how many bytes?