CHC3912 DEPARTMENT OF
CHEMICAL
ENGINEERING
CHC3912
DEPARTMENT OF CHEMICAL ENGINEERING
ALIGARH MUSLIM UNIVERSITY, ALIGARH
Course Number and Title CHC 3912 Computer Programming Lab
Credits 1.5
Course Category Programme Core (PC)
Pre-requisite(s) COA 1912
Contact Hours (L-T-P) 0-0-3
Type of Course Laboratory Course
Course Assessment Report Preparation and Submission 30-40 Marks
Viva-voce and/or Quiz 20-30 Marks
Sessional 60 Marks
End Semester Examination:
Viva-voce and/or Practical 40 Marks
Grand Total 100 Marks
COURSE OBJECTIVES: To develop skills for writing programs in appropriate language (Low
level/High level) for solving chemical engineering problems.
LIST OF EXPERIMENTS (COMPUTATIONAL PROBLEMS):
1. Overview of Programming Language
2. Review of Numerical Methods
3. Roots of non-linear equation
4. Simultaneous linear equation
▪ Direct and
▪ Iterative methods
5. Data Analysis
▪ Interpolation
▪ Regression
6. Numerical Differentiation and integration
7. Ordinary differential Equation
8. File Handling Data retrieving and storage
REFERENCE BOOKS:
1. Grewal,B. S., Numerical Methods in Engineering & Science with Programs in C, C++ &
MATLAB , Khanna Publisher ,2012
2. Qingkai, K.T., S. A. Bayen , Python Programming and Numerical Methods: A Guide for
Engineers and Scientists. Academic Press; 1st edition, 2020
3. Mathews J. H., Frank K D., Numerical Methods Using MATLAB, 4th Ed., Pearson Prentice
Hall, New Delhi, 2009.
4. Chapra S.C., Canale R. P., Numerical Methods for Engineers, McGraw-Hill Education; 8th
Ed., 2020.
5. E. Balagurusamy, Numerical Methods, Tata McGraw-Hill Publishing Company Ltd.,
New Delhi, 1999.
COURSE OUTCOMES: After completing this course the students shall be able to:
1. Formulate the problem in tune with the Numerical techniques.
2. Develop the algorithm for the assigned problem to be implemented on computer.
3. Develop the program for the solution of the assigned problem.
PROGRAM OUTCOMES (POS):
Engineering Graduates will be able to:
1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and
an engineering specialization to the solution of complex engineering problems.
2. Problem analysis: Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and
engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and design system
components or processes that meet the specified needs with appropriate consideration for the public health
and safety, and the cultural, societal, and environmental considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to
provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering
and IT tools including prediction and modeling to complex engineering activities with an understanding of
the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
7. Environment and sustainability: Understand the impact of the professional engineering solutions in
societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable
development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports and
design documentation, make effective presentations, and give and receive clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one’s own work, as a member and leader in a team, to manage
projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent
and life-long learning in the broadest context of technological change.
PROGRAM SPECIFIC OUTCOMES (POS):
Engineering Graduates will be able to:
1. Apply the fundamentals of mathematics, science and engineering knowledge to identify, formulate, design
and investigate complex problems in chemical engineering and its complimentary disciplines.
2. Apply the appropriate and modern engineering software tools in chemical engineering to engage in
lifelong learning and to successfully adopt in multidisciplinary environment.
3. To make aware the impacts of professional engineering solutions in societal, environmental context, show
professional ethics and be able to communicate effectively.
RELATIONSHIPS OF COS WITH POS
COs POs PSOs
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
1
2
3
4
GENERAL INSTRUCTIONS:
1. Each student will be given a problem related to Chemical Engineering to be
solved numerically using computer codes written either in C or C++.
2. One problem will be given each week and the report will have to be submitted
next week except under special circumstances.
3. Students absent on any turn will not be allowed to submit the problem given in
that particular turn.
4. Wherever a numerical method is being used to solve a problem, students are
required to make a general program for that method in the form of a function and
use the same for the particular case of the assigned problem.
5. The report must be strictly in the specified format on A4 size paper. The reports
will be evaluated weekly and only hand written report will be accepted except the
Computer programs and the input/outputs which must be in original i.e. printed
from the compiler used. No photocopy is allowed.
Experiment Title : …………………………….
Name : …………………………….
[Link]. : …………………………….
Coll. No. : …………………………….
En. No. : …………………………….
Group No. : …………………………….
Conducted by : …………………………….
…………………………….
…………………………….
…………………………….
…………………………….
Date of conduction : …………………………….
Date of submission : …………………………….
Format of the Report:
1. Statement of the Problem
This should contain the complete statement of the problem
2. Problem Formulation
This should contain the formulation in the form of equations that will b e readily
used in computer program. In case no formulation is needed, the marks will be
added to problem statement
3. Algorithm
This should contain the solution strategies that are to be translated into computer
code. The algorithm should be brief and self-explanatory.
4. Computer Programs
Complete computer codes with main programs and the functions in C or C++.
5. Input Data
Any input required for the program in the form of input file. If no input is required,
the marks will be added to the results.
6. Results
Complete results, compatible with the computer program in the form of data file
in original as required in the problem statement.
Problem 1:
Title: Introduction to Computers and C Language
Problem Statement: Fundamentals of C programming - Primitive Data Types,
Constants, Variables; Operators-Arithmetic, Logical, Assignment, Conditional;
Expressions, Library functions, Comments.
Input Functions- getchar, scanf, gets; Output functions- putchar, printf, puts; Control
Statements - If-Else, Switch, Loops (For, While, Do-While), Break, Continue, Goto.
Arrays, Strings, Functions, Program Structure - storage classes (External, Automatic,
Static, Register), Structures, Pointers, File Operations and File Handling.
References
1. A K Sharma, “Fundamentals of Computers & Programming with C”, D R
Publications.
2. Peter Norton, “Introduction to Computers”, Tata McGraw Hill.
3. Gottfried, “Theory and Problem of Programming with C” Schaum’s Outline
Series, TMC.
4. Yeshwant Kanetkar, “Let Us C”, UPB Publisher.