What does TCP ensure when transmitting data?
Answer: Reliable transmission by breaking messages into packets.
What are the three principles of encryption?
Answer: Authentication, Integrity, Non-repudiation.
What is the purpose of a Boolean expression?
Answer: It evaluates to either true or false.
What type of error results when bits can't hold a number?
Answer: Overflow Error.
What search algorithm divides the data set in half each time?
Answer: Binary Search.
What system converts human-readable names to IP addresses?
Answer: DNS (Domain Name System).
What is the only unbreakable cipher method?
Answer: One-time pad encryption.
What is the difference between IF and IF...ELSE statements?
Answer: IF executes code if a condition is true; IF...ELSE chooses between two code blocks.
What is an example of a lossy compression format?
Answer: JPEG.
What’s the main requirement for binary search to work?
Answer: The data must be sorted.
What is the main difference between IPv4 and IPv6?
Answer: IPv6 supports more addresses with 128-bit addresses.
What is the difference between public and private keys?
Answer: Public keys encrypt data; private keys decrypt it.
What does the modulo (%) operator return?
Answer: The remainder after division.
What is the purpose of metadata?
Answer: It stores data about data, like camera settings for a photo.
What is Moore’s Law?
Answer: The number of transistors on a chip doubles every two years.
What does “End-to-End” mean regarding the Internet?
Answer: The core of the network should only pass packets and remain "dumb".
What encryption machine did Alan Turing help crack?
Answer: The Enigma Machine.
What is an example of a nested IF statement use?
Answer: When checking multiple conditions inside another IF condition.
What is a heuristic in problem solving?
Answer: A rule of thumb to guide algorithms, like walking north in a forest.
What is Crowdsourcing?
Answer: Gathering help or data from large groups online.
Which organization oversees Internet protocols?
Answer: IETF (Internet Engineering Task Force)
Which method allows Alice and Bob to agree on a shared secret key publicly?
Answer: Diffie-Hellman-Merkle Method.
What is the difference between a Predicate block and a Reporter block in Snap?
Answer: Predicate returns true/false; Reporter returns a value.
What is an undecidable problem?
Answer: A problem no algorithm can solve for all inputs, like the Halting Problem.
What is the difference between polynomial and exponential time?
Answer: Polynomial time is reasonable; exponential time grows too fast to be practical.