📚 > Show > ✏️Frequently Asked Questions 5 min read•december 10, 2021 AP Computer Science Principles ⌨️If I had one piece of advice for ANY AP test 📝, it is to know the exam like the back of your hand. This is especially true in APCSP since the exam has multiple parts including the MCQ ✍️ (Multiple Choice Questions) and the Create PT 💾 (Performance Task)! When you walk in on test day, the last thing you want to be thinking is “oh jeez, what will the questions look like?” or “How much time do we have for the multi-select section?” If you know the exam, these fears will go away. If you consistently practice and know what to expect walking into the exam, it can relieve exam stress and help you with time management along with answering the questions. Let's dive into the APCSP exam and take a look at how the exam is formatted and scored 💯 For the MCQ section 🧐, you will be given:
This section is weighted at 70% of your exam score so make sure to study well before the exam! The other 30% of your exam score will come from Section Two, so make sure to check out all of our information about the Create PT 💾 (Performance Task): 📝 Read: AP Computer Science Principles - Create PT Help This section will not 🚫 be tested during your AP Exam, but you will instead be given 12 hours of class-time to work on your coding masterpiece 🎉 In the MCQ section, about 30% of the questions will have pseudocode in the questions or answers! Pseudocode is a programming language that can't actually be used in an IDE (Integrated Development Environment) but is easily read 👓 The language is basically a combination of a block-based language (Scratch, Alice, etc.) and a basic typing language (Python, JS, etc.) You will get a reference sheet (linked below 🔗) on exam day, but we highly recommend trying to learn and practice with pseudocode before exam day so you don't have to waste time reading and translating then! On the Reference Sheet for Pseudocode, there are eight code categories! These are super useful to know so you don't waste valuable time on exam day trying to find the exact line of code in these six pages. Here are the categories to know:
There are five Big Ideas in AP Computer Science Principles that are tested on the AP Exam. You can reference this table to see which units you should study 📖 the most and least: Big Idea MCQ Weighting There are also five Computational Thinking Practices in the APCSP exam 🎊 If you don't recognize these names, don't worry too much, these are mostly for teachers to spiral these themes through the Big Ideas! Check these out with the practice questions ✍️ later:
All questions in this section are courtesy of the College Board's APCSP CED updated for 2021! 1. Which of the following best explains how data is typically assembled in packets for transmission over the Internet? (A) Each packet contains data to be transmitted, along with metadata containing information used for routing the data. (B) Each packet contains an encrypted version of the data to be transmitted, along with metadata containing the key needed to decrypt the data. (C) Each packet contains only the metadata used to establish a direct connection so that the data can be transmitted. (D) Each packet contains multiple data files bundled together, along with metadata describing how to categorize each data file. 2. Each student that enrolls at a school is assigned a unique ID number, which is stored as a binary number. The ID numbers increase sequentially by 1 with each newly enrolled student. If the ID number assigned to the last student who enrolled was the binary number 1001 0011, what binary number will be assigned to the next student who enrolls? (A) 1001 0100 (B) 1001 0111 (C) 1101 0100 (D) 1101 0111 3. The following procedure is intended to return the number of times the value val appears in the list myList. The procedure does not work as intended. Which of the following changes can be made so that the procedure will work as intended? (A) Changing line 6 to IF(item = count) (B) Changing line 6 to IF(myList[item] = val) (C) Moving the statement in line 5 so that it appears between lines 2 and 3 (D) Moving the statement in line 11 so that it appears between lines 9 and 10 The APCSP MCQ section is definitely not as hard as other AP exams. Make sure to practice and use the tips in this article and you should be all set for that Five 👍
A network packet is a basic unit of data that's grouped together and transferred over a computer network, typically a packet-switched network, such as the internet. Each packet or chunk of data forms part of a complete message and carries pertinent address information that helps identify the sending computer and intended recipient of the message. A network packet has three parts: the packet header, payload and trailer. The size and structure of a network packet are dependent on the underlying network structure or protocol used. Conceptually, a network packet is like a postal package. In this scenario, the header is the box or envelope, the payload is content and the trailer is the signature. The header contains instructions related to the data in the packet. A network packet works by choosing the best route available to its destination This is a route taken by all the other packets within a message, making the network traffic more efficient in terms of balancing a load across various pieces of equipment. For instance, if there's an issue with a piece of equipment during message transmission, the packets are redirected through routers to ensure the entire message gets to its destination. Generally, most networks today operate on the TCP/IP stack, which makes it possible for devices connected to the internet to communicate with one another across different networks. What are the parts of a network packet?Network packets are similar in function to a postal package. A network packet or unit of data goes through the process of encapsulation, which adds information to it as it travels toward its destination and marks where it begins and ends. A network packet is made up of the following three parts: An IPv4 packet comprises the following components.
IPv6 is the newer version of IPv4, which was developed in the early 1980s. And, despite the introduction and adoption of the modern IPv6, IPv4 still routes most of today's internet traffic. IPv6 uses different IP headers for data packets, as an IPv6 address is four times larger than an IPv4 address. It's a more streamlined version of IPv4 and provides better support for real-time traffic by eliminating the fields that are rarely used or are unnecessary. IPv6 header and extensionsWhy use packets?Packets are used for efficient and reliable transmission of data. Instead of transferring a huge file as a single data block, sending it in smaller packets improves transmission rates. Packets also enable multiple computers to share the same connection. For example, if one person is downloading a file, the computer can send packets to the server, while another user is simultaneously sending packets to the same server. While it's possible to transfer data without using packets, it would be highly impractical to send the data without first slicing it into smaller chunks. The following are some of the benefits of using packets:
Packet switching vs. circuit switchingIn the world of telecommunications, both circuit switching and packet switching are popular methods of connecting communicating devices together. However, they differ in their methodology. Packet switching is used for grouping data into packets for transmission over a digital network. It's an efficient way to handle transmissions on a connectionless network, such as the internet. On the other hand, circuit-switched transmission is used for voice networks. In circuit switching, lines in the network are shared among many users as with packet switching. However, each connection requires the dedication of a particular path for the duration of the connection. The following highlights the major pros and cons of both technologies. Packet switching
Circuit switching
Learn how TCP/IP and the Open Systems Interconnection model differ when it comes to network communications. |