3320702
3320702
Second Semester
1.
RATIONALE
Students in the previous semester have learned procedure for developing programs to
solve simple problems using basic features of very popular language i.e. structured
programming language `C. This course deals with some advanced features of the C
language. The programming skills thus acquired can be used for developing programs
with advance level programming features which in turn will be helping in developing
practical applications for the scientific, research and business purposes.
2.
COMPETENCY
The course content should be taught and implemented with the aim to develop
different types of skills so that students are able to acquire following competency:
i. Develop structured, modular and memory efficient programs in C using
arrays, functions, pointers and data files.
3.
Teaching Scheme
(In Hours)
L
Total Credits
(L+T+P)
Examination Scheme
Theory Marks
ESE
PA
Practical Marks
ESE
Total Marks
PA
200
70
30
40
60
Legends: L-Lecture; T Tutorial/Teacher Guided Student Activity; P - Practical; C Credit;; ESE End Semester Examination; PA - Progressive Assessment.
Note: It is the responsibility of the institute heads that marks for PA of theory & ESE and PA
of practical for each student are entered online into the GTU Portal at the end of each semester
within the dates specified by GTU.
Gujarat State
4.
Major Learning
Topics and Sub-topics
Outcomes
1a.Develop, debug and 1.1 Declaring and initializing One-Dimensional
Unit I
execute
programs
Array and array Operations
Arrays
which use reading,
i.
Insertion
writing
and
ii.
Searching
manipulating
single
iii.
Merging
dimensional
and
iv.
Sorting
multidimensional
v.
Deletion
arrays.
1.2 Introduction of String as array of characters
Declaration and Initialization of String
1.3 Two-Dimensional Array and its Operations
i.
Insertion, Deletion
ii. Matrix addition operation
1.4 Multi-Dimensional Arrays
1.5 sscanf() and sprintf() Functions
1.6 Drawbacks of Linear Arrays
2a. Develop, debug and 2.1 Introduction and Features of Pointers
Unit II
execute programs to 2.2 Declaration of Pointer
Pointers
perform
memory 2.3 Void Pointers
access using Pointers 2.4 Array of Pointers
2.5 Pointers to Pointers
3a.
Develop,
debug
and
3.1 Basics of Functions
Unit III
execute
modular 3.2 Built-in and user defined Functions
Functions
programs by writing 3.3 Using String, Math and other built-in
and using Functions
functions
3.4 Advantages of using Functions
3.5 Working of a Function
3.6 Declaring, Defining and calling user defined
Functions3.7 The return Statement
3.8 Call by Value and call by Reference
3.9 Function as an Argument
3.10 Recursion
3.11 Advantages
and
Disadvantages
of
Recursion
4a. Appreciate use of 4.1 Introduction
Unit IV
4.2 #define and #undef Directives
Preprocessor various header files
4b. Define, test and 4.3 #include ,#line Directive
Directives
implement constant and 4.4 Predefined macros in ANSI C
Macro
4.5 Standard I/O Predefined Streams in stdio.h
4.6 Predefined macros in ctype.h
5a. Implement different 5.1 Introduction and Features of Structures
Unit V
Structure and data types under a 5.2 Declaration and Initialization of Structures
GTU/ NITTTR Bhopal/12 -13
Gujarat State
Unit
Union
Unit VI
Files
Major Learning
Topics and Sub-topics
Outcomes
single structure
5.3 Array of Structures
5b. Utilize memory 5.4 Pointers to Structure
effectively using Union 5.5 typedef
5.6 Enumerated Data Type
5.7 Union
5.8 Union of Structures
6a. Develop, debug and 6.1 Introduction
execute programs to 6.2 File Operations
read and write data
i. Opening a File
from secondary storage
ii. Reading a File
devices
iii.Closing a File
6.3 Text Modes
6.4 Binary Modes
6.5 File Functions
i. fprintf()
ii. fscanf()
iii.getc()
iv.putc()
v. fgetc()
vi.fputc()
vii.fseek()
viii. feof()
6.6 Command Line Arguments
5.
Unit Title
Arrays
Pointers
Functions
Preprocessor Directives
Structure and Union
Files
Total
Teaching
Hours
8
8
8
4
6
8
42
Legends: R = Remember; U = Understand; A = Apply and above levels (Blooms revised taxonomy)
Note: This specification table shall be treated as only general guideline for students and
teachers. The actual distribution of marks in the question paper may vary from above
table.
Gujarat State
6.
Write, test, debug and execute following programs to develop different types of skills
leading to the achievement of desired competency as mentioned. Out of the following
enough practical/Exercise should be selected from each unit to give total workload of
56 hours to students.
S. No.
7.
Unit
No.
Practical/ Exercises
3
4
II
II
III
III
III
IV
10
11
VI
12
VI
Approx
Hrs.
Required
06
06
06
06
06
06
04
02
04
06
06
12
70
Gujarat State
8.
List of Books
Author
Sr.No.
B.
C.
1
2
Kamthane,A.N.
Balaguruswami,E.
Kanetkar, Yashavant
Title of Books
Programming in C
Programming in ANSI
C
Let us 'C'
Publication
Pearson,2012
TMH,2012
BPB
publications,2010
C Compiler
1
2
3
4
5
9.
Gujarat State