NauczycieleDla nauczycieliNarzędziaCennikAppAplikacja mobilna
Zaloguj się
Zacznij za darmoZacznij za darmo
Zapytaj Bo
  • Plan nauki AIZaplanuj każdy dzień do egzaminu
  • Zapytaj Bo o wszystkoOdpowiedzi z twoich wykładów, z odnośnikami
  • Fiszki z AIZrób mi talię do rozdziału 4
  • Image OcclusionZasłoń podpisy na schemacie
  • Egzaminy próbneStwórz próbny egzamin z 20 pytaniami
  • Mapy myśliPokaż, jak łączą się te pojęcia
  • Przewodniki do naukiStreść cały dział
  • Streszczenie z AIStreść piątkowy wykład
  • Quiz z AIOdpytaj mnie z rozdziału 4
  • ŚciągiJedna strona na egzamin
Zacznij za darmoZacznij za darmoZaloguj się
  • Plan nauki AI
  • Zapytaj Bo o wszystko
  • Fiszki z AI
  • Image Occlusion
  • Egzaminy próbne
  • Mapy myśli
  • Przewodniki do nauki
  • Streszczenie z AI
  • Quiz z AI
  • Ściągi
Dla nauczycieliNarzędziaCennikApp
Szkoła średnia i rekrutacja

Test próbny AP Computer Science Principles

  • Pytania: 15
  • Około 15 min
  • Za darmo

Pytania w teście pozostają po angielsku.

Pytanie 1 z 15

A student's program that averages three test scores runs without any error message, but it always reports an average that is too high. The code adds the three scores and divides by 2 instead of 3. What kind of error is this?

Uczysz się z własnych notatek? Stwórz własny test

Ćwicz dalej

  • Test próbnyTest próbny AP Statistics: jednostki 1 do 5Pytania: 15
  • Test próbnyTest próbny AP Precalculus: jednostki 1 do 3Pytania: 15
  • Test próbnyTest próbny APUSH: okresy od 1 do 9Pytania: 15
  • Test próbnyTest próbny AP PsychologyPytania: 15
  • Wszystkie quizy: Szkoła średnia i rekrutacjaQuizy: 46
  • Zobacz wszystkie darmowe quizy

Zrób własny

Wgraj swój podręcznik, slajdy albo notatki, albo po prostu powiedz Bo, czego chcesz się uczyć. Do startu nie potrzebujesz żadnego dokumentu.

Stwórz własny test

Darmowe konto, bez karty

O tym teście

To darmowa próbka 15 pytań w stylu części jednokrotnego wyboru z AP Computer Science Principles, napisana przez zespół StudyPDF na podstawie pięciu Big Ideas, które College Board publikuje dla tego kursu. Obejmuje twórcze projektowanie programów, dane, algorytmy i programowanie w pseudokodzie w stylu egzaminu, systemy komputerowe i sieci oraz wpływ informatyki na świat, mniej więcej w proporcjach, jakich używa egzamin. Znajdziesz wybór jednej odpowiedzi, zaznaczanie wszystkich pasujących i uzupełnianie luk. Odpowiedz na wszystkie 15 pytań, a potem sprawdź wynik i przeczytaj wyjaśnienie do każdego.

Wszystkie pytania w jednym miejscu (15)

