Summer 2016 offering at LUMS as CS 300
An in-depth programming course for individuals with prior programming experience. Through extensive programming exercises, we will cover many computer science concepts and their applications to large problems. Since programming exercises can and will take a significant amount of time, plan your workload/signups on other demanding courses accordingly.
The goal of the course is to build the ability to construct large and complex software. One of repeated themes in the course is top-down design or its more sophisticated forms of contract-driven and test-driven development. The course covers functional programming in Haskell, proceeds with asynchronous programming in NodeJS, and multithreaded programming in Java.
In functional programming, the focus of the course is 1) top-down design and how to break problems, 2) how to avoid unnecessary variables, 3) how to treat and pass around computation like data, and 4) how to solve complicated problems using recursion. A recursive descent parser will be discussed to understand the concepts of parsing and to put recursion to good use.
In asynchronous programming, the focus of the course is 1) to understand fundamentals of event-driven systems, 2) designing programs around events, and 3) building an event-driven system using lambdas, closures, and continutations. A web applications will be discussed to understand the concepts of client-server application design and to see a real example of an event-driven system.
In multithreaded programming, the focus of the course is 1) to understand the necessity to write multithreaded programs and the intrinsics of modern multithreaded computers, 2) to design applications around threads and to convert simple algorithms to parallel algorithms, 3) to be able to understand and fix multithreading issues, and 4) combining event-driven and functional features with multithreaded programming.
Mon/Wed/Fri 11am–1pm in TBD (20min break)
CS 200 / EE 201
|20%||Assignments (3 x 10%, including bonuses that will not make assignment marks greater than 20)|
|60%||Lab examinations (3 x 20% lab exams)|
|20%||Attendance/Quizzes (2 x 10%. Quiz will not be graded for students arriving late or leaving early. Missed quizzes *will* result in loosing 2 marks. However, your best quizzes will be picked for the remaining marks.)|
You must not turn in work that is not yours. You must not enable someone else to turn in work that is not his or hers. Do not share your work with anyone else and adequately protect all your files. You must not allow someone to openly violate this policy because it diminishes your effort as well as that of your honest classmates.
Changing your exam answers after they have been graded, copying answers during exams, or plagiarizing the work of others will be considered academic dishonesty and will be subject to disciplinary penalties, including the possibility of failure in the course and/or dismissal from the University. Plagiarism detection software will be used on the programs submitted in this class.
Attendance & class decorum
Attendance is required and there is a quiz in every class. As per Computer Science Department policy, no one will be allowed in class after 5 minutes of scheduled start time. If you do not attend, do not expect me or any TA to repeat the material for you. Missing more than five classes will result in an F in the course.
Your behavior should not be disruptive during class and should not hinder in other students’ learning. In particular do not chat with your neighbors. Keep your cell phones turned off in class. You can use laptops to take notes but make sure they do not disturb anyone in your surroundings.
Late submissions & missed exams
All work must be turned in by electronic submission before the deadline (no e-mailed submissions). Do not submit at the last moment. If you submit your assignment late even by a second, it will not be considered.
Under exceptional situations (e.g. emergency medical), I may give extra days but under no circumstance, the extra days will be awarded after the deadline has already passed.
Petitions for missed examinations approved by the Office of Student Affairs will most likely receive an average score after a deduction according to their semester performance.
Stack & Heap, OS, Compiler, Run-time environment
Functional Programming in Haskell, Higher order functions
Types and Lambdas, Type classes
Exam 1 syllabus ends here.
Asynchronous Event-driven programming
Last day to withdraw this course.
Asynchronous client server programming
Asynchronous file operations
Variable capturing in closures
Exam 2 syllabus ends here.
Multithreading and Parallelism
Threads, Threadpools, Tasks
More parallel algorithms
Concurrency and Mutual Exclusion
Locks and Monitors
No class (tentative)
Parsing and Lexical Analysis
Recursive descent parsers