Skip to content

Latest commit

 

History

History
136 lines (89 loc) · 3.57 KB

File metadata and controls

136 lines (89 loc) · 3.57 KB

Week 1 Progress Map - Day 7

Student: Sarah
App: Bakery Manager 🍞
Week 1 Theme: Variables, Conditionals, Loops, Functions, Scope
Languages Covered: Python, Java, SQL (PostgreSQL), Rust, R, C++, Go


✅ Completed Concepts (100%)

🧠 Core Concepts Practiced:

  • Declaring and using variables
  • Conditional branching with if, else if, else
  • Looping structures: for, while
  • Function definitions and calls
  • Global vs local scope

📚 Language Breakdown

🔵 Python

  • Used if/else to check bakery temperature
  • Loop through ingredients with for
  • Scope examples inside functions

☕ Java

  • GPA conditionals
  • Loops over course list
  • Interactive number guessing game with Scanner

🐘 SQL (PostgreSQL)

  • CASE WHEN conditions for sales and stock status
  • Filtering with WHERE, loop-like behavior with SELECT

🦀 Rust

  • Used match and if conditionals
  • while and for loops for ingredients and inventory
  • Enum & pattern matching for bakery event handling

📊 R

  • ifelse() for oven temperature checks
  • Loops through inventory vector
  • Used named vectors as a bakery stock structure

➕ C++

  • Full pastry stock tracker with map<string, int>
  • Functional decomposition using helper functions
  • Simulated sales, conditional stock messages, clean output formatting

🟡 Go

  • Variables for bakery status and inventory
  • Conditional baking logic with if and switch
  • Range-based for loops over slices and maps
  • Defined totalCost() function using map values
  • Idiomatic use of slices, maps, and function calls

🧁 Highlight: C++ Functionality

string getStockStatus(int stock) { ... }
void getPastryStock(string pastryName) { ... }
  • Excellent use of std::map, vector, and conditionals
  • Clean structure and formatting, ready for expansion in Week 2

📈 Next Up: Week 2 – Data Structures

You’ll explore:

  • Lists / Vectors
  • Dictionaries / Maps
  • Sets
  • Tuples or Immutable Structures

For each language, we’ll build more bakery-focused features like:

  • Advanced inventory tracking
  • Tagged recipe ingredients
  • Customer order logs

🧠 Notes to Remember:

  • You’re using C++20 features (Clang 12.0)
  • Be mindful of typos in string keys in maps (e.g., "Lavendar" vs "Lavender")
  • Replit or local compilers are both great—use g++ -std=c++11 minimum

🧑‍🍳 Personalized Notes

Sarah is working on a bakery-manager app and is a strong C++ and Rust user. She learns well by seeing realistic applications and already has a solid grasp on control structures. All seven languages are now complete for Week 1.

Learning Style: Hands-on and incremental. Appreciates clean, readable structure and realistic use cases.

Next Recommendation: Add file-saving of inventory in C++ and begin Week 2 with Python data structures.


✅ Progress Summary

Language Status Notes
Python ✅ Done Clean syntax, good use of logic
Java ✅ Done Scanner game well-structured
SQL ✅ Done CASE WHEN used well
Rust ✅ Done Enum & match logic strong
R ✅ Done Uses idiomatic vector handling
Go ✅ Done Invoice + inventory functions
C++ ✅ Done Excellent structure + logic

Week 1 Completed! 🏁 Incredible job, Chef Sarah!

Ready to continue with:

  • Week 2, Day 1: Python - Lists, Dictionaries, Sets
  • Bonus: Add file persistence in your C++ bakery app