Reflection:

The CollegeBoard Problems were not too difficult, but more tricky. There was less directly involved coding problems than I though there would be. Lots of theory and real-world application problems were there compared to actual programming.

Things to Review:

  1. Binary
  2. Pseudo Code
  3. IPv4 vs IPv6 adressing

Binary

Notes

  • Binary is a base-2 numbering system consisting of 0s and 1s, fundamental in computer systems.
  • Bits are the smallest units of data in computers, representing values as either 0 or 1.
  • Understanding binary place value is crucial for conversions and performing arithmetic operations.

binary counting

Psuedo Code

pseudo code

Notes

  • Pseudocode: Pseudocode is a way to represent an algorithm using a mix of natural language and simplified programming constructs. It’s used to describe the logic of a program without writing full code.
  • Variables: Variables can be declared using simple names, and their values can be assigned and manipulated within pseudocode.
  • Loops: Pseudocode allows the description of loops and repetitions, such as “REPEAT UNTIL” and “REPEAT n TIMES,” to control program flow.
#REPEAT and IF
REPEAT n TIMES
    IF condition THEN
        // Code block
    END IF
END REPEAT
#FUNCTION
FUNCTION calculateSum(a, b)
    // Code code code
END FUNCTION
DECLARE list[]
ADD item TO list
FOR EACH item IN list
    // Code code code
END FOR

IPv4 vs IPv6

Notes

Feature IPv4 IPv6
Address Length 32 bits 128 bits
Address Type 4 sets of numbers Mix of numbers and letters
Number of Addresses Running low Lots and lots
Easy Subnetting Takes some work Easier to set up networks
Automatic Address Setup Mostly manual (DHCP) Addresses can set up themselves
Broadcast Supports broadcast No more broadcast, just multicast
Security Added separately (IPsec) Built-in security features