LATEST ARTICLES

ICSE computer applications sample paper

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) Q 1. a. Name any four tokens...

ICSE computer application tutorial part-2

Token A token is a building block of java. It is the smallest unit of information that can be stored in java. Basically when you are writing a java program everything that...

ICSE Computer Application Tutorial part-1

OOPS Concepts:-   JAVA is an object oriented language. It has four main object oriented concepts. They are as follows. Abstraction:- In an  Object oriented language the inner details are kept hidden from...

Array Programs

  Maximum and minimum element of the array:-This program will print the biggest and the smallest element with its respective indexes(subscripts). class maxmin{ public static void main(){ int arr={3,5,78,23,56,90,12,34,1,6,88,65,46,28,72,12}; System.out.println("The array is:"); int l=arr.length;     ...

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...