+ All Categories
Home > Documents > UNIT-Icbitmca.herokuapp.com/pages/Data/sem1/CPP/cpp_syb.pdf · 3 Hours. 75 Marks. 20 Marks 5 Marks...

UNIT-Icbitmca.herokuapp.com/pages/Data/sem1/CPP/cpp_syb.pdf · 3 Hours. 75 Marks. 20 Marks 5 Marks...

Date post: 07-Jul-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
2
MC112 With effect from Academic Year 2013-'14 COMPUTER PROGRAMMING Instruction Duration ofUniversity Examination University Examination Internal Examination Assignment Credits OBJECTIVES: 41. periods per week 3 Hours. 75 Marks. 20 Marks 5 Marks 3 1. Making the student to learn and write algorithms, flowcharts to various types of problems. 2. Making the student to learn C, C+ and write C, C++ programs to various types of problems 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-I Algorithm, flowchart, program development steps, creating and running programs, structure of a C program, character set, keywords, identifiers, basic data types and sizes, Constants, variables, operators, expressions, type conversions, operator precedence and associativity, evaluating expressions, Input-output statements, statements and blocks. Control structures: if and switch statements. UNIT-II Loops: 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-m Arrays: concepts, declaration, definition, accessing elements, storing elements, arrays and functions, two-dimensional and multi-dimensional arrays, applications of arrays- binary search and bubble sort. Pointers: concepts, pointers as function arguments, pointer arithmetic, Character pointers and functions, pointers to pointers, pointers and arrays, array of pointers, dynamic memory management functions, command line arguments. uNIT-1V Strings: concepts, string VO operations, string manipulation functions. Structures: declaration, definition and initialintion of structures, accessing structures, nested structures, array of su•uctures, structures and functions, pointers to structures, unions, enumerated types, typedet 14
Transcript
Page 1: UNIT-Icbitmca.herokuapp.com/pages/Data/sem1/CPP/cpp_syb.pdf · 3 Hours. 75 Marks. 20 Marks 5 Marks 3 ... header files, C preprocessor, storage classes- extern, auto ... file I/O operations,

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

Page 2: UNIT-Icbitmca.herokuapp.com/pages/Data/sem1/CPP/cpp_syb.pdf · 3 Hours. 75 Marks. 20 Marks 5 Marks 3 ... header files, C preprocessor, storage classes- extern, auto ... file I/O operations,

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


Recommended