Wolisz najpierw poczytać? Poniżej znajdziesz każde pytanie z próbki. Odpowiedzi i wyjaśnienia są zwinięte, dopóki ich nie otworzysz.

  1. 1.A student's program that averages three test scores runs without any error message, but it always reports an average that is too high. The code adds the three scores and divides by 2 instead of 3. What kind of error is this?
    • A. Syntax error
    • B. Logic error
    • C. Overflow error
    • D. Run-time error

    Odpowiedź: B. Logic error

    A logic error is a mistake in the algorithm: the program runs and produces a result, but the result is wrong. A syntax error breaks the rules of the language, so the program will not run at all. A run-time error stops the program while it is running, for example by dividing by zero, and an overflow error happens when a value is too large for the number of bits the computer uses to store it. Logic errors are the hardest to find because nothing crashes, which is why testing with inputs whose answer you already know matters.

  2. 2.Which practices are part of an iterative, collaborative way to develop a program?

    Zaznacz wszystkie pasujące odpowiedzi.

    • A. Building a small working version, testing it with users and revising it
    • B. Having teammates review each other's code to catch errors and bring different perspectives
    • C. Writing the whole program before running it even once, so nothing half-finished confuses the team
    • D. Writing comments and documentation that explain what a code segment is for
    • E. Keeping the design secret from users until the final version is done

    Odpowiedź: A. Building a small working version, testing it with users and revising it, B. Having teammates review each other's code to catch errors and bring different perspectives, D. Writing comments and documentation that explain what a code segment is for

    Iterative development means building, testing and refining in small steps, so mistakes show up early and feedback shapes the next version. Collaboration brings in other viewpoints, and people with different backgrounds notice different problems and needs. Documentation helps teammates, and your future self, understand what code was meant to do. Writing everything before the first run lets errors pile up, and hiding the design from users removes the feedback the process depends on.

  3. 3.Complete the sentence.

    In binary, the number 1011 equals _____ in decimal, and a sequence of 8 bits can represent _____ different values.

    Opcje do luki 1: 9, 11, 13, 15

    Opcje do luki 2: 16, 128, 255, 256

    Odpowiedź: 11, 256

    Each binary place is worth twice the one to its right: 8, 4, 2, 1. So 1011 is 8 + 0 + 2 + 1 = 11. With n bits there are 2 to the power n different patterns, and 2^8 = 256, so 8 bits can represent 256 different values, from 0 through 255. The 255 option is the largest number that fits in 8 bits, not the count of values, and that off-by-one is a classic trap.

  4. 4.A museum is compressing scans of old documents and must be able to rebuild every original pixel exactly. Which approach should it use?
    • A. Lossless compression
    • B. Lossy compression with the quality set to high
    • C. Lossy compression after deleting every second row of pixels
    • D. Any compression, since a rebuilt file always matches the original

    Odpowiedź: A. Lossless compression

    Lossless compression reduces file size in a way that lets the original data be reconstructed exactly, which is what an archive needs. Lossy compression gets smaller files by throwing information away for good, and even at high quality the original cannot be rebuilt. Lossy is a sensible trade for streaming video or casual photos, where small differences are hard to see. The cost of lossless is that files stay larger.

  5. 5.A phone photo file includes the date, the GPS location and the camera model along with the image itself. Which statement is correct?
    • A. Metadata is the part of the image that is lost when the photo is compressed
    • B. Metadata can only be created by the person who views the file
    • C. Metadata changes the pixels of the image every time the photo is copied
    • D. Metadata is data about other data, and it can reveal private details even if you only share the photo

    Odpowiedź: D. Metadata is data about other data, and it can reveal private details even if you only share the photo

    Metadata describes a piece of data without being the data itself: when a photo was taken, where, with what device. It helps people organize and search large collections, and it can be changed or deleted without changing the image. It can also expose things the sender never meant to share, such as a home location, so many apps remove it on upload. Metadata is not lost by compression and does not alter the pixels.

  6. 6.total ← 0. FOR EACH item IN [3, 8, 12, 5, 10], IF (item MOD 2 = 0), then total ← total + item. After the loop, DISPLAY(total). What is displayed?
    • A. 8
    • B. 10
    • C. 30
    • D. 38

    Odpowiedź: C. 30

    item MOD 2 is the remainder when item is divided by 2, so the test is true only for even numbers. The even items are 8, 12 and 10, and 8 + 12 + 10 = 30. The 38 answer adds every item, as if the test were missing, and 8 is the sum of the odd items, 3 + 5. When you trace a loop, write the value of total after each pass, so the one skipped odd number is easy to see.

  7. 7.nums ← [4, 8, 15, 16]. Then INSERT(nums, 2, 23), REMOVE(nums, 1) and APPEND(nums, 42) run in that order. List positions start at 1. What does DISPLAY(nums[3]) show?
    • A. 8
    • B. 15
    • C. 16
    • D. 23

    Odpowiedź: B. 15

    Trace the list after each step. Start with [4, 8, 15, 16]. INSERT at position 2 puts 23 there and shifts the rest right: [4, 23, 8, 15, 16]. REMOVE position 1 deletes the 4: [23, 8, 15, 16]. APPEND adds 42 at the end: [23, 8, 15, 16, 42]. Position 3 holds 15. The 8 answer comes from forgetting that INSERT shifts items, and 16 comes from counting positions from 0 instead of 1.

  8. 8.Complete the sentence.

    Suppose p is true and q is false. Then p AND (NOT q) evaluates to _____, and NOT (p OR q) evaluates to _____.

    Opcje do luki 1: true, false

    Opcje do luki 2: true, false

    Odpowiedź: true, false

    Work from the inside out. NOT q is true because q is false, so p AND (NOT q) is true AND true, which is true. For the second one, p OR q is true OR false, which is true, and NOT true is false. AND is true only when both sides are true, OR is true when at least one side is, and NOT flips the value. Writing each sub-result on its own line prevents most mistakes.

  9. 9.Which statements about algorithms are true?

    Zaznacz wszystkie pasujące odpowiedzi.

    • A. Every algorithm can be built from sequencing, selection and iteration
    • B. A faster computer can make any undecidable problem solvable
    • C. Two different algorithms can solve the same problem while using very different numbers of steps
    • D. A heuristic can be used when finding the best solution would take an unreasonable amount of time
    • E. An algorithm whose steps double with every added input is the best choice for very large inputs

    Odpowiedź: A. Every algorithm can be built from sequencing, selection and iteration, C. Two different algorithms can solve the same problem while using very different numbers of steps, D. A heuristic can be used when finding the best solution would take an unreasonable amount of time

    Sequencing, selection and iteration are enough to express any algorithm. Different algorithms for one problem can differ hugely in efficiency, which is why comparing step counts matters. A heuristic gives a good-enough answer in reasonable time when the exact answer is out of reach. An undecidable problem has no algorithm that works for every input, however fast the machine, and a step count that doubles with each added input quickly becomes unusable, since it is not a reasonable-time algorithm.

  10. 10.A city engineer uses a computer simulation of rush-hour traffic to test new traffic light timing before changing the real intersection. Which statement about the simulation is accurate?
    • A. It is always more reliable than watching the real intersection, because a simulation never leaves anything out
    • B. It cannot be used until the real intersection has been rebuilt
    • C. It removes the need for any data about real traffic
    • D. It lets the city test changes without cost or risk, but the results depend on what the model left out

    Odpowiedź: D. It lets the city test changes without cost or risk, but the results depend on what the model left out

    A simulation is an abstraction: it keeps the details that matter for the question and leaves the rest out. That makes it cheap and safe to try ideas, such as many timings in an afternoon, which would be impractical on a real street. The limit is that the results are only as good as the model and the data behind it, so a factor left out, such as a road closure, can make the real outcome differ. That is why simulation results are checked against real observations.

  11. 11.A school network connects each building to at least two others, so students can still reach the Internet if one cable is cut. Which statement best describes this design?
    • A. It is fault tolerant, because redundant paths keep the network working after a failure
    • B. It has higher bandwidth, because each cable carries more data
    • C. It has lower latency, because messages always take the shortest path
    • D. It is encrypted, because messages cannot be read in transit

    Odpowiedź: A. It is fault tolerant, because redundant paths keep the network working after a failure

    The Internet is built to be fault tolerant: there are usually several paths between two points, so routing can send data around a broken link. Extra connections do not by themselves raise bandwidth, which is how much data can move per second, and an alternate path can even be longer. Encryption is about privacy, not about surviving a failure. Redundancy is the key word for this kind of question.

  12. 12.Complete the sentence.

    The Domain Name System (DNS) looks up a _____ such as example.org and returns the matching _____, which routers use to deliver packets.

    Opcje do luki 1: packet, domain name, protocol, password

    Opcje do luki 2: IP address, bit rate, file format, encryption key

    Odpowiedź: domain name, IP address

    People use names such as example.org because they are easy to remember, but routers move data by IP address. DNS is the lookup service that translates a domain name into the IP address of the server. Without it you would have to type numbers to visit a site. A packet is a small chunk of data that travels the Internet, and a protocol is an agreed set of rules, such as TCP and IP.

  13. 13.A company trains a program to screen job applications using the records of people it hired over the past 20 years, most of whom came from a few similar backgrounds. Which concern is most likely?
    • A. The program will be fair, because computers cannot have bias
    • B. The program cannot run, because applications are not binary data
    • C. The program may repeat the pattern in the old hiring data, which is a form of computing bias
    • D. The program will only improve if the old records are deleted after training

    Odpowiedź: C. The program may repeat the pattern in the old hiring data, which is a form of computing bias

    Computing bias can come from the data a program learns from or from choices its designers make. A model trained on past decisions can copy their patterns, including unfair ones, and it can do so at scale and with an air of objectivity. Computers do not make bias impossible, and all digital data, including text, is stored in binary. Reducing bias takes steps such as checking results across groups and using more representative data, not deleting records.

  14. 14.Which actions help protect an online account from being taken over?

    Zaznacz wszystkie pasujące odpowiedzi.

    • A. Turning on multifactor authentication
    • B. Reusing one strong password on every site so it is easy to remember
    • C. Treating a message that asks you to log in through a link with suspicion, since phishing tries to trick you into giving up your login
    • D. Using a different, long password for each account, ideally with a password manager
    • E. Sharing the one-time login code with anyone who says they work for support

    Odpowiedź: A. Turning on multifactor authentication, C. Treating a message that asks you to log in through a link with suspicion, since phishing tries to trick you into giving up your login, D. Using a different, long password for each account, ideally with a password manager

    Multifactor authentication requires a second proof besides the password, so a stolen password alone is not enough. Phishing is an attempt to trick people into entering credentials on a fake page, so going to the site directly beats clicking a link in a message. Unique passwords limit the damage if one site is breached, and a password manager makes them practical. Reusing a password lets one breach open many accounts, and a one-time code is meant for you alone, so no legitimate support team asks for it.

  15. 15.Maria publishes her public key. Devon wants to send her a message that only she can read, using public-key encryption. Which key does Devon use to encrypt it?
    • A. Devon's private key
    • B. Devon's public key
    • C. Maria's private key
    • D. Maria's public key

    Odpowiedź: D. Maria's public key

    In public-key encryption each person has a pair of keys. Anyone can use Maria's public key to encrypt a message to her, but only her private key can decrypt it, so only she can read it. Devon's own keys are not involved in this direction. The private key must never be shared, which is the whole point of the pair. Public keys are what let a browser start a secure connection with a site it has never met.

