GACE Computer Science (725)
GACE Computer Science (725) is a trademark of its owner, which is not affiliated with and does not endorse Test Treasure Publication or TTP Prep.
GACE Computer Science (725) is a trademark of its owner, which is not affiliated with and does not endorse Test Treasure Publication or TTP Prep.
10 sample questions for the GACE Computer Science (725), with the correct answer and an explanation for each. No account needed. Try each one before you open the answer.
Sections covered on the exam: Algorithms and Computational Thinking, Quicksort Partition, Programming Concepts and Development, Instructional Practices in Computer Science, Impacts of Computing, Computing Systems and Architecture, Data and Information, Independent vs Chained Ifs, Software Development Practices, Networks and the Internet, Emerging Technologies, Spreadsheet Aggregation, Accumulator Initialization, Palindrome Checking, Dictionary Counting.
Question 1 · Algorithms and Computational Thinking
Answer: B. Decomposition, because she is breaking one large problem into smaller, manageable parts
Splitting a complex problem into smaller subproblems that can be solved and tested independently is decomposition. Abstraction (the most tempting distractor) means filtering out irrelevant detail to focus on what matters, which is not what the sticky-note list does.
Question 2 · Programming Concepts and Development
Answer: B. 48 seconds
Multiplying n by 4 multiplies an n² running time by 4² = 16, so 3 × 16 = 48 seconds. Twelve seconds assumes linear growth, and 192 seconds treats the growth as n³.
Question 3 · Computing Systems and Architecture
Answer: A. 3 11
47 / 12 is about 3.92, and int() truncates it to 3 full boxes. 47 % 12 is the remainder after 3 * 12 = 36, which is 11. Answer "4 11" rounds the quotient up, which would count a partially filled box as full.
Question 4 · Programming Concepts and Development
Answer: D. It prints the four scores, then stops with an index-out-of-range error
The valid indices are 0 through 3, but the condition i <= len(scores) also allows i = 4. After printing the four scores, the loop tries scores[4] and raises an IndexError. The fix is to use i < len(scores).
Question 5 · Computing Systems and Architecture
Answer: C. -6
To read a negative two's complement value, invert the bits (00000101) and add 1 (00000110 = 6), so the value is -6. Reading 250 treats the pattern as unsigned, and -5 comes from inverting without adding 1.
Question 6 · Algorithms and Computational Thinking
Answer: B. 4, then 81
The loop repeats until x exceeds 50: x becomes 3, 9, 27, then 81, and count is incremented each time, giving count = 4. The condition is checked only after each full pass, so x overshoots to 81; answering 3 and 27 stops one pass too early, as if the loop ended when x reached its last value at or below 50.
Question 7 · Instructional Practices in Computer Science
Answer: A. About 18 seconds
Tripling n multiplies a quadratic running time by 3² = 9, so 2 s × 9 = 18 s. The answer of 6 seconds assumes linear growth, and 27 seconds would match cubic growth (3³).
Question 8 · Programming Concepts and Development
Answer: B. 15; O(n^2)
For i = 0 through 5, the inner loop runs 5, 4, 3, 2, 1, 0 times, totaling 15 = n(n-1)/2, which grows quadratically. The value 21 = n(n+1)/2 would require j to start at i rather than i + 1, and calling the count O(n) ignores that the inner loop's length depends on n.
Question 9 · Algorithms and Computational Thinking
count_down(5) is called?Answer: B. It prints 5, 3, 1, -1, -3, ... until a RecursionError occurs
Subtracting 2 from an odd number never reaches 0, so the base case n == 0 is skipped and the calls continue into negative numbers until Python's recursion limit raises RecursionError. Using if n <= 0: as the base case would stop after printing 5, 3, 1.
Question 10 · Computing Systems and Architecture
Answer: B. (255, 128, 0)
FF = 15(16) + 15 = 255, 80 = 8(16) + 0 = 128, and 00 = 0, so the color is (255, 128, 0), an orange. The (255, 80, 0) option reads the hex digits 80 as if they were a decimal number.
TTP Prep has 200 GACE Computer Science (725) practice questions with explanations, timed and mock-exam modes, 239 flashcards, interactive lessons, a printable cheat sheet and a readiness score. Start free, no card needed.
More free questions: browse every exam.