BSC CS Practical Exercise
BSC CS Practical Exercise
, Computer Science
BSCS-P1: C Programming
1. Write a program to determine whether a number is ‘odd’ or ‘even’ and print the message
2. Write a program to accept a character and check whether the char is vowel or not!
3. Write a program to find out the factorial of given Number.
4. Write a program to check the given string is Palindrome (ex) “LIRIL” or NOT,
5. Write a program to find out the Max No, Min No of specified three Numbers.
6. Write a program for bubble sort?
7. Write a program to display fibonacci of a numbers
8. Write a program to find whether the number is an Armstrong number or not.
9. Write a program to read the decimal number, round them off to the nearest integer and
print out the results in integer form.
10. Write a program to read the price of an item in decimal form and print the output in
paise.
11. Write a program to find the number of digits in a number.
12. A positive number is entered through a keyboard write a function to obtain the prime
factor of this numbers.
1. Write a C++ program to calculate average marks scored by a student for 3 subjects.
2. Write a C++ program to find the area and perimeter of a circle and rectangle.
3. Write a C++ program to swap two numbers.
4. Write a C++ program to find largest of three numbers.
5. Write a C++ program to find the maximum number among three numbers.
6. Write a C++ program to generate Fibonacci series.
7. Write a C++ program to perform string manipulation.
8. Find the length of a string. Compare two strings, Concatenate two strings, Reverse a
string, Copy a string to another location.
9. Write a C++ program to find quotient and remainder of 2 numbers.
10. Write a C++ program to manipulate the class account using classes and function. A
user should be able to perform the following functions. a. Deposit money. b.
Withdraw money, c. Calculate the interest d. Check the total balance in his account.
11. Write a C++ program to generate Prime numbers between 1 and 50.
12. Write a C++ program to perform matrix addition and multiplication.
13. Write a C++ program to check whether the given matrix is a sparse matrix or not.
14. Write a C++ program to overload unary minus operator.
RDBMS:
OBJECTIVES
The objective of the Project Course is to help the students to study, analyze and design software
or utility for research problems focused in the recent journals or application of such software
related to problems in the area of Computer Science. The development of algorithms and
derivation with respect to theoretical Computer Science in relevance to performance comparison,
which will improve the skills of software development of the students, will be another objective
of the mini project course.