Jak wygląda egzamin AP CSP i jak ważone są Big Ideas

Egzamin AP Computer Science Principles jest oceniany w skali od 1 do 5 i ma dwie części. Według College Board egzamin końcowy jest w pełni cyfrowy i odbywa się w aplikacji Bluebook. Część I to 70 pytań zamkniętych w 120 minut, która daje 70 procent twojego wyniku, a każde pytanie ma cztery opcje odpowiedzi: 57 pytań to wybór jednej odpowiedzi, 5 to pytania jednokrotnego wyboru oparte na tekście o innowacji informatycznej, a 8 to pytania wielokrotnego wyboru, w których zaznaczasz 2 odpowiedzi. Część II daje pozostałe 30 procent. Łączy zadanie praktyczne Create z 2 pytaniami z odpowiedzią pisemną, w sumie 4 polecenia, na które odpowiadasz w 60-minutowej części dnia egzaminu i które dotyczą twojego własnego programu.

College Board dzieli kurs na pięć Big Ideas i publikuje, jaką część wyniku egzaminu daje każda z nich. Algorytmy i programowanie to najwięcej, 30 do 35 procent. Wpływ informatyki to 21 do 26 procent, dane 17 do 22 procent, systemy komputerowe i sieci 11 do 15 procent, a twórcze projektowanie programów 10 do 13 procent. Około jedna trzecia egzaminu to więc algorytmy i programowanie, w dużej części czytanie i śledzenie kodu, a około jedna czwarta to wpływ informatyki na ludzi, czyli część, którą uczniowie najczęściej zostawiają na koniec.

