BCA I SEM Lab Journal Cover Pages
BCA I SEM Lab Journal Cover Pages
C Programming
LAB JOURNAL
BCA- I SEMESTER
2024-2025
Government of Karnataka
Department of Collegiate Education
Govt. First Grade College, Athani - 591304.
DEPT: COMPUTER
APPLICATIONS
CERTIFICATE
External:
Internal:
HOD Principal
INDEX
Sl.
Pg
No PROGRAMS Date Sign
No.
Write a program to read radius of a circle and to find and
01 display area and circumference
Write a program to read Principal amount, Time and Rate
02 and calculate Simple Interest.
Program to read three numbers and display the largest of the
03 three.
Write a program to function as a basic calculator; it should
ask the user to input what type of arithmetic operation he
would like, and then ask for the numbers on which the
04 operation should be performed. The calculator should then
give the output of the operation. Use switch. Error message
should be reported, if any attempt is made to divide by zero.
Write a program to find the roots of quadratic equation
05 (Demonstration of else-if ladder)
Write a program to read marks scored by a student in n
06 subjects and find and display the average of all marks
Write a program to demonstrate basic mathematical library
07 functions defined in math.h.
08 Write a program to find HCF (GCD) of two numbers.
Write a program that accepts a number „n‟, and prints all
09 prime numbers between 1 to n.
Write a program to read a number, find the sum of its digits,
10 reverse the number and check if it is a palindrome. Display
appropriate message.
Write a program to read numbers from keyboard
11 continuously till the user presses 999 and to find the sum of
only positive numbers. Display appropriate error messages.
Write a program to read percentage of marks and to display
12 appropriate message specifying class obtained.
(demonstration of Switch Case statement)
Write a program to read and concatenate two strings without
13 using library function.
Write a program to print sum of even numbers and sum of
14 odd numbers from array of integers which are to be inputed.
Write a program to read a list of numbers, print it, then
15 remove duplicate elements from the list and print the
modified list. Use single dimensional Array
Write a program to swap(interchange) two numbers without
01 using a temporary variable
Write a program to read a string and to find the number of
02 alphabets, digits, vowels, consonants, spaces and special
characters using character functions
Write a program to read a string, reverse it, concatenate the
03 original string with its reverse, and print length of the original
string and the concatenated string using built in functions
Write a program to read a string and find the length of a
04 string without using built in function
Write a program to generate and display first n values in the
05 Fibonacci sequence using recursive function
Write a recursive function calculate factorial of a given
06 integer, n.
Write a program to read elements in a square matrix, display
07 it in the form of a matrix and find and print its trace
Write a program to read two matrices and perform addition
08 and subtraction on them.
Write a program to read, display and multiply two m x n
09 matrices using functions.
Write a program to check and display if a number is prime by
10 defining isprime( ) function.
Write a program using functions that takes in three arguments
- a start temperature (in Celsius), an end temperature (in
Celsius) and a step size. Print out a table that goes from the
11 start temperature to the end temperature, in steps of the step
size; converting each Celsius to
Fahrenheit.