AP CSP TCP IP and internet protocols cheat sheet
A comprehensive cheat sheet for AP Computer Science Principles focusing on TCP/IP and internet protocols, designed for efficient exam review with key terms, concepts, and differences.
Quiz(48 questions)
1. What are the layers of the TCP/IP model?
Terms in this Study Set(48)
TCP/IP Model Basics(16)
What are the layers of the TCP/IP model?
1. Application Layer 2. Transport Layer 3. Internet Layer 4. Network Interface Layer
True or False: The TCP/IP model has five layers.
False. The TCP/IP model has four layers.
What protocol operates at the Transport Layer?
TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
Fill in the blank: The _______ layer is responsible for end-to-end communication.
Transport
Compare TCP and UDP.
TCP: connection-oriented, reliable. UDP: connectionless, faster.
What is the main function of the Internet Layer?
Routing packets across networks using IP addressing.
True or False: The Network Interface Layer includes hardware components.
True. It encompasses network hardware and protocols.
What role does the Application Layer play?
It provides network services to applications (e.g., HTTP, FTP).
Cause → Effect: What happens when TCP establishes a connection?
Reliable data transfer is ensured.
What is an IP address?
A unique identifier for a device on a network, formatted as four octets (e.g., 192.168.1.1).
Fill in the blank: The _______ protocol is used for web browsing.
HTTP (Hypertext Transfer Protocol)
What is the purpose of the Network Interface Layer?
Facilitates physical network access and transmission of data frames.
True or False: UDP guarantees data delivery.
False. UDP does not guarantee delivery.
What is segmentation in TCP?
Dividing large messages into smaller packets for efficient transmission.
What does the acronym TCP stand for?
Transmission Control Protocol
What is a key feature of IP addressing?
Hierarchy that allows for efficient routing and organization.
Internet Protocols Overview(16)
HTTP → Purpose
Hypertext Transfer Protocol (HTTP) is used for transferring web pages on the internet.
True or False: FTP is secure.
False. FTP (File Transfer Protocol) transmits data without encryption.
HTTPS → Definition
HTTP Secure (HTTPS) uses SSL/TLS to encrypt communication for secure web browsing.
Fill in the blank: DNS translates _____ into IP addresses.
domain names.
Comparison: TCP vs. UDP
TCP is connection-oriented, ensuring reliability and order; UDP is connectionless, faster, but less reliable.
IP → Definition
Internet Protocol (IP) is responsible for addressing and routing packets across networks.
Cause → Effect: Use of DHCP
Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses to devices, simplifying network management.
SMTP → Purpose
Simple Mail Transfer Protocol (SMTP) is used for sending email messages between servers.
POP3 vs. IMAP
POP3 downloads emails to local storage; IMAP syncs emails across multiple devices.
SIP → Function
Session Initiation Protocol (SIP) is used for initiating, maintaining, and terminating real-time communication sessions.
Fill in the blank: ICMP is used for _____ and error messages.
diagnostic functions.
True or False: Telnet encrypts data.
False. Telnet transmits data in plaintext, making it insecure.
TLS → Purpose
Transport Layer Security (TLS) provides encryption for data transmitted over the internet, enhancing security.
RFC → What does it stand for?
Request for Comments; documents describing protocols and standards for the internet.
Fill in the blank: _____ is used to access email servers securely.
IMAPS (IMAP Secure).
WebSocket → Use case
WebSocket enables real-time communication between a client and server, ideal for dynamic applications.
Network Communication(16)
Protocol for transmitting data reliably?
Transmission Control Protocol (TCP) ensures reliable, ordered delivery of data packets.
True or False: UDP guarantees delivery.
False. User Datagram Protocol (UDP) does not guarantee delivery, making it faster but less reliable.
Layer responsible for addressing data?
Network layer. It handles logical addressing and routing data across networks.
Fill in the blank: TCP is _____ and UDP is _____.
TCP is connection-oriented; UDP is connectionless.
Examples of application layer protocols?
HTTP, FTP, SMTP, and DNS are key application layer protocols.
What does the acronym ICMP stand for?
Internet Control Message Protocol. It is used for error messages and operational information.
Comparison: TCP vs UDP.
- TCP: Reliable, ordered - UDP: Fast, unordered - Uses: TCP for web pages, UDP for video streaming.
Cause → Effect: What happens when a packet is lost?
TCP will retransmit the packet to ensure data integrity.
What does an IP address do?
It uniquely identifies a device on a network, enabling data routing.
Layer where routing occurs?
Network layer. This layer makes decisions about the best path for data transmission.
True or False: HTTP runs over TCP.
True. HTTP relies on TCP to ensure data is sent reliably.
Key purpose of DNS?
Domain Name System (DNS) translates human-friendly domain names into IP addresses.
Example of a transport layer protocol?
Transmission Control Protocol (TCP) is a primary example of a transport layer protocol.
What is the function of ARP?
Address Resolution Protocol (ARP) maps IP addresses to MAC addresses on a local network.
Fill in the blank: The three-way handshake is used in _____.
The three-way handshake is used in establishing a TCP connection.
Scenario: Data sent via UDP.
Example: Streaming video data where speed is prioritized over reliability.
Questions in this Study Set(48)
1. What are the layers of the TCP/IP model?
2. What protocol is primarily used for transferring web pages on the internet?
3. Which protocol is primarily responsible for ensuring that data packets are delivered in the correct order?
4. True or False: The TCP/IP model includes a Presentation layer.
5. Which protocol uses SSL/TLS to ensure secure web browsing?
6. True or False: The User Datagram Protocol (UDP) provides error correction for lost packets.
7. Which protocol is primarily used for reliable data transmission at the Transport Layer?
8. What does DNS translate into IP addresses?
9. What is the main function of the Network Layer in the OSI model?
10. Fill in the blank: The _______ layer manages the data routing between different networks.
11. Which of the following is a characteristic of TCP?
12. Fill in the blank: TCP is _____, while UDP is _____.
13. What is the main difference between TCP and UDP?
14. What is the role of DHCP in a network?
15. Which of the following is NOT an application layer protocol?
16. What is the purpose of an IP address?
17. Which protocol is used for sending email messages between servers?
18. What does ICMP stand for and what is its primary purpose?
19. True or False: The Network Interface Layer deals with only software components.
20. How does IMAP differ from POP3 regarding email management?
21. When comparing TCP and UDP, which statement is true?
22. Which protocol is used for transferring files over the internet?
23. Which protocol is used for initiating real-time communication sessions?
24. What occurs when a packet is lost in a TCP connection?
25. What happens during the connection establishment phase of TCP?
26. ICMP is primarily used for what purpose?
27. What is the role of an IP address in a network?
28. Which of the following is NOT a layer in the TCP/IP model?
29. True or False: Telnet encrypts data during transmission.
30. At which layer does routing of data packets take place?
31. What is a key feature of the Transport Layer?
32. What does TLS provide for data transmitted over the internet?
33. True or False: HTTP operates over UDP.
34. Fill in the blank: The _______ protocol is used to send emails.
35. What does RFC stand for in relation to internet protocols?
36. What is the primary purpose of the Domain Name System (DNS)?
37. What does the acronym TCP stand for?
38. What protocol is used to securely access email servers?
39. What is a primary example of a transport layer protocol?
40. What is segmentation in TCP?
41. WebSocket is best described as what type of technology?
42. What does Address Resolution Protocol (ARP) do?
43. True or False: UDP is a connection-oriented protocol.
44. Which of the following is NOT a protocol for email retrieval?
45. Fill in the blank: The three-way handshake is a process used to establish _____ connections.
46. Which layer of the TCP/IP model is responsible for providing services directly to user applications?
47. Which protocol is responsible for addressing and routing packets across networks?
48. In which scenario would you most likely use UDP instead of TCP?
Related Study Sets
OSI-Modell Schichten Karteikarten
Klausur: TCP Flusskontrolle und Staukontrolle
IP-Subnetting Subnetzmaske Definitionen
Test: Was ein Router tut
HTTP und HTTPS Schritt für Schritt
Wiederholung: IP-Adresse und DNS
TCP IP Schichtenmodell Abiturvorbereitung
Client und Server Notizen
Create Your Own Study Set
Upload a PDF, paste your notes, or describe a topic – AI generates flashcards, quizzes and more in seconds.