College Board podaje egzamin w 2027 roku na piątek 14 maja, w sesji 1, a zadanie Create trzeba złożyć jako wersję ostateczną w AP Digital Portfolio do 23:59 czasu ET w piątek 30 kwietnia. Terminy zmieniają się z roku na rok, więc sprawdź stronę College Board dla własnego rocznika egzaminu. To, co daje wynik, zależy od każdej uczelni, więc poszukaj zasad na uczelniach, które cię interesują.

Jak korzystać z tej próbki i czego w niej nie ma

15 pytań jest rozłożonych na Big Ideas w mniej więcej takich proporcjach jak na egzaminie: pięć o algorytmach i programowaniu, trzy o danych, trzy o wpływie informatyki, dwa o systemach komputerowych i sieciach oraz dwa o twórczym projektowaniu programów. Częściej pytają o rozumowanie za odpowiedzią niż o wykutą definicję: dlaczego program, który działa, może mimo to być błędny, dlaczego kompresja bezstratna jest właściwym narzędziem, gdy liczy się każdy piksel, dlaczego symulacja jest przydatna, a jednak ograniczona, dlaczego model wytrenowany na starych danych może powtarzać dawną niesprawiedliwość.

Pytania z kodem używają pseudokodu w stylu egzaminu, zapisanego zwykłym tekstem. Strzałka oznacza przypisanie, więc x ← 3 zapisuje 3 w x. Listy zaczynają się od pozycji 1, nie 0, a MOD daje resztę z dzielenia. Egzamin ma własny pseudokod, a nie Pythona czy Javę, więc możesz go ćwiczyć, nawet jeśli na zajęciach pracujecie w innym języku. Rozwiąż całość za jednym razem, z kartką na brudno, prześledź każdy program, zapisując wartość każdej zmiennej po każdej linii, a potem przeczytaj wyjaśnienie do każdego pytania, także tych, które masz dobrze.

