Module 0: Programming Fundamentals

Before you begin coaching others, it’s important to feel confident in your own technical foundation, not because you need to know everything, but so you can guide learners effectively.

This module helps you:

You can choose any language you’re most comfortable with (e.g., Python, JavaScript, Java, C#, or R).


Activity 1: The 10-Minute Whiteboard Challenge

Practice whiteboarding under time constraints to build confidence in talking about your code.(Set a timer)

Select one of the following prompts in your preferred language:

  1. Logic Challenge: Write a function that checks whether a given string is a palindrome.

  2. Data Handling: Write a function that counts how many times each unique word appears in a sentence.

  3. Algorithm Thinking: Write a function that returns the second largest number in a list or array.

  4. Data Cleaning Challenge (Python): Write a function that removes duplicate rows from a dataset while keeping the first occurrence of each unique record.

    • Bonus: How would you handle missing values in a key column?

    • Tip: You may simulate a dataset using a list of dictionaries, a pandas DataFrame, or a CSV string.

  5. Exploratory Analysis Challenge: Write a function that calculates the mean, median, and mode of a list of numeric values.

    • Bonus: Explain how you would handle outliers or missing data.

Instructions


Activity 2: Reflect and Comment

After completing the whiteboard challenge, reflect on your experience.

Reflection Prompts

Record your reflection in your journal.