0% found this document useful (0 votes)
331 views6 pages

1BPOPL107 C Programming Lab

1BPOPL107 C Programming Lab syllabus

Uploaded by

logu73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
331 views6 pages

1BPOPL107 C Programming Lab

1BPOPL107 C Programming Lab syllabus

Uploaded by

logu73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

LAB COURSE (1 Credit) template 1

C Programming Lab Semester I/II


Course Code 1BPOPL107/207 CIE Marks 50
Teaching Hours/Week (L:T:P:S) [Link] SEE Marks 50
Total Hours of Pedagogy 24 Total Marks 100
Credits 1 Exam Hours 3
Examination type (SEE) Practical
Course outcome
At the end of the course, the student will be able to:
CO1: Develop programs in C to solve simple computational problems.
CO2: Make use of C language derived datatypes to solve simple real-world problems.
CO3: Build a document consisting of experiment setup, design, implementation and results with
inferences.
Note:
1. The laboratory syllabus consists of PART-A and PART-B. While PART-A has 6 conventional
experiments, PART-B has 6 typical open-ended experiments. The maximum marks for the laboratory
course are 100.
2. Both PART-A and PART-B are considered for CIE and SEE.
3. Students have answer 1(one) question from PART-A and 1(one) question from PART-B.
a. The questions set for SEE shall be from among the experiments under PART-A. It is evaluated for
70 marks out of the maximum 100 marks.
b. The open-ended question set for SEE shall be any other open-ended question and not selected
from the experiments under PART-A. It shall be evaluated for 30 marks.
4. For continuous internal evaluation, during the semester, classwork, the typical open-ended questions
shall be from PART-B, and any other similar questions to enhance the skill of the students
PART – A
CONVENTIONAL EXPERIMENTS
Note: Students must write the algorithm & flowchart for PART-A questions in the Record book

1. A robot needs to find how far it must travel between two points on a 2D plane. Develop a C program to
calculate the straight-line distance between the given coordinates.

2. Develop a C program that takes a student's marks as input and displays their grade based on the following
criteria:
90 and above: Grade A
75 to 89: Grade B
60 to 74: Grade C
50 to 59: Grade D
Below 50: Grade F
Choose a suitable control structure to implement this logic efficiently.

3. Develop a C program that takes a unique identification input like PAN Number, AADHAR_Number,
APAAR_Id, Driving License, Passport and checks it against a set of stored KYC records. Based on the input,
display whether the individual is verified or not. Use an appropriate control structure to handle multiple
possible ID matches. Assume all Unique identification are of integer type.

4. A math app needs to determine the type of roots for a quadratic equation based on user input. Develop a
C program to calculate and display the roots based on the given coefficients.

5. A sensor in a robotic arm needs to calculate the angle of rotation in real-time, but the hardware doesn't
support built-in trigonometric functions. Develop a C program to approximate the value of sin(x) using a
series expansion method for improved performance.

1
LAB COURSE (1 Credit) template 2

6. Develop a C program that accepts a course description string and a keyword from the user. Search whether
the keyword exists within the course description using appropriate string functions. If found, display:
"Keyword '<keyword>' found in the course description." Otherwise, display: "Keyword '<keyword>' not
found in the course description."

7. Develop a C program that takes marks for three subjects as input. Use a function to check if the student has
passed (minimum 40 marks in each subject). Display the average and whether the student passed or failed.

8. In an ATM system, two account balances need to be swapped temporarily for validation. Develop a C
program that accepts two balances and uses a function with pointers to swap them. Display the balances
before and after swapping.
PART – B
TYPICAL OPEN-ENDED EXPERIMENTS
Open-ended experiments are a type of laboratory activity where the outcome is not predetermined, and
students are given the freedom to explore, design, and conduct the experiment based on the problem
statements as per the concepts defined by the course coordinator. It encourages creativity, critical thinking, and
inquiry-based learning.
1. A college library has a digital bookshelf system where each book is assigned a unique Book ID. The bookshelf
is organized in ascending order of Book IDs. Develop a C Program to quickly find whether a book with a
specific Book ID is available in the shelf.

2. A sports teacher has recorded the scores of students in a 100-meter race. To prepare the result sheet, the
teacher wants the scores arranged in descending order (from highest to lowest). Develop a C program to
sort the scores.

