unit-icbitmca.herokuapp.com/pages/data/sem1/cpp/cpp_syb.pdf · 3 hours. 75 marks. 20 marks 5 marks...
TRANSCRIPT
MC112With effect from Academic Year 2013-'14
COMPUTER PROGRAMMING
Instruction
Duration ofUniversity ExaminationUniversity ExaminationInternal ExaminationAssignmentCredits
OBJECTIVES:
41. periods per week3 Hours.
75 Marks.20 Marks5 Marks
3
1. Making the student to learn and write algorithms, flowcharts to various types ofproblems.2. Making the student to learn C, C+ and write C, C++ programs to various types ofproblems
OUTCOMES:1. Student has capability to write algorithms, flowcharts to various types of problems.2. Student has capability to vvTite correct and efficient C, C++ programs to various types of
problems.
UNIT-IAlgorithm, flowchart, program development steps, creating and running programs, structure of aC program, character set, keywords, identifiers, basic data types and sizes, Constants, variables,operators, expressions, type conversions, operator precedence and associativity, evaluatingexpressions, Input-output statements, statements and blocks. Control structures: if and switchstatements.
UNIT-IILoops: while, do-while and for, break, continue. Functions: function basics, parameter passing,block structure, user defined functions, standard library functions, recursive functions,Comparison of Iteration and Recursion, header files, C preprocessor, storage classes- extern,auto, register, static.
IJNIT-mArrays: concepts, declaration, definition, accessing elements, storing elements, arrays andfunctions, two-dimensional and multi-dimensional arrays, applications of arrays- binary searchand bubble sort. Pointers: concepts, pointers as function arguments, pointer arithmetic, Characterpointers and functions, pointers to pointers, pointers and arrays, array of pointers, dynamicmemory management functions, command line arguments.
uNIT-1VStrings: concepts, string VO operations, string manipulation functions. Structures: declaration,definition and initialintion of structures, accessing structures, nested structures, array ofsu•uctures, structures and functions, pointers to structures, unions, enumerated types, typedet
14
l!es: concepts of a file, text files and binary files, file I/O operations, sequential-access files,
random-access files.
UNIT-VC++: Introduction, reference variables, default arguments, inline functions, function overloading,
classes and objects, constructors, destructors, friend functions, operator overloading, this pointer,
delete, new.
Text Books:1. B.A. Forouzan and R.F.Gilberg,"Computer science, A structured programming approach
using C", 3rd Cengage learning.2. Yashwantkanetkar, "Let us C" , BPB Publications.
3. Deitel HM&Deitel PJ, "C How to program" Pearson education.
4. Pradip D &Manas G, "Programming in C 2/e", Oxford University Press,
5. E Balaguruswamy, "Programming in ANSI C", Tata McGraw-Hill
6. K R Venugopal& S R Prasad, "Programming with C", Tata McGraw-Hill.
7. YashwantKanetkar, "Let us C++", BPB Publications.
8. E Balagurusamy, "Object Oriented Programming with C++", Tata McGraw-Hill.
Suggested books;1. BW Kernighan DM Ritchie, 'The C programming Language", 2nd Edition, Prentice
Hall India.
2. Bjame Stroustrup, "The C++ programming Language" , 3rd Edition, Pearson education.
15