CS XII Objects 2025 V-1
CS XII Objects 2025 V-1
1: Write a program that input a year and then check whether it is leap year or not.
2: Write a program that read marks of five subject ,calculate the total marks ,
percentage and state whether candidate is pass or fail.
5: Write a program that finds out the greatest number among three input numbers.
6: Write a program which uses arithmetic operators to calculate the area of triangle
and volume of sphere .
7: Write a program to draw a check-board using if-else statement and nested for loops
9: Write a program that reads your name and prints that name 10 times.
10: Write a program that takes input a number and then check it is prime or not.
11: Write a program which print a text of four lines consisting of characters, integer
and floating point values using printf() statement and escape sequence.
13: Write a program using nested for loop to print the following output .
*
**
***
****
*****
14: Write a program that input any two number and then pass these numbers as
arguments a function sum1 and then print their sum.
15: Write a program to calculate a pay roll of employees. Read the basic pay from key
board. Calculate medical allowance as 15% of basic pay, conveyance allowance
as 20% and house rent 45% of basic pay and deduction of GP fund 7% of pay.
Calculate gross pay and net pay.
Option II (Visual Basic)
1: Create a simple form to display Bio-data using label and textbox, which includes
Identification No, Name, Father’s name, Address and Qualification etc.
2: Create a simple Form to add and multiply three numbers. Display the result
separately using Labels, Textboxes and Buttons.
3: Create simple form to perform arithmetic operation using Labels and Textboxes,
each operation should be performed by the buttons in the single form.
4: Create a Form to generate and display numbers from 1 to10 using do while/for loop.
5: Create a Form to generate and display, table of given integer by using for loop.
6: Find factorial of number by using any loop statement, read values from Textbox and
write in the other Textbox.
8: Write a program to read users salary from a Textbox and calculate its tax depending
upon the income and allowances (using is else nested if-else).
9: Using a form to save and receive data from user in Textbox and save it in Ms Access
table.
10: Write a program to print an odd numbers from 101 to 150 (using while loop)
11: Write a program which uses arithmetic operators to calculate the area of triangle
and volume of sphere .
12: Write a program that input two values and then calculate their LCM and GCD
values.
Marks Distribution for Option I (C Language)
Description Marks
Viva Voce 06
Practical File 06
Algorithm 02
Flowchart 03
Source code 05
Output 03
Total 25