Grade 12 · Computer science
Grade 12 Computer science practice
20 questions on data structures, data systems, algorithms & logic, digital literacy. The answer key is a separate download.
What is on the worksheet
A 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.
A sorted array has 262143 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.
A 277 MB payload is sent over a constant 180 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
A 781 MB payload is sent over a constant 145 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
An outer loop runs 29 times. Each time, an inner loop prints once on each of 10 iterations. How many prints occur?
An outer loop runs 30 times. Each time, an inner loop prints once on each of 28 iterations. How many prints occur?
What should alternative text for an informative chart convey?
An outer loop runs 5 times. Each time, an inner loop prints once on each of 13 iterations. How many prints occur?
A 861 MB payload is sent over a constant 115 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
An outer loop runs 22 times. Each time, an inner loop prints once on each of 18 iterations. How many prints occur?
A 826 MB payload is sent over a constant 140 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
An outer loop runs 26 times. Each time, an inner loop prints once on each of 29 iterations. How many prints occur?
A 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.
An outer loop runs 20 times. Each time, an inner loop prints once on each of 6 iterations. How many prints occur?
A 579 MB payload is sent over a constant 115 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
A 46 MB payload is sent over a constant 120 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
A sorted array has 511 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.
A 646 MB payload is sent over a constant 40 Mbps link. Use decimal MB and ignore overhead. Find transfer time. Round the final result to 4 decimal places if needed. Answer in s.
A 539 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.
A 408 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.
More worksheets like this
Grade 5 Computer science practice
20 questions
Grade 5 Algorithms & logic worksheet
20 questions
Grade 5 Digital literacy worksheet
20 questions
Grade 6 Computer science practice
20 questions
Grade 6 Algorithms & logic worksheet
20 questions
Grade 6 Digital literacy worksheet
20 questions