CSUMB
CST 231 — Problem Solving and Programming
completed On campus
- units
- 4
- typically offered
- Fall, Spring
- prerequisites
- None
Course description
This is an introductory programming course to develop problem-solving techniques for numerical and non-numerical problems. Students will design the solution to each problem and implement it in a programming language. Coverage includes introduction to computer systems, programming language basics, flow control, functions, I/O, arrays, strings, and classes.
Source: CSUMB Catalog 2025–2026.
Final project
JavaScript programming exercises
- JavaScript
- HTML
- Browser
Listed in the CSUMB catalog as “Problm-Solving/Programng”.
Twenty nine programs written in JavaScript and run in the browser, grouped one folder per homework set. The course moves in order, so the work tracks the fundamentals as they arrive. Variables and input first, then conditionals and loops, then functions, arrays, and sets.
The later ones are the ones worth looking at. A binary to decimal converter, a run length decompressor, a two dimensional matrix program, and a set implementation.