This course will enable the students to -
This module is designed to acquaint the students with the basics of C++ programming language, a useful tool to investigate theoretically problems in different areas of Physics.
Course Outcomes (COs):
Course |
Learning outcome (at course level) |
Learning and teaching strategies |
Assessment Strategies |
|
---|---|---|---|---|
Paper Code |
Paper Title |
|||
PHY 114 |
Computer Programming (Theory)
|
The students will be able to – CO20: Describe and compare machine language and a high level language; source code, object code and executable code. CO21: Understand the concept of data abstraction and encapsulation and describe the function of the compiler in the language translation process. CO22: Demonstrate an understanding of algorithms in the problem-solving process, Identify the necessary properties of good problem-solving techniques. CO23: Create and analyze algorithms for solving simple problems. CO24: Apply techniques of structured (functional) decomposition to decompose problem and a program solution into smaller pieces. CO25: Design and implement code that includes the reuse of both existing code and calling functions in the C/C++ libraries. CO26: Demonstrate an understanding of scope, lifetime and duration rules for variables and functions. CO27: Learn how to overload functions and operators in C++. CO28: The student will develop sufficient knowledge of programming with C/C++, so as to write down programs for different Physics related problems and run to same to obtain useful output. |
Approach in teaching: Interactive Lectures, Discussion, Tutorials, Reading assignments, Demonstration. Solving problems in tutorials.
Learning activities for the students: Self-learning assignments, Effective questions, Simulation, Seminar presentation, performing given tasks, practicals, small animated games develop Additional learning through MOOCs course on SWAYAM/NPTEL
|
Class test, Semester end examinations, Quiz, Solving problems, Assignments, Presentation |
Inheritance: Introduction, Form of inheritance, Derive class declaration, inheritance and member accessibility, Constructor invocation, Function overloading, Member function overloading, Multi level inheritance, Multiple inheritance, Multi path inheritance, Hybrid Inheritance.