Prof. Parthasarathy P V

Prof. Parthasarathy P V

(M) +91 8951523822 (E-mail): sarathy.amc@gmail.com

COURSE CODE, NAME: 1BPOPL107/207 : C Programming Lab

CO C Lab Syllabus

C Programs - Online Compiler
Click here to run C Programs - Online Compiler


C Programs

PART - A

Program Download Link
Introduction to C Click here to download
CO Click here to download
CO Click here to download
CO Click here to download
CO Click here to download
CO Click here to download
CO Click here to download
CO Click here to download
CO Click here to download

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.
Program Download Link
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. Click here to download
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. Click here to download
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. Click here to download
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. Click here to download
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 Click here to download
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. Click here to download

PART - C: Beyond the syllabus


Program Download Link
Develop a C program that allows two players to play the Tic-Tac-Toe game using a 3x3 matrix and determine the winner or if the game is a draw. Click here to download