(Individual) Tech Talk notes - TheRadRabbidRabbit/Team-Lovelace GitHub Wiki
Journals
Week 4: Algorithms and Data
Topic 3.11 (Binary Search)
Allie
- Binary search: faster way to search for smth in data structure than going down the list
- List must be sorted (numerically or alphabetically)
- Start w/value in middle of list
- If not search value, cut list into 2 halves
- Choose half that contains search term, repeat until selected value is search term
- For CB: if there are an even number of terms, choose the larger number and round up
- Binary tree
Tianbin
Rebecca
Gabriel
Justin
Topic 3.12 (Calling Procedures)
Allie
- Calling procedure = calling function
- Can be called anywhere in program
- Parameters are usually variables (inputs)
- def allie(): render_template(“allie.html”)
Tianbin
Rebecca
Gabriel
Justin
Topic 3.13 (Developing Procedures)
Allie
- Define
- Implement (write code)
- Call function
- Success
Tianbin
Rebecca
Gabriel
Justin
Quiz corrections
Allie
