SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTER SCIENCE AND ENGINEERING DEPARTMENT OF CSE COURSE PLAN COURSE CODE : CS1002 COURSE TITLE : Programming Language Design And C Programming SEMESTER : II COURSE TIME : JAN 2015 -MAY 2015 LOCATION : UNIVERSITY BUILDING SESSION DETAILS: DAY ORDER SECTION A B C D E F G H I J K HOUR HOUR HOUR HOUR HOUR HOUR HOUR HOUR HOUR HOUR HOUR 1 3 3 1,4 5 1 1 2 2 5 1 2 1 3 2 5 1 1 3 1 4 4 1 7 5 7 4 2 4 3,5 2,4 2 1 6 5 HOUR 1 2 3 4 5 6 7 TIMINGS 8.45-9.35 9.35-10.25 10.35-11.25 11.25-12.15 1.30-2.20 2.20-3.10 3.10-4.00
FACULTY DETAILS: Sec. Name Office Office hour Mail id A Mrudula Meduri 8th Floor UB Monday to Friday mrudulameduri.p@ktr.srmuniv.ac.in B B.Rajkumar 6th Floor TP Monday to Friday rajkumar.ra@ktr.srmuniv.ac.in C C.Sindhu 8th Floor UB Monday to Friday sindhu.c@ktr.srmuniv.ac.in D C.Rajesh Babu 6th Floor TP Monday to Friday rajeshbabu.c@ktr.srmuniv.ac.in E J.Pradhipa 8th Floor UB Monday to Friday prathipa.j@ktr.srmuniv.ac.in F Kanmani Sivagar 8th Floor TP Monday to Friday kanmani.s@ktr.srmuniv.ac.in G Meena Priyadarshini 8th Floor UB Monday to Friday meenapriyadarsini.a@ktr.srmuniv.ac.in H M.Karthikeyan 6th Floor TP Monday to Friday karthikeyan.m@ktr.srmuniv.ac.in I S.Poornima 2nd Floor TP Monday to Friday poornima.se@ktr.srmuniv.ac.in J T.Y.J.Naga Malleswari 2nd Floor TP Monday to Friday nagamalleswari.t@ktr.srmuniv.ac.in K J.V.Vidhya 8th Floor TP Monday to Friday vidhya.j@ktr.srmuniv.ac.in REQUIRED TEXT BOOKS: 1. Seyed H Roosta, Foundations of programming languages design & implementation, Cengage Learning. 2009. (For Unit 1 &2 er Chapter 1-9). 2. Behrouz A.Forouzan and Richard F.Gilberg, Computer Science,A structured programming Approach Using C., third edition, Cengage learning, 2008. (For Unit 3-5 er Chapter 4 10). REFERENCE BOOKS: 1. Ravi Sethi, Programming Language Concepts and Constructs, Pearson Education, 2006. 2. Ashok N. Kamthane, Programming with ANSI and Turbo C, Pearson Education, 2007 3. Pradip Dey, Manas Ghosh, Programming in C, second edition, Oxford University Press, 2011.
WEB RESOURCES: OBJECTIVES http://books.google.com 1. To understand the concepts of Programming language and Grammars 2. To learn Imperative and Object-oriented programming languages 3. To learn the basics of C declarations, operators and expressions 4. To learn on the manipulation of strings, functions and pointers 5. To apply concepts and techniques for implementation ASSESSMENT TEST SCHEDULE Assessment Marks Cycle Test I 05 Cycle Test II 05 Surprise Test 2.5 Model Exam 10 Attendance 2.5 Total 25 S. DATE TEST TOPICS DURATION 1 Cycle Test - I Unit III & IV 2 periods 2 As per calendar Cycle Test - II Unit IV & V 2 periods 3 Model Exam Units I, II & V 3 Hrs OUTCOMES Students who have successfully completed this course will have full understanding of the following concepts Course outcome Program outcome To learn Imperative and Object-oriented programming languages Basic Concepts and Fundamentals of C programming. Applying Concepts and technique for Implementation An ability to learn Imperative and Objectoriented programming languages. An ability to understand the basic concepts and C programming. An ability to code using string, structure and functions
DETAILED SESSION PLAN UNIT III-CONTROL STRUCTURES AND LOOPING (9 hours) Introduction to the C language-structure of C program-expressions type conversion-selection making decisions-two way selection Multi way selection- Repetition Initialization and updating loops in C looping Applications- Library functions Input, Output statements. 1 2 3 4 5 6 7 8 9 Introduction to the C language Structure of C program Expressions type conversion -selection making decisions Two way selection Multi way selection Repetition Initialization and updating loops in C looping Applications Library functions Input, Output statements,, Assignment, Assignment UNIT IV-FUNCTIONS AND ARRAYS (10 hours) Functions calling Functions Passing arguments- Arrays Defining and processing an array Arrays Defining and processing an array -Passing arrays to Functions Multidimensional Arrays Strings-arrays of Strings- String Manipulation functions 10 Functions Discussion 11 12 Calling Functions Passing arguments Discussion, Illustration by examples Discussion, Illustration by examples 13 Arrays
14 Defining and processing an array, 15 Passing arrays to Functions, 16 Sample programs 17 Multidimensional Arrays 18 Strings-arrays of Strings, 19 String Manipulation functions, UNIT V-STRUCTURES AND POINTERS (10 hours) Structures & Unions- definition Processing structures Passing structures to a function User defined data types Pointers: Operations on Pointers Pointers and Multidimensional Arrays - Arrays of pointers- bitwise operators- Files: File creation File processing Opening and closing a file. 20 Structures 21 22 definition Processing structures Passing structures to a function,, 23 Unions definition Processing unions 24 User defined data types 25 26 27 28 29 Pointers : Operations on Pointers Pointers and Multidimensional Arrays - Arrays of pointers bitwise operators Files: File creation File processing Opening and closing a file.,,,,,
UNIT I-PRELIMINARY CONCEPTS (8 hours) Introduction-Programming language design- programming language processing- Machine Language-Low level language- High level language-syntax Specification-Regular Expressions- Formal Parameters-Classification of Grammars-Syntax Tree- Ambiguity. 30 31 32 Introduction-Programming language design Programming language processing Machine Language- Low level language- High level language Assignment Assignment 33 34 Syntax Specification Regular Expressions- Formal Parameters Assignment 35 Classification of Grammars 36 Classification of Grammars 37 Syntax Tree- Ambiguity, UNIT II-IMPERATIVE LANGUAGES & OBJECT ORIENTED LANGUAGES (8 hours) Imperative programming languages Design Principles-control flow-execution steps-desirable & undesirable characteristics- General Characteristics of Object Based programming Design Principles for Object oriented programming- Implementing Object oriented programming. 38 Imperative programming languages 39 40 Design Principles-control flow Execution steps-desirable characteristics, 41 42 Undesirable characteristics General Characteristics of Object Based programming,, 43 General Characteristics of Object Based programming 44 Design Principles for Object oriented programming 45 Implementing Object oriented programming.,
HOD/CSE