LehrerFür LehrerToolsPreiseAppMobile App
Anmelden
Kostenlos startenKostenlos starten
Bo fragen
  • KI-LernplanPlane jeden Tag bis zur Prüfung
  • Bo alles fragenAntworten aus deinen Folien, belegt
  • KI-KarteikartenErstell mir ein Deck für Kapitel 4
  • Image OcclusionVerdeck die Labels auf einem Diagramm
  • ProbeprüfungenErstell einen 20-Fragen-Mock
  • MindmapsZeig, wie diese Ideen zusammenhängen
  • LernleitfädenFass die gesamte Einheit zusammen
  • KI-ZusammenfassungFass die Freitagsvorlesung zusammen
  • KI-QuizFrag mich zu Kapitel 4 ab
  • SpickzettelEine Seite für die Prüfung
Kostenlos startenKostenlos startenAnmelden
  • KI-Lernplan
  • Bo alles fragen
  • KI-Karteikarten
  • Image Occlusion
  • Probeprüfungen
  • Mindmaps
  • Lernleitfäden
  • KI-Zusammenfassung
  • KI-Quiz
  • Spickzettel
Für LehrerToolsPreiseApp
Schule & Zulassung

AP Computer Science Principles Übungstest

  • 15 Fragen
  • Etwa 15 Min.
  • Kostenlos

Die Fragen des Tests bleiben auf Englisch.

Frage 1 von 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?

Du lernst mit eigenen Unterlagen? Eigenen Test erstellen

Weiter üben

  • ÜbungstestAP Statistics Übungstest: Units 1 bis 515 Fragen
  • ÜbungstestAP Precalculus Übungstest: Units 1 bis 315 Fragen
  • ÜbungstestAPUSH Übungstest: Perioden 1 bis 915 Fragen
  • ÜbungstestAP Psychology Übungstest15 Fragen
  • Alle Quizze zu Schule & Zulassung46 Quizze
  • Alle kostenlosen Übungsquizze ansehen

Bau dir dein eigenes

Lade dein Lernbuch, deine Folien oder Notizen hoch, oder sag Bo einfach, was du lernen willst. Ein Dokument brauchst du dafür nicht.

Eigenen Test erstellen

Kostenloses Konto, keine Karte nötig

Über diesen Test

Das hier ist ein kostenloser Auszug mit 15 Fragen im Stil des Multiple-Choice-Teils von AP Computer Science Principles, den das StudyPDF-Team nach den fünf Big Ideas geschrieben hat, die das College Board für den Kurs veröffentlicht. Er deckt kreative Entwicklung, Daten, Algorithmen und Programmierung in Pseudocode im Prüfungsstil, Computersysteme und Netzwerke sowie die Auswirkungen des Computings ab, in etwa mit den Gewichten der Prüfung. Du bekommst Multiple Choice, Mehrfachauswahl und Lückentext. Beantworte alle 15, dann siehst du dein Ergebnis und die Erklärung zu jeder Frage.

Alle 15 Fragen auf einen Blick

Lieber lesen statt spielen? Unten stehen alle Fragen aus dem Auszug. Antworten und Erklärungen bleiben eingeklappt, bis du sie öffnest.

  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

    Antwort: 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?

    Wähl alles aus, was zutrifft.

    • 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

    Antwort: 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.

    Optionen für Lücke 1: 9, 11, 13, 15

    Optionen für Lücke 2: 16, 128, 255, 256

    Antwort: 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

    Antwort: 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

    Antwort: 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

    Antwort: 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

    Antwort: 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 _____.

    Optionen für Lücke 1: true, false

    Optionen für Lücke 2: true, false

    Antwort: 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?

    Wähl alles aus, was zutrifft.

    • 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

    Antwort: 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

    Antwort: 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

    Antwort: 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.

    Optionen für Lücke 1: packet, domain name, protocol, password

    Optionen für Lücke 2: IP address, bit rate, file format, encryption key

    Antwort: 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

    Antwort: 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?

    Wähl alles aus, was zutrifft.

    • 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

    Antwort: 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

    Antwort: 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.

Wie die AP-CSP-Prüfung aussieht und wie die Big Ideas gewichtet sind