Ta próbka nie ćwiczy zadania praktycznego Create. To program, który budujesz na zajęciach przez około 9 godzin, razem z kodem, krótkim filmem pokazującym, jak działa, i Personalized Project Reference, a twoje odpowiedzi pisemne w dniu egzaminu dotyczą tego samego programu. Pracuj nad nim z nauczycielem i z materiałami dla uczniów od College Board, a pytania tutaj traktuj jako ćwiczenie tylko do części jednokrotnego wyboru. Pytania są oryginalne i napisane do opublikowanego planu kursu. To nie są pytania z udostępnionych egzaminów.

Jak StudyPDF buduje testy próbne AP CSP z twoich notatek z zajęć

Piętnaście pytań pokaże, która Big Idea jest chwiejna. Same cię nie przygotują, a ogólna baza rzadko pasuje do słownictwa, przykładów i pseudokodu, których naprawdę używa twój nauczyciel.

StudyPDF pracuje zamiast tego na twoim materiale. Wgraj notatki z zajęć, slajdy nauczyciela, rozwiązany zestaw zadań albo materiał do powtórki, naciśnij Nowy materiał, a StudyPDF zbuduje testy próbne z dokładnie tych stron. Każde pytanie jest osadzone w twoim materiale, a każde wyjaśnienie wskazuje, skąd pochodzi odpowiedź, więc możesz wrócić prosto do strony, gdy jakiś krok jest niejasny.

