I. Course Overview:: Course Code: A1501 Course Title: Computer Programming Course Structure
I. Course Overview:: Course Code: A1501 Course Title: Computer Programming Course Structure
A1501
Course Title
COMPUTER PROGRAMMING
Course Structure
Lectures
Tutorials
Practicals
Credits
Course Coordinator
Team of Instructors
I. Course Overview:
The course helps the students to solve Engineering problems and implementation of projects through computer programming. The course
also helps the students to write selection test and face interviews for software jobs. The Course is important because most of the application
and system software are developed and are being developed in C programming language. Thorough knowledge of the language is essential
for software professional career. The learning approach of the course is each feature and syntax of the language will be explained through
one or more examples. This is implemented by making the student write the programs to solve Mathematical, Engineering and simple data
processing problems. The course is implemented through lecture, tutorial and laboratory sessions
II. Prerequisite(s):
Level
Credits
UG
Periods / Week
Prerequisites
Mathematical background and Logical Thinking
University End
Total
Exam Marks
Marks
75
case a student does not appear in the Continuous Assessment Tests due to any reason
100
10 marks
15 marks
75 marks
V. Course Objectives:
The course presents basics of C programming including Data representation, Control Structures, Functions, Arrays, Pointers, Strings, and
Files that aims to:
I.
II.
III.
IV.
V.
Recognize the importance of dynamic memory allocation over static memory allocation.
VI.
2.
3.
4.
Apply basic data structure like array in simple data processing applications.
5.
Explain the importance of user defined functions to implement real time applications.
6.
7.
8.
9.
10.
Apply C programming to do variety of tasks like low level programming, networking, OS related operations and so on.
Level
principles, and computer science and engineering theory in the modeling and design of
Proficiency
assessed by
Assignments, mini
projects.
An ability to design and conduct experiments, as well as to analyze and interpret data
--
Assignments, mini
projects,
seminars.
--
An ability to analyze a problem, identify, formulate and use the appropriate computing and
Assignments, mini
engineering requirements for obtaining its solution (engineering problem solving skills)
f
projects.
N
--
An ability to communicate effectively both in writing and orally (speaking / writing skills)
--
The broad education necessary to analyze the local and global impact of computing and
--
Assignments, mini
projects,
seminars.
--
An ability to use current techniques, skills, and tools necessary for computing and
Assignments, mini
An ability to apply design and development principles in the construction of software and
projects.
N
--
Assignments, mini
projects,
N = None
S = Supportive
seminars.
H = Highly Related
VIII. Syllabus:
UNIT - I
INTRODUCTION TO COMPUTERS: Introduction to computers, computer systems, computingenvironments, computer languages, creating
and running programmes, software development method, algorithms, pseudo code, flow charts, applying the software development method.
INTRODUCTION TO C LANGUAGE: Basic structures of C language, C tokens, data types and sizes,declaration of variables, assigning
values
OPERATORS AND EXPRESSIONS: Statements, arithmetic, relational and logical operators, incrementand decrement operators, conditional
operator, bitwise operators, type conversions, expressions and evaluation, input and output statements, sample programs.
UNIT - II
CONTROL STATEMENTS: If and switch statements, while, do while and for statements, sampleprograms.
FUNCTIONS: Defining and accessing, passing arguments, function prototypes, library functions, staticfunctions, user defined functions,
recursive functions, variables and storage classes, scope rules, block structure, header files, C preprocessor, example C programs.
ARRAYS: Defining and processing, one dimensional and two dimensional arrays, initialization, passingarrays to a function, multi dimensional
arrays, command line arguments.
UNIT - III
STRINGS: Defining and operations on strings, string variables declaration, reading, writing. Basics offunctions, parameter passing, string
handling functions.
POINTERS: Basic Concepts, pointer to pointer, passing pointers to a function, operations on pointers,pointer arithmetic, pointers and arrays,
arrays of pointers, function pointers, dynamic memory allocation.
UNIT - IV
STRUCTURES AND UNIONS: Structure definition, initializing, assigning values, passing of structures asarguments, array of structures,
pointers to structures, self reference to structures, unions, typedef, bit fields, sample programs.
UNIT - V
CONSOLE AND FILE I/O: File, types of files, file vs. console, file structure, file attributes, file operations,standard I/O, formatted I/O, sample
programs.
1.
2.
Reference Books:
1.
Herbert Schildt (2000), C: The Complete Reference, 4th Edition, New Delhi, Osborne Mc Graw Hill.
2.
B. W. Kerninghan and Dennis M. Ritche (1988), The C Programming Language, 2 nd Edition, Prentice Hall Software Series,
India.
3.
X. Course Plan:
The course plan is meant as a guideline. There may probably be changes.
Lecture
No.
1-2
Topics to be covered
Reference
T1:1
computing environments
3
T1:1.1
programs
4-5
T1:1.2
T1:1.3
T1:1.4
program.
structures of C language
problem.
8-9
10
T1:1.5
types used in C.
11-14
T1:1.6
its usage.
T1:2.1
15
T1:2.2
T1:2.3
T1: 3.1.1-3.1.3
statements
19-21
22
23
its usage.
SAMPLE PROGRAMS.
complexity of code.
T1: 3.4
T1:3.2.1-3.2.2
T1:3.2.3
T1.3.2.4
defined functions.
24
T1:3.2.5
25
T1: 4.1
programs.
example C programs.
26 - 28
T1:4.2 - 5.1
T1:5.2
arguments.
30-32
33-35
T1:5.4 T1:7.1.17.1.2
T1:7.1.3-7.1.4
T1.7.1.6
T1:7.2
T1:7.3
allocation
41
structures.
T1:7.4
arguments
42
T1:6.1
48
T1:6.2
T1:6.3
T2:6.4
49-50
bit field
51-52
vs. console
53-55
T1:8.2 - 8.6
60
standard I/O
formatted I/O
formatted I/O
T1:8.4
T1:8.5
T1:8.6
XI. Mapping course objectives leading to the achievement of the programme outcomes:
Program Outcomes
Course
Objectives
IV
V
II
III
S = Supportive
H = Highly Related
XII. Mapping course outcomes leading to the achievement of the programme outcomes:
Program Outcomes
Course
Outcomes
1
2
3
4
H
S
H
S
H
10
H
S = Supportive
Prepared By
Date
:
:
H = Highly Related