3. A small warehouse tracks how many units of different products are shipped from multiple branches.
Another dataset shows how much revenue each product generates per unit. Develop a C program which
combines these datasets to calculate the total revenue generated by each branch.

4. A basic mobile contact manager stores first and last names separately. For displaying full names in the
contact list, you need to join them manually. Additionally, the system must check the length of each full
name to ensure it fits the screen. Perform these operations by developing a C program without using built-
in string functions.

5. A currency exchange booth allows users to convert between two currencies. Before confirming the
exchange, the system simulates a swap of the values to preview the result without actually changing the
original data. In other cases, it updates the actual values. Develop a C program that implements both
behaviours using Call by Value and Call by reference

6. A local library needs to store and display details of its books, including title, author, and year of publication.
Design a structure that can hold these details and develop a C program to display a list of all books entered.

2
LAB COURSE (1 Credit) template 3

Suggested Learning Resources: (Text Book/ Reference Book/ Manuals):

Textbook:

1. Hassan Afyouni, Behrouz A. Forouzan. “A Structured Programming Approach in C”, 4th Edition,
Cengage.

Reference books:

1. Schildt, Herbert. "C the complete reference", 4th Edition, Mc GrawHill.


2. Brian W. Kernighan and Dennis M. Ritchie, The ‘C’ Programming Language, 2nd edition, Prentice Hall of
India.

Web links and Video Lectures (e-Resources):

