Programs we wrote in class

Jan 17

Jan 19

Jan 22

Jan 24 Strings

Jan 24 Lab Assignment Solution

Feb 5 Strings

  • Strings in Python Example 1
  • Strings in Python Example 2
  • Strings in Python Example 3

    Feb 7 Strings

  • Valid Password
  • String Change
  • Valid Plate - Long Solution
  • Remove Digits Example - Problem 3 from the Part III Lab

    Feb 12 Strings/Lists

  • p1
  • p2
  • Lab Monday Feb 12 - p1
  • Lab Monday Feb 12 - p2

    Feb 14 Strings/Lists

  • p1

    Feb 16 Two Dimensional Lists

  • p1
  • p2
  • p3

    Feb 19 Two Dimensional Lists

  • random generation if 2-d list of ints
  • program 2 from the lab
  • program 3 from the lab

    Feb 26 Two Dimensional Lists of Characters

  • random generation if 2-d list of chars
  • program 6 from the lab
  • prog 2 from lab assignment
  • Lab problem 2 - 2d list examples

    Feb 28 Two Dimensional Lists

  • Practice 2 - Grades of students with 2D list
  • Practice 2D list

    After Spring Break!

    Programming with C

    March 12

  • march12p1.c
  • march12p2.c
  • march12p3.c

    March 14

  • march14p1.c
  • march14p2.c
  • Lab 1 Question 4

    March 19

  • March 19 Lab Problem 7 with Loops

    March 26 - Functions

  • num Digits program
  • product of inputs

    March 28- Functions

  • Problem 7 Lab 2 with functions
  • MATH.H library example - sqrt
  • Mini Quiz Solution Problem 1
  • Mini Quiz Solution Problem 2

    April 2- LOOP FOR, FUNCTIONS

  • Lab 3 Part III Problem 1 with LOOP FOR and functions
  • Lab 3 Part III Problem 1 without LOOPS

    April 4 - Exam Preparation

  • Exam Prep Part III problem 1
  • Speed Insurance points for 3 people
  • Problem 2 Session B solution - amusement park visit problem

    April 9- ARRAYS

  • arrays - program 1
  • arrays - program 2
  • arrays - program 3

    April 9- SESSION B LOOP FOR

  • counts evens and odds
  • div 3

    April 11 - ARRAYS AND FUNCTIONS

  • p1
  • p2


    April 18 Session B Loop While

  • Session B Loop WHILE example - pass/fail grade


    April 16 - 18 CHARS and STRINGS

  • chars
  • chars
  • chars
  • chars
  • chars
  • strings
  • strings
  • strings
  • strings

    Sessin B Arrays

  • passing grades
  • gifts for kids in the b-day

    April 23 Session A - Strings and Functions

  • count char with function
  • printing rectangle of chars
  • sum ASCII with function
  • replace char example
  • change string example

    Session B arrays

  • Programming Contest question
  • Counts 1/2/3
  • Distance

    2D Arrays

  • 2D random array no functions
  • 2D user generated array with the functions
  • April 30 lab problem 1

    Test 2 solutions

  • Problems 1 and 2

    May 2 example

  • random string, compare strings, 2d array of chars

    May 2 Lab Session B

  • travel time program