Download B.Tech. CIVIL-R14
Transcript
ANNAMACHARYA INSTITUTE OF TECHNOLOGY & SCIENCES::RAJAMPET (AN AUTONOMOUS INSTITUTION) I Year B.Tech. CE (4G113) PROGRAMMING IN C AND INTRODUCTION TO DATA STRUCTURES (Common to CIVIL, EEE, ME & ECE) Course Objectives: 1. Introduction to computer peripherals, Software development. 2. Describe when and how to use the stand C statement and to Write, Compile and Debug basic C programs using an IDE 3. Write and debug programs using an IDE and the principles of designing structured programs when and how to use the appropriate statements available in the C language 4. Write basic C programs using , Selection statements, Repetitive statements, Functions, Pointers, Arrays and Strings 5. Implementation of C applications for data structures, sorting and searching. UNIT I: Introduction to Computers: Computer Systems, Computer Environments, Computer Languages, Creating and Running C programs, System Development-Algorithms, Flow Charts. Introduction to C Language: Structure of a C Language program, Keywords, Identifiers, Types, typedef, enumerated Types variables, constants, input/output, simple example programs. UNIT II Operators and Expressions, precedence and associatively, Type Conversions, Bitwise Operators. C Program Statements, Selection and Decision making Statements-two way selection –if…else statements, multi way selection-switch statements. Loop Control Statements-concept of a loop, pretest and post test loops ,event and Counter Controlled loops, Loops in C-while loop, do…while loop, for loop, Other Related Statements -break, continue, goto, sample programs. ARRAYS: Declaring and Referencing Arrays, Array Subscripts, Using for Loops for Sequential Access, Multidimensional Arrays. Strings: String Basics, String Library Functions, Array of Strings. 21 | P a g e