Government of Karnataka
Department of Technical Education
Board of Technical Examinations, Bangalore
Course Title: C PROGRAMMING LAB
Course
Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78
Code:15ME47P
Type of Course: Tutorial and Core/ Elective:
Credit :03
practice Core(practice)
CIE- 25 Marks SEE- 50 Marks
Prerequisites: Knowledge of computer operation.
Course Objectives:
1. Apply the specification of syntax rules for numerical constants and variables, data
types,
2. Usage of Arithmetic operator, Conditional operator, logical operator and relational
operators and other C constructs.
3. Write C programs using decision making, branching, looping constructs
4. Apply and Write C programs to implement one dimensional and two dimensional
arrays
5. Writing programs using functions
Course Outcome:
On successful completion of the course, the students will be able to:
CL Linked Linked Teaching
Course Outcome Exercise PO Hrs
Acquire logical thinking, Implement 1 to 10
the algorithms and analyze their
U/A 1,2,3,5,10 69
complexity, Identify the correct and
CO1
efficient ways of solving problems
Implement real time applications 11,12,13
using the power of C language 1,2,3,4,5,1
U/A 09
features. 0
CO2
Total sessions 78
Legend: R; Remember, U: Understand A: Application
1. COURSE-PO ATTAINMENT MATRIX
Course Programme Outcomes
1 2 3 4 5 6 7 8 9 10
MACHINE SHOP 3 3 3 1 3 - - - - 3
Level 3- Highly Addressed, Level 2-Moderately Addressed, Level 1-Low Addressed.
Method is to relate the level of PO with the number of hours devoted to the COs which address the given PO.
If >40% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 3
If 25 to 40% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 2
If 5 to 25% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 1
If < 5% of classroom sessions addressing a particular PO, it is considered that PO is considered not-addressed.
Directorate Of Technical Education Karnataka State 15ME47P MECH
TUTORIAL SESSION ACTIVITES
Introduction to C programming- Need for a computer language, types of computer languages,
features of C, Character set- Structure of C program., keywords, statements, standard library
functions, pre-processor, main function, comments, variables, data types, operators,
assignments, strings, format specifies, escape sequences, control structures-sequential,
conditional, repetitive/looping, arrays-one & two dimensions, user defined functions
LIST OF GRADED PRACTICAL EXERCISES
The practical/Graded exercises should be properly designed and implemented with an attempt
to develop different types of learning out comes in affective domain and psychomotor
domain, so that students are able to acquire the necessary skills. Following is the list of
experiments to be carried out
Apprx.
Exer
Hrs.
cise Practical/Exercise
Required
No.
C PROGRAMMING
1 Introduction to C programming (Lecture and demo).And 04+05
Write C programme to convert the temperature in degree Celsius to
degree Fahrenheit.
2 To find the sum and average of 3 real numbers. 01+02
3 To find the sum of even and odd numbers from 1 to N. 01+02
4 To find the sum of digits of a number. 01+02
5 To reverse the given integer and check whether it is a palindrome or not 02+04
6 To find the roots of a quadratic equation using switch statement. 03+06
7 To arrange N numbers in ascending order using Bubble sort technique 03+06
8 To perform addition of two matrices. 03+06
9 To perform a multiplication of two matrices after checking the 03+06
compatibility for multiplication.
10 To find the largest of 3 numbers using functions (functions with 03+06
arguments and return value)
11 To find the distance travelled by a vehicle, given it’s initial velocity ‘u’, 01+02
acceleration ‘a’ and time ‘t’ [ S = ut + 1/2at2]
12 To find out Clearance volume of an Engine, given its bore diameter, 01+02
Length of stroke and Compression ratio
13 To find the power transmitted by shaft by inputting the value speed and 01+02
torque transmitted
TOTAL 78Hrs
Note: For the above exercises, first the flowchart should be developed and then the programs
should be written and executed.
Directorate Of Technical Education Karnataka State 15ME47P MECH
Concepts in C- Balaguruswamy
SUGGESTED LIST OF STUDENT ACTIVITYS
Note: the following activities or similar activities for assessing CIE (IA) for 5 marks (Any one)
1. Each student should do any one of the following type activity or any other similar
activity related to the course and before conduction, get it approved from concerned
Teacher and HOD.
2. Each student should conduct different activity and no repeating should occur
1 Ask the students to take the simple problems in Hydraulics , develop a C Programme
2 Ask the students to take the simple problems in Strength of Materials , develop a C
Programme
3 Ask the students to take the simple problems in Thermal engineering, develop a C
Programme
Course Delivery:
The course will be delivered through lectures and presentations
Course Assessment and Evaluation Scheme:
What To whom When/Where Max Evidence Course
(Frequency in Marks collected outcomes
the course)
CIE IA Students Student 10 Activities sheet 1,2
Assessment
Activities
Record – 15 Graded 1,2
Average marks exercises
of graded
exercises to be
computed
Direct
meth
End of the 50 Answer scripts 1,2
course at BTE
Student Feedback Students Middle of the Feedback forms 1 Delivery of
on course course course
End of Course End of the Questionnaires 1,2
Survey course Effectiveness
Assessment
of Delivery of
Indirect
instructions &
Assessment
Methods
*CIE – Continuous Internal Evaluation *SEE – Semester End Examination
Note:
1. Rubrics to be devised appropriately by the concerned faculty to assess Student activities.
Directorate Of Technical Education Karnataka State 15ME47P MECH
MODEL OF RUBRICS /CRITERIA FOR ASSESSING STUDENT ACTIVITY
RUBRICS FOR ACTIVITY( 5 Marks)
Unsatisfactory Developing Satisfactory Good Exemplary Student
Dimension
Score
2 4 6 8 10
Collects very Collect much Collects Collects a Ex:
Does not collect
limited information; some basic great deal of
Collection any information
information; but very information; information; 4
of data relating to the
some relate to limited relate most refer to all refer to
topic
the topic to the topic the topic the topic
Does not perform Performs all
Fulfil Performs very Performs
any duties Performs very duties of
team’s roles little duties but nearly all 6
assigned to the little duties assigned
& duties unreliable. duties
team role team roles
Rarely does Usually does Always does
Normally
Shares Always relies on the assigned the assigned the assigned 8
does the
work others to do the work; often work; rarely work without
assigned
equally work needs needs having to be
work
reminding reminding reminded.
Usually does Talks good;
Is always talking; Listens, but
Listen to most of the but never Listens and 8
never allows sometimes
other Team talking; rarely show interest speaks a fair
anyone else to talk too
mates allows others in listening amount
speak much
to speak others
Average / Total marks=(4+6+8+8)/4=26/4=6.5=7
Note: This is only an example. Appropriate rubrics/criteria may be devised by the
concerned faculty (Course Coordinator) for assessing the given activity.
Note to IA verifier: The following documents to be verified by CIE verifier at the end of
semester
1. Student suggested activities report for 10 marks
2. Student feedback on course regarding Effectiveness of Delivery of instructions &
Assessment Methods.
Scheme of Valuation for End Examination
Serial no Description Marks
1 Writing Programme 20
2 Execution 20
4 Viva 10
TOTAL 50
Directorate Of Technical Education Karnataka State 15ME47P MECH
EQUIPMENT LIST: Quantity: 01 Each
1. Latest Configuration Computers -20 no
2. C software
3. LCD Projector
MODEL QUESTION PAPER
IV Semester Diploma in Mechanical Engineering
C-PROGRAMMING LAB
Time: 3 Hours [Max Marks: 50]
1. Write C programme for Finding the power transmitted by shaft by inputting the value
speed and torque.
Writing Programme 20
Execution 20
Viva 10
TOTAL 50
MODEL QUESTION BANK
IV Semester Diploma in Mechanical Engineering
C-PROGRAMMING LAB
1 Write C programme to convert the temperature in degree Celsius to
degree Fahrenheit.
2 To find the sum and average of 3 real numbers.
3 To find the sum of even and odd numbers from 1 to N.
4 To find the sum of digits of a number.
5 To reverse the given integer and check whether it is a palindrome or not
6 To find the roots of a quadratic equation using switch statement.
7 To arrange N numbers in ascending order using Bubble sort technique
8 To perform addition of two matrices.
9 To perform a multiplication of two matrices after checking the
compatibility for multiplication.
10 To find the largest of 3 numbers using functions (functions with
arguments and return value)
11 To find the distance travelled by a vehicle, given it’s initial velocity ‘u’,
acceleration ‘a’ and time ‘t’ [ S = ut + 1/2at2]
12 To find out Clearance volume of an Engine, given its bore diameter,
Length of stroke and Compression ratio
13 To find the power transmitted by shaft by inputting the value speed and
torque transmitted
Directorate Of Technical Education Karnataka State 15ME47P MECH