← Programming Concepts in Mechanical Engineering (25ME34I)
About the Course
Programming Concepts in Mechanical Engineering (25ME34I) · C-25 Diploma Mechanical, Semester III
Read with diagrams, search and self-test
Course at a Glance
| Item | Details |
|---|---|
| Program | Diploma in Mechanical Engineering |
| Semester | III (C-25 scheme) |
| Course name | Programming Concepts in Mechanical Engineering |
| Course code | 25ME34I |
| Type | Integrated (theory + practice) |
| Teaching scheme | L : T : P = 3 : 0 : 4 (7 hours per week) |
| Contact hours | 91 hours per semester |
| Credits | 5 |
| CIE marks | 50 (minimum 20) |
| SEE marks | 50, practical examination of 3 hours (minimum 20) |
Course Outcomes
| CO | At the end of the course the student will be able to |
|---|---|
| CO-01 | Apply appropriate programming syntax while writing Python programs |
| CO-02 | Utilise and apply engineering data between programming environments and spreadsheet applications |
| CO-03 | Apply Python programming to solve quality control and Finite Element problems in mechanical engineering |
| CO-04 | Integrate Raspberry Pi hardware with Python for automation, robotics, control systems and data acquisition |
Week-wise Syllabus Map to this Book
| We ek | Topic | CO | Chapter |
|---|---|---|---|
| 1 | Algorithms and Flowcharts | 1 | 1 |
| 2 | Introduction to Python and Basic Constructs | 1 | 2 |
| 3 | Control Structures (Conditional Statements and Loops) | 1 | 3 |
| 4 | Functions and Modules | 1 | 4 |
| 5 | Data Structures (Lists, Tuples, Dictionaries) | 1 | 5 |
| 6 | File Handling and Exception Handling | 2 | 6 |
| 7 | Object-Oriented Programming | 2 | 7 |
| 8 | Raspberry Pi Introduction, Setup and Motor Control | 4 | 8 |
| 9 | Sensor Integration and Data Collection | 4 | 9 |
| 10 | Statistical Quality Control: Basic Concepts and Control Charts | 2, 3 | 10 |
| 11 | SQC Calculations, Process Capability Cp and Cpk | 2, 3 | 11 |
| 12 | Hypothesis Testing, DOE, Quality Tools and TQM | 3 | 12 |
| 13 | Finite Element Method: Bar Element and Stress Distribution | 3 | 13 |
Scheme of Continuous Internal Evaluation (CIE)
| Sl. | Assessment | W ee k | Duratio n | Max marks |
|---|---|---|---|---|
| 1 | CIE-1 Theory test (Weeks 1–4) | 4 | 90 min | 50 |
| 2 | CIE-2 Practice test | 7 | 180 min | 50 |
| 3 | CIE-3 Theory test | 10 | 90 min | 50 |
| 4 | CIE-4 Practice test | 13 | 180 min | 50 |
| 5 | CIE-5 Portfolio evaluation through rubrics | 1– 13 | – | 50 |
| Average of all five, scaled to | 50 |
The Semester End Examination (SEE) is a practical examination of 180 minutes for 50 marks (minimum 20). A typical full question contains one program on Python basics or OOP (10 marks), one quality-control program with Matplotlib charts (20 marks) and one Raspberry Pi program (20 marks). Model papers with complete solutions are given in Appendix A.
Software and Hardware Used
| Item | Specification |
|---|---|
| Python editors | Jupyter Notebook, Spyder (Anaconda), PyCharm, IDLE, Google Colab |
| Python libraries | math, random, statistics, csv, NumPy, Matplotlib, pandas, SciPy |
| Raspberry Pi | Model 3B+/4B/5 with Raspberry Pi OS (Desktop or Lite) |
| GPIO libraries | gpiozero (recommended), RPi.GPIO (Pi 3/4) or rpi-lgpio (Pi 5) |
| Components | 830-point breadboard, jumper wires, 5 mm LEDs, 220 Ω/330 Ω/1 kΩ/10 kΩ resistors |
| Sensors | DHT11, BMP180, PIR (HC-SR501), HC-SR04 ultrasonic |
| Actuators | L298N motor driver, DC gear motors, 5 V relay module, small pump/fan |
N O T E
Install Anaconda (free) to get Python, Jupyter and Spyder together with NumPy, Matplotlib, pandas and SciPy. On a computer without installation rights, use Google Colab in a web browser.