• Dr. Sharon Simmons
  • Teaching Assistants (TAs)

Introduction

About CS149

  • This class is about problem solving and using programming to implement your solutions
  • Algorithm:
    A series of steps for solving some problem that are detailed and clear enough that anyone following them will produce the correct output.

Components of creating a solution

  • Two parts:
    • Algoritm design: Creating a set of steps for solving the problem.
    • Programming: Translating those steps into a language that a computer can execute
  • We will be programming in Python. Specifically Python 3.

CS149 Logistics

  • This course does not assume you have any background in programming
  • This is not a weed-out course, but a B- or higher is required to move on to CS159 and a B average in CS149 and 159 to move into the major/minor

Some vocabulary

  • Identifiers: names the programmer chooses
  • Keywords: names already in the programming language
  • Separators (also known as punctuators): punctuation characters and paired-delimiters
  • Operators: symbols that operate on arguments and produce results
  • Literals (specified by their type)
    • Numeric: int and double
    • Logical: boolean
    • Textual: char and String
    • Reference: null
  • Comments