
Copyright Information: Eric Grimson, and John Guttag. 6.00 Introduction to Computer Science and Programming. Fall 2008. Massachusetts Institute of Technology: MIT OpenCourseWare, https://ocw.mit.edu. License: Creative Commons BY-NC-SA.
Lecture Description
Lecture 1: Goals of the course; what is computation; introduction to data types, operators, and variables
Course Index
- Goals, Introduction to the Course
- Operators, operands, statements, branching, iteration
- Common code patterns: iterative programs
- Decomposition, abstraction through functions and recursion
- Floating point numbers, finding roots
- Bisection methods, Newton/Raphson, introduction to lists
- Lists, mutability, dictionaries, pseudocode and efficiency
- Complexity; log, linear, quadratic, exponential algorithms
- Binary search, bubble and selection sorts
- Divide and conquer methods, merge sort, exceptions
- Testing and debugging
- Debugging, knapsack problem, dynamic programming
- Dynamic programming: overlapping subproblems, optimal substructure
- Knapsack problem and object-oriented programming
- Abstract data types, classes and methods
- Encapsulation, inheritance, shadowing
- Computational models: random walk simulation
- Presenting simulation results, Pylab, plotting
- Biased random walks, distributions
- Monte Carlo simulations, estimating pi
- Simulation results, curve fitting, linear regression
- Normal, uniform, and exponential distributions
- Stock market simulation
- Course overview; what do computer scientists do?
Course Description
This subject is aimed at students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help students, regardless of their major, to feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals. The class will use the Python™ programming language.
Comments
There are no comments.
Be the first to post one.
Posting Comment...