CSIR11-Introduction-to-Computer-Programming
CSIR11-Introduction-to-Computer-Programming
Name of Course
-
Coordinator(s)
Official E-mail - Telephone No. -
Course Type (please Core course Elective course
tick appropriately)
Introduction to C- C character set- Identifiers and Keywords- Data types- Constants- Variables
Declarations- Expressions- Statements- Symbolic Constants- Operators- Library Functions Data input and
output: Single character input and output- Entering input data- Writing output data- gets and puts
functions - Control Statements- Branching: if-else-looping: while- do-while for; Nested control
Structures- switch statements- Break statements- Continue Statements Comma operator- goto
statements.
Modular Programming- Functions and Procedures - Examples- Parameters passing methods - Arrays-
Defining an array- Processing an array- Multi dimensional arrays- Pointers- Variables definitions and
initializations- Pointer operators- Pointer expressions and arithmetic- Pointers and one dimensional
arrays - String operations.
Files – Input / Output using files – fread, fwrite, fprintf, fscanf – Formatted input – File access - argc, argv.
NATIONAL INSTITUTE OF TECHNOLOGY TIRUCHIRAPPALLI
Text Books
1. Byron Gotfried, “Programming with C”, third edition, Tata McGraw hill
Education, 2010.
2. R.G. Dromey, “How to solve it by computer”, Prentice Hall, 2001.
3. Brian W Kernighan and Dennis Ritchie, The C Programming language, 2nd
Edition, Prentice Hall, 1988.
COURSE OBJECTIVES
To learn the fundamentals of computers
To learn the problem-solving techniques, writing algorithms and procedures
To learn the syntax and semantics of C programming language
To develop C code for simple logic
To understand the constructs of structures programming including conditionals and
iterations
Week-6
6
2L Sample programs based on Practical
nested control structures,
more on input and output –
gets(), puts()
Functions and procedures – Lecture
theory, parameter passing Chalk and Talk
methods, examples, Coding
Week-7 recursion-its advantages,
7 2T+2L disadvantages, examples
Sample programs based on Practical
nested control structures, use
of different operators in
nested control
NATIONAL INSTITUTE OF TECHNOLOGY TIRUCHIRAPPALLI
Week-10
10
2T+2L Sample programs - Arrays for Practical
strings, Pointers, pointer
operators, pointer arithmetic
Continuous Assessment
4 -- -- 10
(Weekly lab)
--
5 Programming Assessment 1 3 hours 10
--
6 Programming Assessment 2 3 hours 10
1. Studcnts ccdback through class committce mectingsthrough MIS or any other standard
Fecdbacks are collocted belore (inal cxamination
fomat followed by the institute
may give their feedback at any time to thc
3. Students, through their Class Represcntatives,
course làculty which will bc duly addresscd.
students, compensation assessIment
COURSE POLICY (prefrred mode of correspondencc with
poliey to be speeificd)
in-pcrson
MODE QF CORRESPONDENCE:Email/ Phonc,
COMPENSATION ASSESSMENT POLICY
I and 2 for
be given after completion of Cycle Test
1. One compensation asscssment will assessment duc to genuinc rcason.
the students thosc who are abscnt for any
cover the syllabus of Cycle tests 1& 2.
2. Compensatory assessmcnts would documents must be submitted for absence.
3. The prior permission and required
RoyauSsila )