0% found this document useful (0 votes)
6 views1 page

Addditional Programs

The document outlines a curriculum for a programming course at B.M.S. College of Engineering, focusing on C programming concepts such as pointers and file handling. It includes a list of lab programs and additional exercises for students, emphasizing practical implementation and understanding of various programming techniques. The teaching methods involve traditional lectures and PowerPoint presentations, with a structured lab schedule for hands-on experience.

Uploaded by

vsujan288
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)
6 views1 page

Addditional Programs

The document outlines a curriculum for a programming course at B.M.S. College of Engineering, focusing on C programming concepts such as pointers and file handling. It includes a list of lab programs and additional exercises for students, emphasizing practical implementation and understanding of various programming techniques. The teaching methods involve traditional lectures and PowerPoint presentations, with a structured lab schedule for hands-on experience.

Uploaded by

vsujan288
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
You are on page 1/ 1

B.M.S.

COLLEGE OF ENGINEERING, BENGALURU-19


Autonomous Institute, Affiliated to VTU
Pointers: Introduction to Pointers, Declaring Pointer Variables, Pointer Expressions and Pointer
Arithmetic, Passing Arguments to Functions using Pointers, Example Programs.
Files: Introduction to Files, Using Files in C, Read Data from Files, Writing Data to Files, Example
Programs.
(RBT Levels: L1, L2 and L3)
Teaching-Learning Process Chalk and talk method / PowerPoint Presentation

List of Lab Programs


Weekly: 1 Session (2 hours) Batch Strength: 15 Students
Number of Labs: 12 (11 Sessions + 1 Lab Assessment)
Suggested Software: Code Blocks (Open Source)

Part A
1. Implement a C program to find the distance between two points.
2. Illustrate conditional branching statements to find the smallest of three numbers.
3. Develop a C program to find all possible roots of a quadratic equation.
4. Develop a C program to print the sum of even numbers from M to N.
5. Develop a C program to sum the series 1+1/2+1/3+ …. 1/N.
6. Develop a C program to compute the GCD of two numbers.

Part B
1. Develop a C program to search a Book ID from an organized bookshelf that has N number of
books using appropriate searching technique.
2. Develop a C program to find the Transpose of a Matrix.
3. Write functions to implement String operations such as concatenation and String length
without using built-in functions.
4. Parameter Passing techniques: Call by Value and Call by reference (Virtual Lab link:
https://cse02-iiith.vlabs.ac.in/exp/pointers/)
5. Structures (Virtual Lab link: https://cse02-iiith.vlabs.ac.in/exp/structures/)
6. Demonstrate how to read data from the keyboard, write it to a file called BMSCE, again read
the same data from the BMSCE file, and display it on the screen/console.

Additional Programs
1. Develop a C program to convert Fahrenheit to Celsius.
2. A company decides to give a bonus to its employees on Diwali. A 5% bonus on salary is given
to the Male workers and a 10% bonus on salary to the female workers. Write a program to
enter the salary and gender of the employee if the salary of the employee is less than Rs.10,000
then the employee gets an extra 2% bonus on salary. Write a C program to calculate the bonus
that has to be given to the employee and display the salary the employee will get.

3. Develop a C Program to display the following by reading the number of rows as input.
1

You might also like