AtlasLog masuk
Black FridayHalf off Premium, through Sunday, Nov 29.See plans
AP Computer Science Principles · Unit test

Computer systems and networks practice test

Up to 15 AP Computer Science Principles questions on computer systems and networks, timed at the exam's pace and scored, new every time. Try 3 below first.

Take the computer systems and networks unit test →Try 3 questions

Computer systems and networks is 11%–15% of the AP Computer Science Principles exam's multiple choice. Learn it first in the computer systems and networks chapter.

3 free computer systems and networks practice questions

Real questions from the Atlas AP Computer Science Principles exam pool, with the answer and the working.

  1. In a computer network, devices A through H are connected as follows; each connection lets data travel in both directions.

    A–B, A–C, A–G, B–C, B–G, C–G, D–E, D–F, D–H, E–F, E–H, F–H, C–D, G–E

    What is the minimum number of connections that would have to fail before devices A and F could no longer communicate?

    1. A1
    2. B2
    3. C3
    4. D4
    Show the answer

    B.

    A, B, C and G are all connected to one another, as are D, E, F and H, but the two groups are joined only by C–D and G–E. If both of those fail, A cannot reach F; if any one connection fails, a path remains, so the answer is 2.

    1 overlooks the second link between the groups; 3 counts the connections of A (or F), but cutting the two links between the groups is enough; 4 has no basis.

  2. A program takes 120 seconds on one processor. Of that time, 40 seconds are steps that must run in sequence, and the other 80 seconds of work can be divided evenly among any number of processors running in parallel. What is the speedup when the program runs on 4 processors?

    1. A1.5
    2. B2
    3. C3
    4. D4
    Show the answer

    B.

    Speedup is the sequential time divided by the parallel time. On 4 processors the program takes 40 + 80/4 = 60 seconds, so the speedup is 120/60 = 2.

    1.5 divides by the parallel portion (120/80); 3 divides by the sequential portion alone (120/40); 4 assumes everything can run in parallel, but the sequential part limits the speedup.

  3. A file is 50 megabytes in size. It is sent over a connection with a bandwidth of 100 megabits per second. Ignoring any other delays, about how long does the transfer take? (1 byte = 8 bits.)

    1. A0.5 seconds
    2. B2 seconds
    3. C4 seconds
    4. D16 seconds
    Show the answer

    C.

    Bandwidth is the most data that can be sent in a fixed amount of time, here in bits per second. 50 megabytes is 400 megabits, and 400 ÷ 100 = 4 seconds.

    0.5 seconds treats megabytes as megabits; 2 seconds divides the bandwidth by the file size; 16 seconds does both the conversion and the division the wrong way round (100 × 8 ÷ 50).

Take the full unit test →AP Computer Science Principles practice exam

Questions people ask

What is in the AP Computer Science Principles Computer systems and networks practice test?
Up to 15 multiple-choice questions from this unit, plus a free-response question when the unit has one, timed at the real exam's pace and scored as a percent. The questions are new every time, drawn from a pool of checked questions.
How much of the AP Computer Science Principles exam is Computer systems and networks?
11% to 15% of the multiple-choice questions, by the College Board’s course and exam description.
Is it free?
The 3 questions on this page need no account. With a free Atlas account your first unit test is free; Atlas Premium has no limit.

Other AP Computer Science Principles units