CS 520 Computer Science Foundations - Syllabus

Term and Credits

Spring 2018-2019
3 Credits

Room and Time

Wednesday 6:00pm-8:50pm 3675 Market Street Room 1052

Videos lectures will be provided for online section.


Mark Boady
Electronic Mail Address: mwb33@drexel.edu
Office: 3675 Market Street Room 1058
Extention: 215-895-2347
Office Hours: Tuesday 3-4PM, Wednesay 2-4PM Thursday 3-4PM

Teaching Assistant(s)

Joel Pepper
Electronic Mail Address: jcp353@drexel.edu
Office: Drexel CLC (Room 1066 First Floor 3675 Market Street)
Office Hours:See CLC Website

Lupe Fernandez-Nunez
Electronic Mail Address: gf347@drexel.edu
Office: Drexel CLC (Room 1066 First Floor 3675 Market Street)
Office Hours:See CLC Website

Course Description

Survey of basic mathematics concepts needed for the study of computer science at the graduate level: induction, iteration, recursion; analysis of program running time; graphs and trees; predicate logic; regular expressions, Context Free Grammars, and Turing Machines.

Course Objective and Goals

  1. Learn to analyze the running time of iterative and recursive algorithms.
  2. Learn to prove properties of algorithms and data structures using induction.
  3. Gain familiarity with basic data structures and algorithms related to them, such as trees and graphs.
  4. Learn the limits and applications of regular expressions, context free grammars, and turing machines.
  5. Learn relationships between languages and automata.
  6. Learn to use logic to prove properties of algorithms.

Audience and Purpose within Plan of Study

This course is for graduate students with little or no prior knowledge of data structures and algorithms. It serves to give such students a firm foundation for future graduate study, and it is a requirement of the Computer Science Minor and Computer Science Post Bachelor Certificate degree programs.


What Students Should Know Prior to this Course

  1. Basic Computer Usage Skills.
  2. Some experience with programming is recommended but not required.
  3. The following concepts from mathematics will be important in class. You can review the below links for more information.
    1. Summation Notation
    2. Exponents
    3. Logarithms
    4. Polynomial Expressions
    5. Recursive Formulas

What Students will be able to do upon Successfully Completing this Course:

  1. Students will be able to analyze algorithms.
  2. Students will understand a set of fundamental algorithms and how to apply them.
  3. Students will be able to prove properties of algorithms using induction, proof by contradiction, and predicate logic.
  4. Students will be able to apply regular expressions and context free grammars to parse strings.
  5. Students will be able to determine the applications and limits of data structures, algorithms, and languages.


We will use only free/library resources for this class.

Book of Proof (Second Edition)
Richard Hammack
Paperback: ISBN 978-0-9894721-0-4
Hardcover: ISBN 978-0-9894721-1-1
Available for Free online at: http://www.people.vcu.edu/~rhammack/BookOfProof/

Introduction to Theory of Computation
Anil Maheshwari and Michiel Smid
Available for Free online at: http://cglab.ca/~michiel/TheoryOfComputation/

Supplemental Texts

If you want a textbook about the Algorithms we will be studying, I recommend this one. It is not required. I just think its a great resource.

Algorithms (4th Edition)
Robert Sedgewick, Kevin Wayne
ISBN-10: 032157351X
ISBN-13: 860-1400041420
See it on Amazon

Course Material





Midterm/Final Exam

Slack Channel

Late Submissions

Special Circumstances

Course Policies

Academic Honesty Policy

The CCI Academic Honesty policy is in effect for this course. Please see the policy at http://drexel.edu/cci/resources/current-students/undergraduate/policies/cs-academic-integrity/.

Academic Honesty Violations will be reported to the University. Punishment will be determined by the severity of the incident. Punishments include, but are not limited to,

Grading and Policies

Final grades will be determined by your total points weighted according to this distribution. Grades may be curved but are generally computed via the formula below. It may be modified at the instructor's sole discretion, but letter grades will generally not be lower than those shown here.

Computer/Software Help
iCommons: http://drexel.edu/cci/about/our-facilities/rush-building/iCommons/

University Policies
In addition to the course policies listed on this syllabus, course assignments or course website, the following University policies are in effect:


  1. Graphs
  2. Searching
  3. Sorting
  4. Proof Methods
  5. Computational Models: DFA, CFG, Turing Machines

Tentative Course Schedule

Please see the appropriate assignment webpages for a detailed description of course deliverables.

Week Topic Reading In Class Homework
1 (9/23/19) Binary Numbers, Boolean Logic Chapter 2 for Book of Proof
Binary Numbers
Two's Complement
Logic Circuits
Binary Addition
Number Representations
Lab 1  
2 (9/30/19) DFA and Languages Chapter 2.1-2.4 of Theory of Computation
Lab 2  
3 (10/7/19) NFA and Regular Expressions Chapter 2.5-2.9 of Theory of Computation
DFA/NFA Simulator
Lab 3 Homework 1 - Due Oct 9, 2019 at 11:59PM
4 (10/14/19) Context Free Grammars Chapter 3.1-3.3 of Theory of Computation
Lab 4 Homework 2 - Due Oct 16, 2019 at 11:59PM
5 (10/21/19) Turing Machines Church-Turing Thesis
Chapter 4 from Theory of Computation
Turing Machine Simulator
Lab 5 Homework 3 - Due Oct 23, 2019 at 11:59PM
6 (10/28/19) Introduction to Algorithms and Induction Algorithmic Thinking: The Key for Understanding Computer Science
How to write a Pseudo Code?
Linear Search
Binary Search
Big Oh Notation
Asymptotic Notations
Lab 6 Homework 4 - Due Oct 30, 2019 at 11:59PM
Midterm - Online
7 (11/4/19) Sorting Algorithms Merge Sort
Quick Sort
Insertion Sort
Tower of Hanoi
Lab 7 Midterm - Due Nov 6, 2019 at 11:59PM
8 (11/11/19) Intro to Trees Binary Search Trees
Lab 8 Homework 5 - Due Nov 13, 2019 at 11:59PM
9 (11/18/19) Intro to Graphs and Shortest Paths Graph Representations
Depth First Search
A* and Dijkstra
Lab 9 Homework 6 - Due Nov 20, 2019 at 11:59PM
No Classes Thanksgiving
11 (12/2/19) Induction Chapter 10 (Induction) from Book of Proof
Minimum Spanning Trees will not be included but you might still find the below links interesting.
Prim's Algorithm
Kruskal's Algorithm
Lab 10 Homework 7 - Due Dec 4, 2019 at 11:59PM
12 (12/9/19) Final Online Due Dec 14th 11:59PM - No In Class Events this week Homework 8 - Due Dec 11, 2019 at 11:59pm