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 4 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 13 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 27 times. Each time, an inner loop prints once on each of 13 iterations. How many prints occur?
4Algorithms & logicAdvanced computing concepts: which term fits this description? Checking that an entity is who or what it claims to be.
5Data structuresA 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.
6Data structuresA sorted array has 1023 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 65535 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 255 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 577 MB payload is sent over a constant 80 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 444 MB payload is sent over a constant 170 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 536 MB payload is sent over a constant 165 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 116 MB payload is sent over a constant 160 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 24 × 35 pixels with 1 bytes per pixel. Ignoring headers and compression, how many bytes?
14Algorithms & logic (Grade 11)Python: not (4 > 9) evaluates to
15Digital literacy (Grade 11)A raw image is 134 × 181 pixels with 3 bytes per pixel. Ignoring headers and compression, how many bytes?