/JAVA-PROGRAMMINGS

JAVA Fundamentals Programming

Primary LanguageJava

---------------------------------------------------------PRCTICE SETS--------------------------------------------------

  1. AREA AND PERIMETER OF SQUARE & RECTANGLE

  2. TOTAL MARKS AND PERCENTAGE TAKING 4 INPUT

  3. READ PRODUCT NAME, PRICE, DISPLAY PRODUCT PRICE

  4. TAKE WEIGHT AND HEIGHT AND CALCULATE BMI

  5. READ INTEGER CHECK SPECIAL DIGIT OR NOT

  6. PRINT BIGGEST FRO TWO NUMBERS

  7. CHECK TWO NUMBERS ARE SAME OR NOT

  8. PRINT POSITIVE INTEGER OR NOT

  9. READ PRODUCT PRICE AND PRINT 10% DISCOUNT OF PRODUCT IF PRICE IS GREATER THAN 5000

  10. READ THREE INPUT AND PRINT SMALLEST ONE

  11. CHECK EVEN OR ODD

  12. PRINT IDF DIVISIBLE BY 3 PRINT “SANJU”, DIVISIBLE BY 5 PRINT “GEETA” DIVISIBLE BY 3& 5 PRINT “SANJU WEDS GETEA”, OTHERWISE BREAKUP

  13. READ THREE INTEGER PRINT BIGGEST ONE

  14. READ THREE INTEGER PRINT MIDDLE VALUE

  15. READ MONTH NUMBER PRINT CORRESPONDING NAME

  16. CHECK LEAP YEAR

  17. READ DAY NUMBER PRINT CORRESPONDING DAY

  18. ENTER A CHARACTER CHECK VOWEL OR NOT

  19. READ INTEGER CHECK IT’S A ONE DIGIT OR NOT

  20. READ INTEGER IT’S A DOUBLE DIGIT OR NOT

  21. PRINT NUMBER FROM 1 TO N AND N TO 1

  22. PRINT SUM OF NUMBER

  23. PRINT SUM OF ODD NUMBER

  24. FACTORIAL OF A NUMBER

  25. AVERAGE OF A NUMBER

  26. ENTER A NUMBER AND PRINT HOW MANY LEAP YEAR UP TO THESE NUMBER

  27. ASK USER TO GENERATE A NUMBER TO 0-9 AND GENERATE A RANDOM FROM 0-9. GUESS NUMBER ARE SAME OR NOT. IF SAME PRINT YOU WIN OTHERWISE YOU LOSE AND COUNT HOW MANY TIME YOU ATTEND TO REACH CORRECT VALUE

  28. TAKE A NUMBER CHECK IT IT’S A PRIME OR NOT

  29. COUNT HOW MANY DIGIT IN A NUMBER

  30. SUM OF DIGIT OF A NUMBER

  31. CALCULATE PRODUCT OF DIGIT

  32. CALCULATE HOW MANY EVEN AND ODD IN DIGIT AND FIND SUM

  33. FIND REVERSE NUMBER

  34. CHECK NUMBER IS PALINDROME OR NOT

  35. CHECK NUMBER IS STRONG NUMBER OR NOT

  36. FIND A TO THE POWER OF A NUMBER. EX- 2^3=8

  37. DISERIUM NUMBER

  38. TAKE A NUMBER AND PRINT ITS MULTIPLICATION TABLE UP TO 10

  39. CONVERT BINARY TO DECIMAL

  40. OCTAL TO DECIMAL

  41. HEXA TO DECIMAL

  42. DECIMAL TO BINARY

  43. DECIMAL TO OCTAL

  44. DECIMAL TO HEXA

  45. PRINT ALL PRIME NUMBER WITHIN 100

  46. DISPLAY HOW MANY ARMSTRONG WITHIN 1000

  47. PRINT DISERIUM NUMBER WITHIN 1000

  48. PRINT ALL THREE DIGIT PALINDROME NUMBER

  49. PRINT SUM OF ALL PERFECT NUMBER WITHIN 1000

  50. PRINT FIRST N FIBONACCI NUMBER

  51. CHECK A NUMBER IS HAPPY NUMBER OR NOT

  52. PRINT ALL HAPPY NUMBER WITHIN 1000

  53. PRINT FIRST 10 PRIME NUMBERS

  54. WRITE A METHOD AND RETURN PRODUCT OF DIGITS

  55. RETURN SUM OF FIRST N PRIME NUMBERS

  56. FIND AVERAGE OF DIGITS

  57. PRINT FIBONACCI SERIES WITH & WITHOUT RECURSION

  58. 12345 12345 12345 12345 12345

  59. 111 222 333

  60. 10101 10101 10101 10101 10101

  61. TAKE ARRAY INPUT AND DISPLAY

  62. SUM OF VALUE OF ARRAY

  63. PRINT AVERAGE OF PRODUCT USING ARRAY

  64. TEST A SPECIFIED VALUE IS PRESENT IN ARRAY OR NOT, IF PRESENT HOW MANY TIMES

  65. PRINT OF ARRAY INDEX OF PARTICULAR ARRAY ELEMENTS

  66. PRINT SMALLEST AND LARGEST VALUE OF AN ARRAY & DIFFERENCE, SUM

  67. COUNT HOW MANY EVEN AND ODD ELEMENT IS PRESENT IN ARRAY

  68. SUM OF EVEN AND ODD OF AN ARRAY.

  69. DUPLICATE ARRAY

  70. REVERSE OF ARRAY

  71. PRODUCT OF ARRAY

  72. FIND LARGEST AND SMALLEST ELEMENT PRESENT IN ARRAY

  73. READ AND DISPLAY ARRAY ELEMENT RETURN ENTIRE ARRAY

  74. MERGE TWO ARRAY’S AND RETURN SDINGLE ARRAY

  75. COUNT HOW MANY PRIME NUMBER PRESENT ION ARRAY

  76. HOW MANT POSTIVE AND NEGATIVE ELEMENT PRESENT IN ARRAY

  77. HOW MANY PERFECT NUMBER PRESENT IN ARRAY

  78. HOW MANY ZERO AND NON-ZERO ELEMENT IN ARRAY

  79. DEFINE A METHOD MERGER TWO ARRAY’S IN ZIGZAG ARRAY

  80. INSERT A ELEMENT IN SPECIFIED LOCATION IN ARRAY

  81. DELETE A ELEMENT FROM A SPECIFIED INDEX IN ARRAY

  82. WAJP TO INTERSECTION BETWEEN TWO ARRAY ELEMENTS

  83. READ TWO DIMENSIONAL ARRAY, RETURN TWO DIMENSIONAL ARRAY

  84. FIND LARGEST AND SMALLEST ELEMENT IN ARRAY

  85. ADD TWO MATRIX

  86. TRANSPOSE OF MATRIX

  87. ROW WISE AND COLUMN WISE BIGGEST ELEMENT

  88. ROW WISE AND COLUMN WISE REVESE ELEMENT

  89. ROTATE MATRIX 90 DEGREE LEFT AND 90 DEGREE RIGHT

  90. READ DIAGONAL ELEMENT ,REVERSE DIAGONAL ELEMENT

  91. FIND SMALLEST AND LARGEST IN DIAGONAL ELEMENT

  92. MULTIPLY TWO MATRIX

  93. ROW WISE AND COLUMN WISE SUM OF MATRIX

  94. WAJP TO CONVERT A USER ENTERED NUMBER INTO A SENTENCE.

  95. INPUT::211652509 OUTPUT: TWENTY ONE CRORE SIXTEEN LAKH FIFTY TWO THOUSAND FIVE HUNDRED NINE

  96. WAJP TO ENTER A DATE IN DD MM YYYY FORMAT AND FIND THE CORRESPONDING DAY NAME

  97. WAJP TO COUNT THE NUMBER OF DAYS BETWEEN TO DATE (DD MM YYYY FORMAT)

  98. CONVERT STRING TO CHARACTER ARRAY, STRING DIGIT TO INTEGER, STRING ELEMENT TO CHAR

  99. FIND STRING LENGTH, INDEX VALUE, INDEX ELEMENT OF PARTICULAR STRING

  100. TAKE INPUT FROM USER AND PRINT FIRST AND LAST LETTER, SECOND LAST LETTER

  101. PRINT REVERSE STRING

  102. REVERSE STRING WITHOUT AFFECTING SPECIAL CHARACTER

  103. INPUT-AB@C OUTPUT-CB@A

  104. WAJP TO COUNT HOW MANY UPPER CASE , LOWER CASE, VOWEL, CONSONANT, DIGITS, SPECIAL CASE IN A GIVEN STRING

  105. WAJP TO ADD ALL THE DIGITS IN GIVEN STRING

  106. COUNT NUMBER OF OCCURENCE OF A STRING

  107. WAJP TO CONVERT ALL SENTENCE IN UPPER CASE AND ALSO LOWER CASE

  108. WAJP TO COUNT HOW MANY WORD PRESENT IN GIVEN A GIVEN SENTENCE

  109. WAJP GIVEN SUBSTRING IS PRESENT OR NOT IN A STRING

  110. WAJP HOW MANY TIMES SUBSTRING PRESENT IN A STRING

  111. WAJP TO CONVERT EVERY WORD FIRST CHARACTER INTO CAPITAL REMAINING ALL TO SMALL

  112. WAJP TO CONVERT EVERY WORD LAST CHARACTER INTO CAPITAL REMAINING ALL TO LOWER

  113. WAJP TO REVERSE THE WORD IN THE SENTENCE I/P-RAMA AND LAXMANA O/P-AMAR DNA ANAMXAL

  114. WAJP TO REVERSE THE SENTENCE I/P-RAMA AND LAXMANA O/P-LAXMANA AND RAMA

  115. WAJP PRINT HOW MANY VOWELS PRESENT IN EACH WORD

  116. WAJP SWAP EVER WORD FIRST CHARACTER WITH THERE LAST CHARACTER EX :I/P-RAMA AND LAXMAN O/P-AAMR DNA NAXMAL

  117. FIRST AND SECOND AND LAST INDEX OF SENTENCE FROM WHERE SUB STRING OCCURRENCE PRESENT. IF NOT PRESENT RETURN =-1