0% found this document useful (0 votes)
16 views

DIGITAL FUNDAMENTALS AND OBJECT ORIENTED PROGRAMMING USING C Sem I

Uploaded by

akvkacca
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

DIGITAL FUNDAMENTALS AND OBJECT ORIENTED PROGRAMMING USING C Sem I

Uploaded by

akvkacca
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DIGITAL FUNDAMENTALS AND OBJECT ORIENTED PROGRAMMING USING C++

COMPUTER SCIENCE

3 Credits 90 Hours

Module I 18
Hours
Digital fundamentals
Logic gates, Boolean algebra - Boolean expressions, De Morgan’s theorems, simplification of
Boolean expressions, karnaugh map. Combinational circuits - Half-adder, Full-adder,
Encoders, Decoders, Multiplexers, and De-multiplexers. Sequential circuits - Flip-Flops-Edge
triggered D, SR and JK, Master-slave SR, Asynchronous counters, Shift registers.

Data types, Tokens, Expressions


Basic data types, modifiers to basic data types, identifiers name, variables, constants,
operators, expressions, type conversions, type casting, operator precedence and
associativity, cin and cout objects header files, C++ comments.

Module II 18
Hours
Control statements
If, switch, for loop, while loop, do-while loop, jump statements –return, break, continue, exit
function.
Arrays
Single dimensional, two-dimensional, and multi-dimensional arrays, array initialization.
Functions
General form of a function, function prototype, function arguments, storage class specifiers,
calling functions with arrays, arguments to main function –argc, and argv, return from a
function, returning values from functions, recursive functions, function overloading, inline
functions, default arguments.
Managing console I/O operations
C++ streams, stream classes, unformatted I/O operations – put, get, getline, write functions,
formatted console I/O operations – width, precision, fill, setfill, unsetf functions, managing
output with manipulators – setw, setprecision, setfill, setiosflags, resetiosflags functions, and
endl.

Module III 18
Hours
Pointers
Pointer variable, pointer operators, pointer expressions, pointer assignment, pointer
arithmetic, pointer comparison, pointers and arrays, array of pointers, initializing pointers,
pointers to functions.
Structures, unions, enumerated data types
Structures, accessing structure members, structure assignments, arrays of structures,
passing structure members to functions, passing entire structures to functions, structures
within structures, unions, enumerated data types, typedef

Module IV 18
Hours
Object oriented programming
OOPs concepts, namespaces, classes and objects, access specifiers, scope resolution operator,
constructors – default, parameterized, overloaded, copy constructors, destructors, static
data members and member functions, arrays within a class, passing objects to functions,
returning objects, arrays of objects pointers to objects, this pointer, returning of values by
reference, dynamic memory allocation.

Module V 18Hours
Operator overloading
Creating a member operator function, overloading unary operators - ++, and --, overloading
binary operator - +, -, <, ==, concatenating strings using + operator, string comparison using
++ operator, rules for overloading operators, type conversion.
Inheritance
Types of inheritance – single, multi-level, multiple, hybrid, hierarchical, derived class
constructors, virtual functions, pure virtual functions, late binding, abstract classes, virtual
base classes
Text books:
1. The Complete Reference, C++, Herbert Schildt, Tata McGraw Hill publications, Fourth
edition.
2. Object Oriented Programming with C++, E Balagurusamy, Tata McGraw Hill publications,
Sixth Edition.
Reference books:
1. Object Oriented Programming in C++, Robert Lafore, SAMS publishing, and Fourth
Edition.
2. C++ Primer, Stanley B Lippman, Josee Lajoie, Barbara E Moo, Addison-Wesley, Fifth
Edition.

You might also like