0% found this document useful (0 votes)
4 views4 pages

practical program sheet

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

Gujarat State Board practical program sheet

Std- 12th Science/Commerce/Arts

Assignment Sheet
NOTE- (MUST BE CREATE WITH ANY 10 TO 12 PROGRAMS WITH OUTPUT ONLY ON MS WORD)
YOU MAY WRITE ANY IMP. TICKED PROGRAMS FROM YOUR TEXTBOOK CHAP 7,8,9 ALSO.
1. Write a java program to count the average of two integer numbers.
2. Write a java program to count the average of two float numbers.
3. Write a java program to enter two integer numbers from the user and perform addition,
subtraction, division, multiplication and modulo division.
4. Write a java program to enter two real (float) numbers from the user and perform addition,
subtraction, division, multiplication.
5. Write a java program to convert the money
a. From rupee to paisa 100 MARKS MCQS
b. From paisa to rupee 50 MARKS PRACTICAL
6. Write a java program to convert centimeter to meter. 30 MARKS PROJECT
7. Write a java program to convert meter to centimeter 20 MARKS VIVA &
8. Write a java program to convert hours to minutes. NOTES
9. Write a java program to convert hours to seconds.
10. Write a java program to convert minutes to hours. 50+30+20=100/2
11. Write a java program to convert second to hour.
12. Write a java program to calculate simple interest.
13. Write a java program to calculate the area of a circle. (Use #define for PI, Formula)
14. Write a java program to calculate the area of a square. (Formula Area=a2)
15. Write a java program to calculate the area of a triangle. ( Formula Area=1/2(b*h) )
16. Write a java program to convert degrees to radians. (Formula: degree= /180)
17. Write a java program to input quantity and price of an item and display total Rs. on screen. Also input discount
(%) and display final payment Rs on screen.
18. Write a java program to find the largest of three numbers using a ternary operator.
19. Write a java program to swap (interchange) two variables.
20. Write a java program to swap (interchange) two variables without using a third variable.
21. Write a java program to print mark sheets of students. (Take required input from user)
22. Write a java program to input a three digit number from the user and calculate the sum of first and last digit.
n=123 sum=1+3=4
23. Write a java program to read two integer values m and n and to decide and print whether m is multiple of n. (eg:
m=9 n=3 so 9 is multiple of 3)
24. Write a java program to find the maximum of two numbers using the if..else statement.
25. Write a java program to find the minimum of two numbers using the if..else statement.
26. Write a java program to check whether the entered number is even or odd.
27. Write a java program to check whether the entered number is positive,negative or zero.
28. Write a java program to find whether a given year is a leap year or not.
29. Write a C program to check whether a character is an alphabet, digit or special
character.
30. Write a C program to check whether an alphabet is a vowel or consonant.
31. Admission to a professional course is subject to the following conditions:
(a) Marks in Mathematics >= 60
(b) Marks in Physics >= 50
(c) Marks in Chemistry >= 40
(d) Total in all three subjects >= 200 or
Total in Mathematics and Physics >= 150 . Given the marks in the three subjects, write a program to process the
applications to list the eligible candidates.
32. Write a program to calculate and print electricity charges for customer by accepting no.
of units and customer no.
If unit <= 200 then 0.50/unit
If unit <=400 then 100 + 0.65/unit
If unit <=600 then 230 + 0.80/unit
33. Write a java program to make a simple calculator using switch statements.
34. Write a java: (use switch..case)
1. Sum of values
2. Average of three values
3. Largest of three values
4. Smallest of three values
35. Write a java program to find factorial value of any number.
36. Write a java program to generate a multiplication table of any inputted number.
37. Write a java program to find all divisors of an inputted number.
38. Write an all odd number from 1 to N. (N is inputted number by user).
39. Write an all even number from 1 to N. (N is inputted number by user).
40. Write a program to print sum of numbers from 1 to N.
41. Write a program to print sum of odd numbers from 1 to N.
42. Write a program to print sum of even numbers from 1 to N.
43. Write a program to check if a given number is prime or not.
44. Write a program to print all prime numbers between 1 to N.
45. Write a program to print whether the number is armstrong or not.
46. Write a program to print all armstrong numbers between 1 to N.
47. Write a program to check whether a number is palindrome or not.
48. Given an integer number write a program using while loop to reverse the digit of the
number. For example, the number
12345
should be written as
54321
49. Write a program that computes the sum of the digit of a given integer number.
50. The numbers in the sequence
1 1 2 3 5 8 13 21……………………..
Are called Fibonacci numbers. Write a program using a do-while loop to
calculate and print the Fibonacci numbers.
51. The numbers in the sequence
1 1 2 3 5 8 13 21……………………..
Are called Fibonacci numbers. Write a program using a for loop to calculate
and print the Fibonacci numbers.
52. Write the program to print the following outputs using for loops.
1
22
333
4444
55555
53. Write the program to print the following outputs.
*
**
***
****
*****
54. Write the program to print the following outputs.
*
**
***
****
55. Write the program to print the following outputs.
****
***
**
*
56. Write the program to print the following outputs.
****
***
**
*
57. Write the program to print the following outputs.
****
****
****
****
58. Write the program to print the following outputs.
1
12
123
1234
59. Write the program to print the following outputs.
1
01
101
0101
60. Write the program to print the following outputs.
1
22
333
4444
61. Write the program to print the following outputs.
*
***
*****
*******
62. Write the program to print the following outputs.
*******
*****
***
*
63. Write the program to print the following outputs.
*
***
*****
*******
*****
***
*
64. Write the program to print the following outputs.
A
BB
CCC
DDDD
EEEEE
65. Write the program to print the following outputs.
12345
1234
123
12
1
66. Write the program to print the following outputs.
1
232
34543
4567654
67. Write a program to print pascal triangle
1
11
121
1331
14641
1 5 10 10 5 1
68. Write a program to print Floyd’s triangle
1
23
456
7891

LAST SUBMISSION DATE : 5TH JAN. 2025


***FOLLOW THESE YOUTUBE LINK BEFORE CREATING YOUR PROJECT***
LINK-1 FOR FRONT PAGE(PAGE 1)
https://www.google.com/search?q=how+to+create+school+computer+project+pages&rlz=1C1RXQR_enIN1119IN1
119&oq=&gs_lcrp=EgZjaHJvbWUqCQgAECMYJxjqAjIJCAAQIxgnGOoCMgkIARAjGCcY6gIyCQgCECMYJxjqAjIJCAMQIx
gnGOoCMgkIBBAjGCcY6gIyCQgFECMYJxjqAjIJCAYQIxgnGOoCMgkIBxAjGCcY6gLSAQkyODI4ajBqMTWoAgiwAgE&so
urceid=chrome&ie=UTF-8

LINK-2 FOR ACKNOLEDGEMENT(PAGE 2)


https://www.google.com/search?sca_esv=d601755fbeb9d760&rlz=1C1RXQR_enIN1119IN1119&sxsrf=ADLYWIKNp
y0VPr43sq7kZ_1y5yH8FgmQYA:1734838543718&q=how+to+create+school+computer+project+ACKNOWLEDGE+pa
ge&udm=7&fbs=AEQNm0Aa4sjWe7Rqy32pFwRj0UkWd8nbOJfsBGGB5IQQO6L3J603JUkR9Y5suk8yuy50qOa0K08Tr
PholP8ECM8ELoq5GeRrUvU44UjKtPgUX-
2DV1UQVKIioKq9YP8hjr2s4XGUs7BYUWgrA1zGzjnSuLz0Rv9SOxJBYa2HuYoyuz0gUJ8I_0DE-
GtDv_SDOIZzgEUF8lIMmGKJCeFzaPcqEnsoKlWNMQ&sa=X&ved=2ahUKEwiahZCZubqKAxUTxTgGHagjGOIQtKgLegQ
IERAB&biw=1366&bih=641&dpr=1
PAGE 3 CERTIFICATE
PAGE 4 INDEX
MINIMUM 15 PAGES PROJECT INCLUDING FRONT PAGE , ACKNOLEDGEMENT,CERTIFICATE,INDEX.
EACH WORK SHOULD BE COMPUTERIZED
FRONT FOUR PAGE SHOULD BE COLOURED

SCHOOL FULL NAME ACKNOLEGMENT CERTIFICATE INDEX

SCHOOL LOGO TOPIC PAGE NO

COMPUTER PROJECT
ON
TOPIC

SUBMITTED TO : SUBMITTED BY:


YOUR NAME PRINCIPAL’S SIGN TEACHER’S SIGN

MR. ABHISHEK MISHRA NAME-


CLASS- YOUR PHOTO
ROLLNO :

You might also like