×
Keep asking yourself. "How bad do you want it? how bad?"
--Your friends at LectureNotes
Close

Data Structure using C

by Anna Superkings
Type: NoteViews: 5Uploaded: 14 days agoAdd to Favourite

Share it with your friends

Suggested Materials

Leave your Comments

Contributors

Anna Superkings
Anna Superkings
Class / Sem: I CSE, II Semester Subject Code: CS 6202 Subject: Programming and Data Structures I Prepared by T. Vithya Unit I - C Programming Fundamentals- A Review Conditional statements – Control statements – Functions – Arrays – Preprocessor - Pointers Variation in pointer declarations – Function Pointers – Function with Variable number of arguments Textbook: T1. Brian W. Kernighan and Dennis M. Ritchie, “The C Programming Language”, 2nd Edition, Pearson Education, 1988. T3. Balagurusamy E, “ Programming and Data Structures”, Mcgraw Hill, 2014. Lesson Plan 1 Introduction to Programming Fundamentals Lesson Plan 2 Conditional Statements Lesson Plan 3 Control Statements Lesson Plan 4 Functions Lesson Plan 5 Arrays Lesson Plan 6 Preprocessor Lesson Plan 7 Pointers Lesson Plan 8 Variation in pointer Declaration Lesson Plan 9 Function Pointers Lesson Plan 10 Function with Variable number of arguments Staff in-charge CS6202/ Programming and Data Structures I HOD/IT Page 1
I CSE, II Semester Class / Sem CS 6202 Subject Code Programming and Data Structures I Subject T. Vithya Prepared By Lesson Plan for Introduction to Programming Fundamentals 45 Minutes Time: 1/10 Lesson. No 1. Topics to be Covered: Introduction to Programming Fundamentals 2. Skills Addressed : Listening 3. Objectives of this Lesson Plan: To enable students to understand the fundamental concepts of C programming. 4. Outcome (s): At the end of the lesson the students will be able to: Draw the structure of C program. Mention the features of C language. List the operators available in C. 5. Link Sheet: Define Problem solving What is the need for Algorithm? List the advantages of Flowchart? Define tokens? How to declare a variable? Draw the structure of C program. 6.Evocation: (5 Minutes) CS6202/ Programming and Data Structures I Page 2
Sri Vidya College of Engineering & Technology - Virudhunagar 6. Lecture Notes: Enclosed here 7. Textbook : Brian W. Kernighan and Dennis M. Ritchie, “The C Programming Language”, 2nd Edition, Pearson Education, 1988. Balagurusamy E, “ Programming and Data Structures”, Mcgraw Hill, 2014 8. Application Problem Solving Techniques CS6202/ Programming and Data Structures I Page 3
Sri Vidya College of Engineering & Technology - Virudhunagar 1.1 Introduction to Programming Fundamentals C is a general-purpose high level language that was originally developed by Dennis Ritchie for the Unix operating system. It was first implemented on the Digital Equipment Corporation PDP-11 computer in 1972. The Unix operating system and virtually all Unix applications are written in the C language. C has now become a widely used professional language for various reasons. Easy to learn Structured language It produces efficient programs. It can handle low-level activities. It can be compiled on a variety of computers. Facts about C C was invented to write an operating system called UNIX. C is a successor of B language which was introduced around 1970 The language was formalized in 1988 by the American National Standard Institue (ANSI). By 1973 UNIX OS almost totally written in C. Today C is the most widely used System Programming Language. Most of the state of the art software have been implemented using C Why to use C ? C was initially used for system development work, in particular the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as code written in assembly language. Some examples of the use of C might be: Operating Systems Language Compilers Assemblers Text Editors Print Spoolers Network Drivers Modern Programs Data Bases Language Interpreters Utilities C Program Structure A C program basically has the following form: Preprocessor Commands Functions CS6202/ Programming and Data Structures I Page 4

Lecture Notes