1
'radesh Common Core Syllabus SRI KRISHNADEVARAYA UNIVERSITY : ANANTHAPURAMU COMPUTER SCIENCE Common to B.Sc.(CS/IT> Under CBCS With Effect From Academic Year 2015-2016 SEMESTER -II Paper - I I PROGRAMMING I N C Sti Br< Fu: X UNIT I Introduction to C Introduction, Structure of a C program, Writing the First C Program,Files used in a C Program, Compiling and Executing C Programs, Using Comments, Keywords, Identifiers, Basic Data Types in C, Variables, Constants, Input/Output Statement in C, Operators in C U N I T I I Decision Control and Looping Statements Introduction to Decision Control Statements, Conditional Branching Statements, Iterative Statements, Nested Loops, reak and Continue Statements, Goto Statement notions Introduction, Using Functions, Function Declaration / Function Prototype, Function Definition, Function Call, Return Statement, Passing Parameters to the Function, Scope of Variables, Storage Classes, Recursive Functions, Types of Recursion, ecursion Versus Iteration I N I T I I I krrays Introduction, Declaration of Arrays, Accessing Elements of the Array, Storing fames in Arrays, Calculating the Length of the Array, Operations that can be jerformed on Arrays, One-dimensional Arrays for Inter-function Communication, Two- imensional Arrays Strings Introduction, String Operations UNIT IV Pointers Introduction to Pointers, Declaring Pointer Variables, Null Pointers, Generic Pointers, Passing Arguments to Functions using Pointers, Pointers and Arrays, Passing an Array to a Function. Structure, Union, and Enumerated Data Types Introduction, Structures and Functions, Union. UNIT V Files Introduction to Files, Using Files in C, Reading Data from Files, Writing Data to Files, Detecting the End-of-file, Error Handling during File Operations, Accepting Command Line Arguments. TEXT BOOKS : K l. "Programming in C", By N.Uday Bhaskar, Winger Publications, Hyderabad. 2. "Computer Fundamentals and Programming in C by REEMA THAREJA from OXFORD UNIVERSITY PRESS REFERENCE BOOKS : I E Balagurusamy: -COMPUTING FUNDAMENTALS 8B C PROGRAMMINGD - Tata McGraw-Hill, Second Reprint 2008, ISBN 978-0-07-066909-3. Ashok N Kamthane: Programming with ANSI and Turbo C, Pearson Edition Publ, 2002. Henry Mullish 8B Huubert L.Cooper: The Sprit of C, Jaico Pub. House, 1996.

Semester II Syllabus 1

Embed Size (px)

DESCRIPTION

dadafasdfa

Citation preview

Page 1: Semester II Syllabus 1

' radesh C o m m o n Core Sy l labus S R I K R I S H N A D E V A R A Y A U N I V E R S I T Y : A N A N T H A P U R A M U

C O M P U T E R S C I E N C E C o m m o n to B.Sc.(CS/IT>

Unde r C B C S W i t h Ef fect F r o m Academic Y e a r 2015-2016 S E M E S T E R - I I

P a p e r - I I P R O G R A M M I N G I N C

S t i Br< F u :

X UNIT I

I n t r o d u c t i o n t o C I n t r o d u c t i o n , S t r u c t u r e o f a C p r o g r a m , W r i t i n g t h e F i r s t C Program,F i l es u s e d i n a C P r o g r a m , C o m p i l i n g a n d E x e c u t i n g C P r o g r a m s , U s i n g C o m m e n t s , K e y w o r d s , I d e n t i f i e r s , B a s i c D a t a T y p e s i n C, V a r i a b l e s , C o n s t a n t s , I n p u t / O u t p u t S t a t e m e n t i n C, O p e r a t o r s i n C

U N I T I I Decision Control and Looping Statements I n t r o d u c t i o n t o D e c i s i o n C o n t r o l S t a t e m e n t s , C o n d i t i o n a l B r a n c h i n g S t a t e m e n t s , I t e r a t i v e S t a t e m e n t s , N e s t e d L o o p s ,

r e a k a n d C o n t i n u e S t a t e m e n t s , Go t o S t a t e m e n t notions

I n t r o d u c t i o n , U s i n g F u n c t i o n s , F u n c t i o n D e c l a r a t i o n / F u n c t i o n P r o t o t y p e , F u n c t i o n D e f i n i t i o n , F u n c t i o n C a l l , R e t u r n S t a t e m e n t , P a s s i n g P a r a m e t e r s t o t h e F u n c t i o n , Scope o f V a r i a b l e s , S t o r ag e C lasses , R e c u r s i v e F u n c t i o n s , T y p e s o f R e c u r s i o n ,

e c u r s i o n V e r s u s I t e r a t i o n

I N I T I I I krrays I n t r o d u c t i o n , D e c l a r a t i o n o f A r r a y s , A c c e s s i n g E l e m e n t s o f t h e A r r a y , S t o r i n g f a m e s i n A r r a y s , C a l c u l a t i n g t h e L e n g t h o f t h e A r r a y , O p e r a t i o n s t h a t c a n b e j e r f o r m e d o n A r r a y s , O n e - d i m e n s i o n a l A r r a y s fo r I n t e r - f u n c t i o n C o m m u n i c a t i o n , T w o -imensional A r r a y s

Strings Introduction, S t r i n g O p e r a t i o n s

UNIT IV Pointers I n t r o d u c t i o n t o P o i n t e r s , D e c l a r i n g P o i n t e r V a r i a b l e s , N u l l P o i n t e r s , G e n e r i c P o i n t e r s , P a s s i n g A r g u m e n t s t o F u n c t i o n s u s i n g P o i n t e r s , P o i n t e r s a n d A r r a y s , P a s s i n g a n A r r a y t o a F u n c t i o n . Structure, Union, and Enumerated Data Types I n t r o d u c t i o n , S t r u c t u r e s a n d Functions, Union. UNIT V Files Introduction to Files, Using Files in C, Reading Data from Files, Writ ing Data to Files, Detecting the End-of-file, Error Handling during File Operations, Accepting Command Line Arguments.

T E X T BOOKS :

Kl . "Programming in C " , By N.Uday Bhaskar, Winger Publications, Hyderabad. 2. "Computer Fundamentals and Programming i n C by REEMA THAREJA

from OXFORD UNIVERSITY PRESS R E F E R E N C E BOOKS :

IE Balagurusamy: -COMPUTING FUNDAMENTALS 8B C PROGRAMMINGD -Tata McGraw-Hi l l , Second Reprint 2008, ISBN 978-0-07-066909-3. Ashok N Kamthane: Programming w i t h ANSI and Turbo C, Pearson Edi t ion

Publ, 2002. Henry Mu l l i sh 8B Huuber t L.Cooper: The Spri t of C, Jaico Pub. House, 1996.