Assignments Sem-I C programming

 B.Sc. Part – I Computer Science (Optional) (Semester –I) (NEP)


Course I Course Code: CS – 103

Course Title: Practical Based on CS-101 and CS–102

Credits: 02 Total Marks: 50

Practical Based on DSC – I

1.Write a program to convert the given temperature from Fahrenheit to Celsius

2. Write a program to find the area of rectangle, square, circle and triangle by accepting

suitable input parameters from user.

3. Write a program to accept 4 subject marks and calculate total marks, percentage and grade

of student.

4. Write a program to input a number and find the given number is Odd or Even.

5. Write a menu driven program to convert the given temperature from Fahrenheit to Celsius

and vice versa depending upon user’s choice.

6. Write a program to find factorial of a given number.

7. Write a program to display the first n terms of Fibonacci sequence.

8. Write a program to print palindrome numbers between given range.

9. Write a program to find sum of the following series for n terms: 1 – 3/2 + 4/3 ------ n/n-1

10. Write a program to sort given array in ascending as well as descending order.

11. Write a program to calculate the product of two compatible matrices.

12. Write a program to check whether a given number is prime or not.

13. Write a program to find maximum and minimum numbers in given array.

14. Write a program to add and subtract two matrices

Comments

Popular posts from this blog

Problem solving using computer

Data Types

Error and type of error