|Instructor||: Venkatesh Vinayakarao|
|Term||: Aug - Dec 2018|
|Teaching Assistants||: To be announced.|
Welcome to Computer Programming in C! This course introduces students to computational thinking and problem solving using the C programming language. Programming has become a necessary skill for not only computer engineers, but almost for everyone in a variety of fields. From a school kid to a grand mother, everyone codes. This course aims to develop the proficiency to program in C. This course does not focus on any specific IDE or operating system.
Key Learning Objectives
At the end of this course, you should be able to:
- Think programmatically.
- Read, write and execute C programs of size up to 100 lines.
- Understand the strengths and limitations of C language.
Variables, Constants, Data Types, Branching, Loops, Case Control, Functions, Pointers, Recursion, C Preprocessor, Single and Multidimensional Arrays, Handling Strings, Stuctures, Console and File Input/Output, Bit Operations, Enumeration.
|Assignments (2 * 8% + 1 * 9%)||25%|
|Bonus Project (optional)||0%|
There is no pre-requisite courses for this course. Students are expected to bring curiosity for problem solving and systematic thinking. Students are encouraged to have their own laptops. Any operating system and any C compiler should work. Knowledge of any of the following will be a plus:
- Number Systems: Differences between fixed-point and floating-point, and single vs. double precision could be useful to learn a programming language. Instructor will cover the necessary basics in this course.
- Computer Architectures: Differences between 32-bit and 64-bit helps in understanding why C program behavior is unpredictable at times. This course will inspire you to learn more about computer organization and architectures.
- Compilers: Basics of compiler design helps us appreciate the working of a C-compiler. We will discuss compilation phases, differences between C code, intermediate code and executables, and also the differences between interpreted and compiled languages. This course should inspire you take a course on compiler design.
- Theory of Computation: What is an algorithm? What is computable and what is not? These are interesting questions which we will only touch upon. A hands-on C course such as this should inspire you to dig deeper into the precise notion of algorithms which happens to be a subject matter of the course, Theory of Computation.
The project component is optional. Even if attempted, students will not get any additional marks for this work. Yet, students are highly encouraged to do an impressive project. This will improve their proficiency and confidence in dealing with C. At the end of the course, best project will be announced. To be selected for the best C project, the project should have 300 to 400 lines of code. Student should be able to explain every line of code. Students who are attempting the project must register before submitting the first assignment. Contact TA with the topic of your project for registration. You may withdraw from the project at any point of time during the course.
- [C] The C Programming Language. 2015 Edition. Brian Kernighan and Dennis Ritchie.
- [YK] Let Us C. 15th Edition. Yashwant Kanetkar. BPB Publications.
- G. Dromey, How to Solve It by Computer, Prentice-Hall, Inc., Upper Saddle River, NJ, 1982.
- Project Euler
If you are not
having fun, you are not the best coder you can be!