Syllabus UTA007
Syllabus UTA007
L
3
T
0
P
2
Cr
4.0
Course objective:This course is designed to explore computing and to show students the art of
computer programming. Students will learn some of the design principles for writing good
programs.
Detail contents:
Introduction to C++ programming: Fundamentals, Structure of a C++ program, Compilation
and linking processes.
Expressions and Console I/O : Basic Data types, Identifier Names, Variables, Scope, Type
qualifiers, Storage class specifier, Constants, Operators, Reading and writing characters, Reading
and writing strings, Formatted and console I/O, cin(), cout(), Suppressing input.
Statements: True and False, Selection statements, Iteration statements, Jump statements,
Expression statements, Block statements.
Arrays and Strings: Single dimension array, two dimension array, Strings, Array of strings,
Multi-dimension array, Array initialization, Variable length arrays.
Structures, Unions, Enumerations, and Typedef: Structures, Array of structures, passing
structures to functions, Structure pointers, Arrays and structures within structures, Unions, Bitfields, Enumerations, typedef.
Introduction to Object Oriented Programming with C++: Objects and Classes, basic
concepts
of
OOPs
(Abstraction,
Encapsulation,
Inheritance,
Polymorphism),
Constructors/Destructor, Copy constructor, Dynamic Constructor, Overloading (Function and
Operator).
Pointers: Pointer variables, Pointer operators, Pointer expressions, Pointers and arrays, multiple
indirection, Pointer initialization, Pointers to arrays, dynamically allocated arrays, Problems with
pointers, Pointers and classes, pointer to an object, this pointer.
Functions: General form of a function, Understanding scope of a function, Function arguments,
Command line arguments, Return statement, Recursion, Function prototype, Pointers to
functions.
Pre-processor and Comments: Pre-processor, #define, #error, #include, Conditional
compilation directives, #undef, Single line and multiple line comments.
File I/O: Streams and files, File system basics, fread() and fwrite(), fseek() and random access
I/O, fprintf() and fscanf(), Standard streams.
Laboratory work:To implement Programs for various kinds of programming constructs in C++
Language.
Evaluation Elements
MST
EST
Sessional (Assignments/Projects/ Tutorials/Quizzes/Lab
Evaluations)
Weightage (%)
20
40
40