Die Prüfung AP Computer Science Principles wird von 1 bis 5 bewertet und besteht aus zwei Teilen. Laut College Board läuft die Abschlussprüfung komplett digital in der Bluebook-App. Teil I (Section I) hat 70 Multiple-Choice-Fragen in 120 Minuten und zählt zu 70 Prozent deines Ergebnisses, mit je vier Antwortmöglichkeiten: 57 sind Einzelauswahl, 5 sind Einzelauswahlfragen zu einem Lesetext über eine Innovation im Computing, und 8 sind Mehrfachauswahlfragen, bei denen du 2 Antworten wählst. Teil II (Section II) zählt zu den anderen 30 Prozent. Er verbindet die Create Performance Task mit 2 schriftlichen Aufgaben, insgesamt 4 Prompts, die du in einem 60-minütigen Teil des Prüfungstags beantwortest und die nach deinem eigenen Programm fragen.

Das College Board teilt den Kurs in fünf Big Ideas und veröffentlicht, wie viel vom Prüfungsergebnis jede bekommt. Algorithmen und Programmierung sind mit 30 bis 35 Prozent am schwersten. Die Auswirkungen des Computings machen 21 bis 26 Prozent aus, Daten 17 bis 22 Prozent, Computersysteme und Netzwerke 11 bis 15 Prozent und kreative Entwicklung 10 bis 13 Prozent. Etwa ein Drittel der Prüfung sind also Algorithmen und Programmierung, vieles davon Code lesen und nachverfolgen, und etwa ein Viertel sind die Auswirkungen des Computings auf Menschen, der Teil, den Schülerinnen und Schüler am häufigsten bis zuletzt liegen lassen.

Das College Board nennt für die Prüfung 2027 Freitag, den 14. Mai, in Session 1, und die Create Performance Task ist bis Freitag, den 30. April, 23:59 Uhr ET als endgültige Fassung im AP Digital Portfolio einzureichen. Termine ändern sich von Jahr zu Jahr, prüf also auf der Seite des College Board das Datum für dein eigenes Prüfungsjahr. Was eine Punktzahl wert ist, entscheidet jede Hochschule selbst, schau dir deshalb die Regeln der Hochschulen an, die dich interessieren.

So nutzt du diesen Auszug und was er auslässt

Die 15 Fragen verteilen sich auf die Big Ideas in etwa im selben Verhältnis wie in der Prüfung: fünf zu Algorithmen und Programmierung, drei zu Daten, drei zu den Auswirkungen des Computings, zwei zu Computersystemen und Netzwerken und zwei zu kreativer Entwicklung. Sie fragen mehr nach der Begründung hinter einer Antwort als nach einem auswendig gelernten Begriff: warum ein Programm, das läuft, trotzdem falsch sein kann, warum verlustfreie Kompression das richtige Werkzeug ist, wenn es auf jedes Pixel ankommt, warum eine Simulation nützlich und trotzdem begrenzt ist, warum ein Modell, das mit alten Daten trainiert wurde, alte Ungerechtigkeit wiederholen kann.

Die Programmierfragen nutzen Pseudocode als reinen Text im Stil der Prüfung. Ein Pfeil bedeutet Zuweisung, x ← 3 speichert also 3 in x. Listen beginnen bei Position 1, nicht bei 0, und MOD liefert den Rest einer Division. Die Prüfung nutzt ihren eigenen Pseudocode, nicht Python oder Java, du kannst ihn also üben, auch wenn dein Kurs in einer anderen Sprache arbeitet. Mach den Auszug in einer Sitzung mit Schmierpapier, verfolge jedes Programm nach, indem du nach jeder Zeile den Wert jeder Variablen aufschreibst, und lies dann die Erklärung zu jeder Frage, auch zu denen, die du richtig hattest.

Dieser Auszug übt nicht die Create Performance Task. Das ist das Programm, das du im Unterricht über etwa 9 Stunden baust, mit dem Code, einem kurzen Video, in dem es läuft, und einer Personalized Project Reference, und deine schriftlichen Antworten am Prüfungstag drehen sich um genau dieses Programm. Arbeite daran mit deiner Lehrkraft und den Handouts des College Board für Schülerinnen und Schüler, und sieh die Fragen hier nur als Übung für den Multiple-Choice-Teil. Die Fragen sind original und nach der veröffentlichten Kursübersicht geschrieben. Es sind keine veröffentlichten Prüfungsfragen.

Wie StudyPDF AP-CSP-Übungstests aus deinen Mitschriften baut

Fünfzehn Fragen können zeigen, welche Big Idea wackelt. Allein machen sie dich nicht fit, und ein allgemeiner Fragenpool trifft selten die Begriffe, die Beispiele und den Pseudocode, die deine Lehrkraft tatsächlich nutzt.

