Objectives:
To expose the students to computer of programming and its application in construction industry.
Course Contents:
1. Programming in ‘C’:
· Difference between package and languages
· Different kind of languages · What kind of language ‘C’ is?
2. How to begin programming:
· Algorithms · Flow Charts · Dry run
3. Basic things to be learned for programming in ‘C’:
· What are variable? · Data types of variable · Basic data types and derived data types.
· How to declare a variable. · Writing a simple program in ‘C’. · Executing program in ‘C’.
4. Operators in ‘C’:
· Classification of operators · Arithmetic · Comparison · Logical
5. Conditional statements:
· If else · If else if · Nested if · Switch case
6. Loops:
· What are loops? · Why do we need loops? · While loop
· Do while loop · For loop · Nested for loop
7. Arrays:
· What is an Array? · Need of arrays · Index of arrays
· How to declare an array · Assigning values to elements of an array
· Two-dimensional array,
8. Pointers:
· Role of a pointer · How it works
9. User defined types using structures:
· How to declare a structure · How to use a structure
10. Function:
· Advantages of functions · Declaration of functions
· Definition of functions · Function call
11. Parameter passing to functions:
· Pass by value · Pass by reference · Return value of functions
11. Course for C++:
· Difference between Structured programming and Object Oriented Programming
· Meaning of Object Oriented · Basic Object Oriented concepts
· Different Object Oriented languages · Classes Vs. Structures
· Private and Public sections of a class · Defining objects · Calling members and Destructors
· Const Key word · This pointer
·
Explanations of how member variables are maintained differently for every object
and member functions
are shared. · Date members vs. static
data members
12. Member functions in C++:
· Functions with default arguments · Friend Function · Friend classes
· Function overloading · Scope rules for function overloading
13. Virtual Functions:
· Pure virtual functions · Virtual destructor · Abstract Classes
14. Inheritance:
· What are base and derived classes? · Single inheritance · Multiple inheritances
· Accessing base class members · Constructor and destructor under inheritance
15. Introduction to Java:
· What is java? · Feature of Java · Difference between C++ and java as OOP language
· Descriptions of application and applet in java · Creating simple Application and a Applet in Java.
Reference Books:-
1. Spirit of C, Object Oriented Programming with C++ - By E. Balguruswami
Evaluation:
Attendance ,Test, Assignments, Quiz, Tutorials 60%
Final Exam 40%