String programs part-II (ICSE Computer Application)

Piglatin String:- Piglatin is a language, in which any consonant at the beginning of a word are placed at the end, followed by -ay; for example cathedral becomes ATHEDRALCAY while London becomes ONDONLAY.  class piglatin{ public static void...

Number Programs part-4 (ICSE computer Application)

  A program to calculate GCD(greatest common divisor) of two numbers:- The greatest common divisor (gcd) of two or more integers, is the largest positive integer that divides each of the integers. For example,...

String Programs part-1 (ICSE computer Applications)

String programs:-  To Reverse the String:-  import java.io.*; class Strings1 { public static void main()throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Give a string"); String str=br.readLine(); int len=str.length(); String rev=""; for(int i=len-1;i>=0;i--) rev+=str.charAt(i); System.out.println("The reversed string is "+rev); } } Input:- Computer Output:- retupmoC 2. Palindrome String:-  import java.io.*; class Palindrome { public...

Array Programs Part-1 (Sorting Techniques) (ICSE computer Applications)

  Array Programs:-  Array is a collection of same type of data elements. In java an array can only store same type of data(int, float,double,long,String, any type of object). The size of the...

Important Number programs ICSE part-3

Buzz Number: It is a number that is divisible by 7 or it's last digit is 7.(For example 49 is divisible by 7 so it is a buzz number, 27 has...

Important Number Programs for ICSE Part-2

Palindrome number:- Palindrome number is a number when it is reversed, it remains same. (For example: 131, when You reverse it it doesn't change) import java.io.*; class palindrome { public static void main()throws IOException { BufferedReader...

Important Number Programs for ICSE Part-1

Here are some programs for the ICSE computer application students. They are number programs. These programs are very important because they can be asked in the ICSE boards as it is...

ICSE computer application sample paper 7

  This paper is divided into two sections. You are to answer all the questions from section A, and any four from section B. Section A(40 marks) Attempt all questions Question 1       ...

ISC computer science sample paper-7

    nswer all questions in Part I (compulsory) and seven questions from Part-II, choosing two questions from Section-A, two from Section-B and two from Section-C. All working, including rough work, should be done...

Practice Test-6 class 10

State the output of the following program segment: String str1=”great”; String str2=”minds”;                                       ...

APLICATIONS

ISC computer science sample paper-4

Answer all questions in Part I (compulsory) and seven questions from Part-II, choosing three questions from Section-A, two from Section-B and two from Section-C. All...

HOT NEWS