StudyPDF geht stattdessen von deinem Material aus. Lade deine Mitschriften, die Folien deiner Lehrkraft, ein durchgerechnetes Aufgabenblatt oder dein Wiederholungsblatt hoch, tipp auf Neues Material, und StudyPDF baut Übungstests aus genau diesen Seiten. Jede Frage stützt sich auf dein Material, und jede Erklärung nennt die Stelle, aus der die Antwort stammt, sodass du direkt zur Seite zurückgehen kannst, wenn ein Schritt keinen Sinn ergibt.

Zum Starten musst du nichts hochladen. Nenn stattdessen ein Thema, zum Beispiel das Internet und DNS oder Listen und Iteration, und Bo richtet es mit seinen wichtigsten Konzepten ein, damit du Quizze und Lernkarten dazu bauen kannst. Deine Ergebnisse zeigen, welche Konzepte dir immer wieder entgehen, sodass der nächste Übungstest sie gezielt aufgreifen kann. Der Start ist kostenlos.

Geschrieben vom StudyPDF-Team. Zuletzt aktualisiert am 19. August 2026.

Gut zu wissen

Ist dieser AP Computer Science Principles Übungstest wirklich kostenlos?

Ja. Alle 15 Fragen, das Ergebnis und jede Erklärung sind im Browser kostenlos spielbar, und auf dieser Seite gibt es keine Bezahlschranke.

Wie ist die AP-CSP-Prüfung aufgebaut?

Laut College Board hat Teil I 70 Multiple-Choice-Fragen in 120 Minuten und zählt zu 70 Prozent deines Ergebnisses. Teil II zählt zu 30 Prozent und verbindet die Create Performance Task, die du im Unterricht über etwa 9 Stunden baust, mit 2 schriftlichen Aufgaben in einem 60-minütigen Teil des Prüfungstags. Die Prüfung läuft in der Bluebook-App. Prüf auf der Seite des College Board das aktuelle Prüfungsdatum.

Wer hat diese Fragen geschrieben, und decken sie die Create-Aufgabe ab?

Das StudyPDF-Team hat jede Frage und jede Erklärung nach den Big Ideas geschrieben, die das College Board für den Kurs veröffentlicht. Es sind keine veröffentlichten Prüfungsfragen, und keine stammt aus dem Fragenpool eines Vorbereitungsanbieters. Die Create Performance Task wird hier nicht geübt, denn sie ist ein Programm, das du selbst baust. StudyPDF steht in keiner Verbindung zum College Board, und AP ist eine Marke des College Board.

Bekomme ich mehr solche Fragen aus meinen eigenen Mitschriften?

Ja. Lade deine Mitschriften, Folien oder dein Wiederholungsblatt bei StudyPDF hoch, und Bo baut vollständige Übungstests aus genau diesen Seiten, mit Erklärungen, die nennen, woher jede Antwort stammt. Wenn du nur eine Papierausgabe hast, nenn stattdessen ein Thema, zum Beispiel Listen und Iteration, und Bo schreibt dir einen Test dazu.

Brauchst du mehr als eine Kostprobe?

Lade dein eigenes Lernbuch, deine Folien oder Notizen hoch und Bo baut vollständige Übungstests aus genau deinem Material. Es merkt sich, welche Konzepte dir immer wieder entgehen, und geht gezielt deine Schwachstellen an. Kostenlos starten.

Eigenen Test erstellen
Eigenen Test erstellen

Dein Kurs, nicht das Internet.

Funktionen

  • KI-Lernplan
  • Bo fragen
  • KI-Karteikarten
  • Image Occlusion
  • KI-Prüfungen
  • Mindmaps
  • Lernleitfäden
  • KI-Zusammenfassung
  • KI-Quiz
  • Spickzettel

Kostenlose Tools

  • Alle Übungsquizze
  • TEAS-Naturquiz
  • Pharma-Karteikarten
  • Folien-Karteikarten

Vergleiche

  • vs. ChatGPT
  • vs. Quizlet
  • vs. Anki
  • vs. YouLearn
  • Alle Vergleiche
  • Alternativen
  • Tool-Vergleiche
  • Beste KI nach Fach

Ressourcen

  • Glossar
  • Antworten
  • Vorlagen
  • So funktioniert Bo
  • Warum StudyPDF
  • Anwendungen

Unternehmen

  • Preise
  • FAQ
  • Mission
  • Creator-Programm
  • Für Lehrkräfte
  • Für Dozierende
  • Enterprise
  • Kontakt
  • Änderungsprotokoll

Rechtliches

  • Datenschutz
  • Nutzungsbedingungen
  • Impressum
  • Konto löschen
© 2026 StudyPDFKostenlos starten. Keine Karte nötig.