CS201-01 - Introduction to Programming Lecture No 1 Program...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Introduction to Programming Lecture No. 1 Program “A precise sequence of steps to solve a particular problem” Alan Perlis – Yale University: “It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self­critical? “ Critical Skills – Analysis – Critical Thinking – Attention to Detail Design Recipe To design a program properly, we must: – Analyze a problem statement, typically expressed as a word problem – Express its essence, abstractly and with examples – Formulate statements and comments in a precise language – Evaluate and revise the activities in light of checks and tests – PAY ATTENTION TO DETAIL – These skills are useful for anybody – All assignments in this course should follow the these guidelines Computers are STUPID even more……. Humans are Think Reuse Area of the Ring Inner Circle Outer Circle Area of Outer Circle ____ Area of Inner Circle = Area of the Ring Think Reuse Think User Interface Comments liberally What is the probability that she gets exactly three letter right i.e. three Letters into their correct envelopes. Logical Error Lewis Carol: “Through the Looking Glass” “Twas brillig, and the slithy toves Did gyre and gimble in the wabe “ Course Policy Policy for the distribution of marks and examination is as follows Assignments 15% Group discussion 5% Midterm 35 % Final 45 % Books Deitel & Deitel :– C++ How to Program Kernighan and Ritchie:­ The C Programming Language Course Objectives Objectives of this course are three fold 1. To appreciate the need for a programming language 2. To introduce the concept and usability of the structured programming methodology 3. To develop proficiency in making useful software using the C language To achieve our first two objectives we will be discussing Basic Programming constructs and building blocks Structured programming Structured flowcharts, pseudo­code Course Contents Course Contents History of C Language Variables and expressions in C Control structures and functions Arrays and Pointers Dynamic memory Allocation File handling Structures and Unions Flavor of Object oriented programming Course Contents ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern