Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Programming in C

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Programming in C Course Code: 3331105

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT

Course Curriculum

Course Title: PROGRAMMING IN C


(Code: 3331105)

Diploma Programme in which this course is Semester in which offered


offered

Electronics and Communication 3rd Semester

1. RATIONALE:
C forms the basics of C++, C#, Visual C/C++ etc which is current requirement in the
information technology (IT) and computer science (CS). It is one of the most commonly used
programming language in industry by engineers. It is a middle level language which combines
features of both the high level and low level language. It is widely used to develop system
programming, operating systems, embedded systems. Also, C is used for creating computer
applications that are used in writing embedded software/firmware for various micro-
controllers based products in electronics, industrial and communications. C is also used in
developing verification software, test code and simulators for various applications and
hardware products. It is therefore very important for electronic engineers to develop mastery
over C language.

2. COMPETENCY (Programme Outcome according to NBA Terminology):


The course should be taught and implemented with the aim to develop different types of
skills leading to the achievement of the following competencies:
 Develop programs in C language.

3. TEACHING AND EXAMINATION SCHEME

Teaching Scheme Total Credits Examination Scheme


(In Hours) (L+T+P) Theory Marks Practical Marks Total
Marks
L T P C ESE PA ESE PA
200
3 0 4 7 70 30 40 60
Legends: L - Lecture; T - Tutorial/Teacher Guided Student Activity; P - Practical; C - Credit; ESE - End
Semester Examination; PA - Progressive Assessment

GTU/NITTTR/Bhopal/12-13 Gujarat State


1
Programming in C Course Code: 3331105

4. COURSE DETAILS
Major Learning Topics and Sub-topics
Outcomes (Course
Unit Outcomes in Cognitive
Domain according to NBA
terminology)
Unit – I 1a. Prepare flowcharts
1.1 Concepts of programming methodology.
Concepts , 1b. Develop algorithms
1.2 Flowchart
Constants, 1.3 Algorithm
Variables and 1c. Learns concept of 1.4 Character set
Data Types
constants and 1.5 'C' tokens
variables 1.6 Keywords & Identifiers
1.7 Constants
1.8 Variables, Declaration of variables
1.9 Assigning values to variables
1d. Distinguishes different 1.10 Data types
data types and storage 1.11 Storage Class, Declaration of storage
class 1.12 class
Unit – II 2a. Creates arithmetic and 2.1 Arithmetic operators
Operators logical programs 2.2 Relational operators
and 2.3 Logical operators
Expressions 2.4 Assignment operators
2.5 Increment and Decrement operators
2.6 Conditional operators
2.7 Bitwise operators and Special
Operators
2.8 Evaluation of arithmetic and logical
2.9 expressions
2b. Operates input and 2.10 Formatted input & output
output Functions 2.11 Unformatted input & output
2.12 I/O Functions: scanf(), printf(), getch(),
putch(), gets(),puts() Programming
exercises based on arithmetic and
logical expressions
Unit – III 3a. Develops decision 3.1 IF statement
Branching making sub routines 3.2 IF..else statement
and Looping 3.3 Nesting of if..Else statement
3.4 Else if ladder
3.5 Switch Statement
3.6 The? : Operator
3.7 Go To statement.
3.8 Programming based on decision making
3b. Implements looping in 3.9 While statement
programs 3.10 Do and Do while statement
3.11 For statement
3.12 Jumps in Loops
3.13 Use of break and continue statements in
looping
3.14 Complex programming exercises

GTU/NITTTR/Bhopal/12-13 Gujarat State


2
Programming in C Course Code: 3331105

Major Learning Topics and Sub-topics


Outcomes (Course
Unit Outcomes in Cognitive
Domain according to NBA
terminology)
Unit – IV 4a. Creates ability of 4.1 Introduction to Arrays and Strings
Arrays and handling large size 4.2 One dimensional arrays of int, float &
Pointers data of similar nature. characters
4.3 Initializing two dimensional arrays
4.4 Programming exercises based on One
dimensional arrays
4b. Understands efficient 4.5 Introduction to pointers
use of memory, access 4.6 Declaration and initialization of pointers
and distinguish real 4.7 Structure definition & initialization
world data types 4.8 Programming exercises based on Pointers
and structures
Unit – V 5a. Creates own functions 5.1 Introduction of User Defined functions
User Defined, and able to operate (UDF)
Library available library 5.2 Call by value & Call by reference
Functions functions 5.3 Library Functions: clrscr(), abs(), sqrt(),
and File og(), pow(), int(), isdigit(), isalpha(),
Management toupper(), tolower(), strlen(), strcat(),
strcpy, strcmp
5.4 Differences between library function &
5.5 UDF
5.6 Recursive function (Only Factorial
Example)
5.7 Programming exercises based on UDF
and library functions
5b. Develops ability to 5.8 Introduction of file management.
operate real world 5.9 Defining, Opening and Closing a file
projects 5.10 Input and Output Operations on files
5.11 Programming exercises based on file
management

GTU/NITTTR/Bhopal/12-13 Gujarat State


3
Programming in C Course Code: 3331105

5. SUGGESTED SPECIFICATION TABLE WITH HOURS & MARKS (THEORY)

Unit Unit Title Distribution of Theory Marks


Teaching R U A Total
Hours Level Level Level Marks
I Concepts, Constants, 8 3 5 6 14
variables and data types
II Operators and 9 2 4 10 16
expressions
III Branching and looping 12 4 6 10 20
IV Arrays, Pointers and 8 3 4 5 12
Structures
V User defined functions, 5 2 2 4 8
library functions and file
management
Total 42 14 21 35 70

Legends: R = Remember; U = Understand; A = Apply and above levels (Bloom’s revised taxonomy)

Note: This specification table shall be treated as a general guideline for students and teachers.
The actual distribution of marks in the question paper may vary slightly from above table.

6. SUGGESTED LIST OF EXERCISES/PRACTICAL

The practical/exercises should be properly designed and implemented with an attempt


to develop different types of practical skills (Course Outcomes in psychomotor and
affective domain) so that students are able to acquire the competencies (Programme
Outcomes). Following is the list of practical exercises for guidance.

Note: Here only Course Outcomes in psychomotor domain are listed as


practical/exercises. However, if these practical/exercises are completed appropriately,
they would also lead to development of Programme Outcomes/Course Outcomes in
affective domain as given in a common list at the beginning of curriculum document
for this programme. Faculty should refer to that common list and should ensure that
students also acquire those Programme Outcomes/Course Outcomes related to
affective domain.

Following is the list of Practical/exercise for guidance.


S. Unit Practical/Exercise (Course Outcomes in Psychomotor Domain Approx.
No. No. according to NBA Terminology) Hrs.
Required
1 I Use the software for editing compiling and running C programs. 2
2 I Use different menu options of software 2
3 I Initialize local variables 2
4 II Perform simple arithmetic using local variables 2
5 II Output data using printf and cout statement 2
6 II Input data using scanf and cin statements 2

GTU/NITTTR/Bhopal/12-13 Gujarat State


4
Programming in C Course Code: 3331105

S. Unit Practical/Exercise (Course Outcomes in Psychomotor Domain Approx.


No. No. according to NBA Terminology) Hrs.
Required
7 II Out put the data on screen using printf in required formats 2
8 II Use of various mathematical operators in C 2
9 II Perform floating point arithmetic programs 2
10 II Evaluate simple formula using C programs 2
11 II Develop & Test programs using Conditional or Logical 2
expressions
12 III Develop & Test programs with control structure like if , if-else 2
13 III Develop & Test programs with control structure like nested if- 2
else
14 III Develop & Test programs with else if ladder 2
15 III Develop & Test Programs with switch & break statement 2
16 III Develop & Test program with while loop 2
17 III Develop & Test program with do while loop 2
18 III Develop & Test program with for loop 2
19 III Develop & Test program using break and continue statements 2
20 IV Develop & Test programs to declare and initialize arrays 2
21 IV Develop & Test programs with one and two dimensional arrays 2
22 IV Develop & Test programs with character type arrays 2
23 IV Develop & Test programs to use library functions of C 2
24 IV Develop & Test programs related to pointer variables 2
25 IV Develop & Test programs related to structure variables 2
26 V Develop & Test programs with user defined functions 2
27 V Develop & Test programs to pass the value of local variables into 2
your C functions
28 V Create and read/write ASCII character file 2
Total 56

7. SUGGESTED LIST OF STUDENT ACTIVITIES


Following is the list of proposed student activities like:

1. Multiple choice questions, short questions and answers


2. Technical Quiz, seminar and debate
3. Rapid code development and debugging competition.
4. The course activities include: Formal Lecture: 30% Supervised Classroom Work:
5. 30% Supervised Laboratory Tutorials: 30% Unsupervised Directed Learning: 10%

8 SPECIAL INSRUCTIONAL STRETAGIES (If Any)

i. Concepts will be introduced in lectures using charts/ppt.


ii. Quiz on various topics
iii. Students should be helped in developing logic on individual basis (some sessions
may be as tutorials)
iv. Practical work will be through laboratory sessions.

GTU/NITTTR/Bhopal/12-13 Gujarat State


5
Programming in C Course Code: 3331105

9. SUGGESTED LEARNING RESOURCES


(A) List of Books:
S. Title of Books Author Publication
No.
1 Programming in C Balagurusamy, E (Fifth Edition) Tata McGraw-Hill,
New Delhi, 2012
2 Programming in C Gottfried Byron (Third Edition) Tata McGraw-Hill,
New Delhi, 2012
3 Introduction to C Reema Thareja (First Edition) Oxford University
Programming (With Press, 2012
CD ROM support)
4 Programming in C Ashok N Kamthane Pearson
(Second Edition)
5 Let Us C Kanetkar Yashvant BPB Publications,
(Twelfth Edition) 2012
6 Programming in C Kernighan Brian and Ritchie Prentice Hall of India
Dennis (Second Edition) Pvt. Ltd., New Delhi,
2012

B. List of Major Equipment/Materials


i. Computers with C and C++ language programming facilities. (Separate
computer for each student)
ii. Multimedia projector, Tutorial Video CD (Programming in C), Expert video
lectures.

C List of Software/Learning Websites


i. Software/tools : Turbo C or Borland C, Visual Studio
ii. Theory and programming concepts: www.nptel.iitm.ac.in
iii. www.nptelvideos.com/programming/c_programming_videos.php
iv. www.ocw.mit.edu (Practical Programming in C - MIT Open Course Ware)
v. www.cprogramming.com
vi. http://www2.its.strath.ac.uk/courses/c/
vii. http://www.iu.hio.no/~mark/CTutorial/C-Tut-4.02.pdf

GTU/NITTTR/Bhopal/12-13 Gujarat State


6
Programming in C Course Code: 3331105

10. COURSE CURRICULUM DEVELOPMENT COMMITTEE

Faculty Members from Polytechnics

 Prof. S. N. Sampat, Sr. Lecturer, Government Polytechnic, Gandhinagar


 Prof. G.V. Parmar, Lecturer, Government Polytechnic, Jamnagar
 Prof. R. B. Shah, Sr. Lecturer, Government Polytechnic, Ahmedabad.
 Prof. (Smt.) P. G. Patel, Lecturer, Government Polytechnic, Ahmedabad.

Coordinator and Faculty Members from NITTTR Bhopal


 Dr. Shailendra Singh, Professor & Head Dept. of Computer Engineering and
Applications
 Dr. Priyanka Tripathi, Associate Professor, Dept. of Computer Engineering and
Applications

GTU/NITTTR/Bhopal/12-13 Gujarat State


7

You might also like