B.Tech. IV (CO) Semester - 7 |
L |
T |
P |
C |
CO405 : PRINCIPLE OF PROGRAMMING LANGUAGES (CS-III) |
3 |
0 |
2 |
4 |
COURSE OBJECTIVES |
- Examine fundamental issues underlying the design decisions of different programming languages.
- Provide a basis for the comparative evaluation of programming languages.
- To enable students to Understand and be able to program in a functional language, logic language, and an object-oriented language.
|
COURSE OUTCOMES |
After successful completion of this course, student will be able to
- Express computational solutions in several of the main programming idioms.
- Select an appropriate programming language for solving a computational problem, with justification.
- Understand the principal programming abstractions.
|
COURSE CONTENT |
Logic programming pardigms |
(14 Hours) |
Introduction to Prolog, Prolog Programs Models, Types Of Logic, WFF, Symbolic Logic, Facts, Clauses, Predicates, Unification, Backtracking, Cut, Fail & Built-In Predicates, Recursion in Prolog, Arithmetic Operators & Relational Operators ,LIST Processing, String manipulation & Built-In Predicates, Compound objects, Dynamic Database. |
Object oriented programming pardigms |
(14 Hours) |
Introduction to Object Oriented Programming, Token, Expression & control Structure, Classes & Objects, Constructors & Destructors, Operator Overloading & Type Conversion, Inheritance, Pointers, Virtual Functions and Polymorphism, I/O Operations, Working With Files. |
Language design issue and Implmentation |
(14 Hours) |
History Of Programming Language, Role Of programming Language, Programming Environments ; Implicit and Explicit Sequence Control, Sequencing with Arithmetic Expressions, Sequence Control between Statements ; Subprogram Sequence Control Attributes of Control, Parameter Transmission ; Storage Management. |
Tutorials will be based on the coverage of the above topics separately |
(14 Hours) |
(Total Contact Time: 42 Hours + 14 Hours = 56 Hours) |
PRACTICALS |
- Implement Prolog Programs for Recursion, Arithmetic Operators & Relational Operator.
- Implement Various Prolog Programs for LIST.
- Prolog Program for String Manipulation.
- Implement Various Programs of Compound objects.
- Implement Prolog Program for Dynamic Database.
- Implement C++ Program for Class & Object, Constructor & Destructor.
- Implement C++ Programs for Operator Overloading, Inheritance, and Polymorphism, file Operation.
|
BOOKS RECOMMENDED |
- Terrence W. Pratt, Marvin V.Zelkowitz, T.V.Gopal, "Programming Languages: Design and Implementation", 4/E, Pearson Education, 2006.
- Kenneth Louden and Kenneth Lambert, "Programming Languages: Principles and Practices", 3/E, CENGAGE Learning Custom Publishing, 2011.
- Ivan Bratko, "Prolog Programming for Artificial Intelligence", 4/E, Pearson Education, 2011.
- Bjarne Stroustrup, "The C++ Programming Language", Addison-Wesley Professional, 4/E, Reprint 2013.
- E. Balagurusamy, "Object Oriented Programming with C++", 4/E ,Tata McGraw Hill , reprint 2008.
|