Żeby zacząć, nie musisz niczego wgrywać. Podaj temat, na przykład internet i DNS albo listy i iterację, a Bo przygotuje go razem z kluczowymi pojęciami, żebyś mógł zbudować z niego quizy i fiszki. Twoje wyniki pokazują, które pojęcia ciągle ci umykają, więc następny test próbny może je wziąć na cel. Zaczynasz za darmo.

Napisane przez zespół StudyPDF. Ostatnia aktualizacja 19 sierpnia 2026.

Warto wiedzieć

Czy ten test próbny AP Computer Science Principles jest naprawdę darmowy?

Tak. Wszystkie 15 pytań, ekran z wynikiem i każde wyjaśnienie są darmowe do rozwiązania w przeglądarce, a na tej stronie nie ma nic płatnego.

Jak zbudowany jest egzamin AP CSP?

Według College Board część I to 70 pytań zamkniętych w 120 minut, która daje 70 procent wyniku. Część II daje 30 procent i łączy zadanie praktyczne Create, które budujesz na zajęciach przez około 9 godzin, z 2 pytaniami z odpowiedzią pisemną w 60-minutowej części dnia egzaminu. Egzamin odbywa się w aplikacji Bluebook. Aktualny termin sprawdź na stronie College Board.

Kto napisał te pytania i czy obejmują zadanie Create?

Zespół StudyPDF napisał każde pytanie i wyjaśnienie na podstawie Big Ideas, które College Board publikuje dla kursu. To nie są pytania z udostępnionych egzaminów i nie pochodzą z bazy żadnego dostawcy kursów. Zadanie Create nie jest tu ćwiczone, bo to program, który budujesz sam. StudyPDF nie jest powiązane z College Board, a AP jest znakiem towarowym College Board.

Czy mogę dostać więcej takich pytań z własnych notatek z zajęć?

Tak. Wgraj do StudyPDF notatki z zajęć, slajdy albo materiał do powtórki, a Bo zbuduje pełnowymiarowe testy próbne z dokładnie tych stron, z wyjaśnieniami wskazującymi, skąd pochodzi każda odpowiedź. Jeśli masz tylko papierowy egzemplarz, podaj zamiast tego temat, na przykład listy i iterację, a Bo napisze z niego test.

Potrzebujesz czegoś więcej niż próbki?

Wgraj własny podręcznik, slajdy albo notatki, a Bo zbuduje pełne testy próbne z twoich materiałów. Zapamiętuje, które pojęcia ciągle ci umykają, i celuje w twoje słabe punkty. Zacznij za darmo.

Stwórz własny test
Stwórz własny test

Twój kurs, nie cały internet.

Funkcje

  • Plan nauki AI
  • Zapytaj Bo
  • Fiszki z AI
  • Image Occlusion
  • Egzaminy z AI
  • Mapy myśli
  • Przewodniki do nauki
  • Streszczenie z AI
  • Quiz z AI
  • Ściągi

Darmowe narzędzia

  • Wszystkie quizy
  • Quiz TEAS: nauki ścisłe
  • Fiszki z farmakologii
  • Fiszki ze slajdów

Porównania

  • vs ChatGPT
  • vs Quizlet
  • vs Anki
  • vs YouLearn
  • Wszystkie porównania
  • Alternatywy
  • Narzędzia łeb w łeb
  • Najlepsze AI wg kierunku

Materiały

  • Słownik
  • Odpowiedzi
  • Szablony
  • Jak działa Bo
  • Dlaczego StudyPDF
  • Zastosowania

Firma

  • Cennik
  • FAQ
  • Misja
  • Program dla twórców
  • Dla nauczycieli
  • Dla wykładowców
  • Enterprise
  • Kontakt
  • Lista zmian

Informacje prawne

  • Prywatność
  • Regulamin
  • Informacje prawne
  • Usuń konto
© 2026 StudyPDFFree to start. No card required.