1. Introduction to Programming in C [[Link]

2. C for Everyone: Programming Fundamentals [[Link]

3. Computer Programming Virtual Lab [[Link]

4. C Programming: The ultimate way to learn the fundamentals of the C language


[[Link]
[Link]]

5. C Programming: The Complete Reference [[Link]


language/attachment/28313/c-the-complete-reference-herbert-schildt-4th-edition-pdf/preview]

Teaching-Learning Process (Innovative Delivery Methods):


The following are sample strategies that educators may adopt to enhance the effectiveness of the teaching-
learning process and facilitate the achievement of course outcomes.
1. Engineering tool usage for the conduction of experiment
2. Demonstration through ICT tools
3. Use of virtual labs ([Link]

Assessment Structure:
The assessment for each course is equally divided between Continuous Internal Evaluation (CIE) and the
Semester End Examination (SEE), with each component carrying 50% weightage (i.e., 50 marks each).

The CIE marks awarded shall be based on the continuous evaluation of the laboratory report using a defined
set of rubrics. Each experiment report can be evaluated for 30 marks. The laboratory test (duration 03 hours)
at the end of the last week of the semester /after completion of all the experiments (whichever is early) shall
be conducted for 50 marks and scaled down to 20 marks. For both CIE and SEE, the student is required to
conduct one experiment each from both Part A and Part B.

• To qualify and become eligible to appear for SEE, in the CIE component, a student must secure a
minimum of 40% of 50 marks, i.e., 20 marks.
• To pass the SEE component, a student must secure a minimum of 35% of 50 marks, i.e., 18 marks.
• A student is deemed to have successfully completed the course if the combined total of CIE and
SEE is at least 40 out of 100 marks.

Rubrics for CIE – Continuous assessment:

3
LAB COURSE (1 Credit) template 4
Component Outstanding Exceeds Meets Needs Unsatisfactory
& CO-PO (5) Expectations Expectations Improvement (1)
Mapping (4) (3) (2)
Fundamental The student has in Student has Student is Student has not Student has not
Knowledge: depth knowledge good knowledge capable of understood the understood the
Understanding of the topics of some of the narrating the concepts concepts and the
the problem
related to the topics related to answer but not partially. problem
statement
problem. Student problem. capable to show Student is able definition clearly.
[CO1, CO2] is able to Student is able in depth to partially
[PO1, PO2] completely to understand knowledge and understand the
understand the the problem the problem problem
problem definition. definition. definition
definition.
Design of Student is capable Student is Student is Student is Student is
algorithm/flow of discussing more capable of capable of capable of capable of
chart and than one design discussing few discussing explaining the explaining the
program
for his/her designs for single design design. design partially.
[CO1, CO2] problem his/her problem with its merits
[PO2, PO3] statement and statement but and de-merits.
capable of proving not capable of
the best suitable selecting best.
design with
proper reason.
Implementation Student is capable Student is Student is Student is Student is
(Program coding) of implementing capable of capable of capable of capable of
with suitable the design with implementing implementing implementing implementing
tools the design. the design with
best suitable the design with the design with
errors.
[CO-1, CO2] language structure best suitable proper
[PO5, PO8] considering language explanation.
optimal structure and
solution/optimal should be
efficiency. capable of
explaining it.
Program Student is capable Student is able Student is able Student is able Student is able to
debugging and to compile and to compile and to compile and to compile and compile and
testing with debug the debug the debug the debug the debug the
suitable tools program with program with
program with no program with program with
errors (syntax, errors (syntax,
[CO1, CO2] errors (syntax, errors (syntax, errors (syntax, semantic and semantic and
[PO5, PO8] semantic and semantic and semantic and logical) and logical) and
logical). logical) and logical) and rectified errors rectified errors
rectified errors rectified errors with no with assistance.
with full with partial understanding of
understanding understanding error
descriptions.
of error of error
descriptions. descriptions.
Results & Student is able to Student is able Student is able Student is able Student is able to
interpretation run the program to run the to run the code to run the run the program
/analysis on various cases program for all for few cases program but not but not able to
and compare the the cases. and analyze the able to analyze verify the
[CO1, CO2]
[PO4] result with proper result. the result. correctness of
analysis. the result.
Demonstration Demonstration Demonstration Demonstration Demonstration Demonstration
and and lab record is and lab record is and lab record and lab record is and lab record is
documentation well-organized, organized, with lacks clear poorly poorly organized,
[CO3]
with clear clear sections, organization or organized, with with missing
[PO8, PO9, PO11]
sections. but some structure. Some missing or sections. Record
sections are unclear sections.

4
LAB COURSE (1 Credit) template 5

The record is well sections are not unclear or The record is not not submitted on
structured with well-defined. incomplete. properly time.
suitable The record is The record is structured with The record is not
formatting (e.g: structured with partially suitable structured with
font, spacing, formatting (e.g: structured with formatting (e.g: minimum
labelling of figures font, spacing, formatting (e.g: font, spacing, formatting (e.g:
and tables, labelling of font, spacing, labelling of font, spacing,
equations figures and labelling of figures and labelling of
numbered and tables, figures and tables, equations figures and
etc). equations tables, numbered and tables, equations
numbered and equations etc). numbered and
etc). numbered and etc).
etc).

Rubrics for SEE / CIE Test:

5
LAB COURSE (1 Credit) template 6
Component Excellent Good Fair Marginal Unsatisfactory
& CO-PO (5) (4) (3) (2) (1)
Mapping
The student Student has Student has Student is
Fundamental has well depth good average capable of
Knowledge (2) Student has not
knowledge of knowledge of knowledge of narrating the
understood the
the topics some of the some of the answer but not
[CO1, CO2] concepts
[PO1] related to the topics related topics related capable to
clearly
problem & to problem & to problem & show in depth
course course course knowledge
Student is able
Understanding Student has a
of problem Student is able Student is able to Shows Student is not
basic
definition (1) to completely to understand minimal or able to
understanding
understand the the problem unclear understand the
of the problem
[CO1, CO2] problem definition but understanding problem
definition that
[PO2] definition not clearly of the problem definition
is partial or
definition
superficial
Student is Student is
Student is Student is
capable of partially
Design and capable of
design and capable of capable of
Implementatio design and
implementing design and design and Student is not
n (3) implementing
with best implementing implementing capable of
with some
[CO1, CO2] suitable the core part of with some design and
[PO3] construct for the construct
construct for algorithm for implementing
the given for the given
the given the given
problem
problem problem problem
definition definition
definition definition
Student will be Student will be
Student is able
able to run the able to run the
to run the
program on code for few Student will be Student will be
Result & program on
various data data/datasets able to run the not able to run
Analysis (2) various data
inputs and fair and analyze the code for few the program
inputs and
knowledge in output. data inputs but and not able to
[CO1, CO2] compare the
[PO4] comparing the not analyze the analyze the
result with
result with output. result.
proper
proper
inference.
inference
Good Verbal & Average
Good verbal Communicatio Average
nonverbal
Communication Communicatio n Communicatio Poor
(Viva voce) (2) communicatio
n skills with but with n but with Communicatio
n skills with
precise and precise and imprecise and n (Minimal
[CO3] precise and
[PO8, PO9] correct correct incorrect interaction/ans
correct
terminologies/ terminologies/ terminologies/ wers)
terminologies/
answers. answers. answers
answers.

You might also like