Friday, 2 February 2018

Practice Java by Building Projects

If your goal is to GET HIRED, then you need to PASS THE INTERVIEW!
The BEST way to prepare for a technical interview is to get practice building applications and applying core principles of object-oriented design. I've designed this course to accomplish that objective.
Many people fail interviews because:
·         They don't grasp object-oriented programming concepts
·         They can't apply object-oriented design in an actual program
·         They haven't practiced developing their applications by hand
·         They haven't debugged their code and overcome challenges
This course is designed for someone who simply wants to get better at understanding and applying Java design and object-oriented programming. It is perhaps the most effective thing you can do to prepare for your job interview. Forget about flashcards, forget about quizzes. Start practicing!
In this Practical Java course, you will build realistic projects from scratch. We will approach each program analytically and outline our approach to implement the solution. Then, piece by piece we will write the code to create a fully functioning application.
·         Understand client scenarios and requirements
·         Approach each problem analytically
·         Write our solution outline
·         Implement code step-by-step
·         Apply core principals of object-oriented design
Everyone hoping to start out in Java needs to practice! It's not enough to learn and watch, but you must try yourself! To enroll in this course and get typing!
Note: this course was built for someone who has some working knowledge and familiarity with Java or application design. Please learn some bit of Java programming and its concepts then you can build these projects. Good Luck.
Who is the target audience?
Current students or recent graduates
 Anyone looking to practice Java
Someone preparing for a Java interview
Someone starting a new Java project
 Anyone wanting a refresher on object-oriented programming or application architecture
Familiar with Java development environment
Knowledge of object-oriented programming concepts recommended
Register in and then click on Get the Code below...... enjoy the Java project and advance in your career. Good Luck.

 Get the Code

Saturday, 16 September 2017

Generation of Computer

Computer Of Generation

First Generation of Computers (1942-1955)

The period of the first generation was 1942-1956.This generation computer used vacuum tubes as the basic components for memory and circuitry for Central Processing Unit. The two notable machines of this era were the UNIVAC and ENIAC machines – the UNIVAC is the first every commercial computer which was purchased in 1951 by a business – the US Census Bureau. The computers in this generation used machine code as a programming language. These computers were limited to solving one problem at a time. Input was based on punched cards and paper tape. 
  • Faster than its predecessor (Before First Generation).
  • The vacuum tube was used.
  • These computers could calculate data in millisecond (10-3 Second).

  • Computer huge in size.
  • Unreliable
  • Very costly.
  • Consumed a large amount of heat.
  • Air condition required.
  • Not portable because of its size.
  • Maintenance of computer was required.

Second Generation Computers (1956-1965)

In this generation, Transistor replaced Vacuum tube. The period of the second generation was 1956-1965. By using Transistor computer was becoming more reliable, less expensive, consume less power than first generation computer. In this generation assembly language and high-level programming languages like FORTRAN, COBOL was used. The computers used batch processing. The examples of second generation computers are IBM 1620, IBM 7094 seriesIBM 1400 series and CDC 164, UNIVAC 1108 etc.
  • Faster than the First Generation.
  • Transistor used which was superior to Vacuum tube.
  • More reliable
  • Cheaper than the first generation.
  • Size reduced.
  • Magnetic tape was used which was more reliable than the Punchcard.
  • Less heat generates.

  • Air condition still required.
  • Still big.
  • Too much Costly.

Third Generation Computers (1966-1975)

In this generation, IC (Integrated Circuit) was used. It was developed by Jack Kilby. It was much faster than the second generation computer. These generation computers were used keyboards and monitors and also used the operating system. These generation computers were smaller in size, reliable and efficient. From this generation onward high-level languages were used such as FORTRAN-II TO IV, COBOL, PASCAL PL/1, BASIC, ALGOL-68 etc.

  • Faster and reliable than the Second generation.
  • Used less power
  • Smaller in size
  • Commercially available
  • Large storage capacity

  •  Air condition still required
  • Still costlier

Fourth Generation Computers (1975-Present)

The computer we see today is fourth generation computer. The fourth generation computers were the extension of third-generation technology. The fourth generation computers emerged with the development of the VLSI (Very Large Scale Integration).The microprocessor is used in fourth generation computer. This generation computer is faster, reliable, cost-effective.

  • The computer becomes affordable to the mass.
  • The speed, accuracy, and reliability of the computers were improved.
  •  Many high-level languages were developed in the fourth generation such as COBOL, FORTRAN, BASIC, PASCAL, C, C++, Java languages.
  • No AC required.
  • Less power consumption.

  • ·         Sophisticated and complex technologies required.

Fifth Generation Computers (Artificial Intelligent)

The fifth generation computer still in development. This generation computer becomes equipped with artificial intelligence which means a computer can think of its own by using some advanced language. Computers can understand spoken words & imitate human reasoning. It Can respond to its surroundings using different types of sensors.

Thursday, 10 August 2017

ICSE Class X Computer Applications ( Java ) Solved Model Question Papers

ICSE Class X Computer Applications ( Java ) Solved Question Papers

ICSE Class X solved model paper for 2018

Model Paper Solved
Section A (40 Marks)
Attempt all question

Question 1.
a.       Define Encapsulation.
Ans: The wrapping of data and function together into a single unit is called Encapsulation.
b.      Name any two OOP’s principles
Ans: Inheritance and Polymorphism
c.       Define Object with an example.
Ans:  Object: An instance of a class called Object. The table is an instance of class Furniture.
Class: Blue print of an object is called Class. Example, mango, apple, and orange are members of the class fruit.
d.      What is wrapper class? Give example.
e.      A wrapper class is a class which wraps a primitive data type. Example Double, Float, Integer

Question 2.
a.       What is a class variable?
Ans: Instance variables having the keyword static before it is a class variable. For every object, there is just one copy of the variable made.
b.      What is the significance of import* in your program?
Ans: The line imports all the classes of the package into the current program.
c.       State the two kinds of data types.
Ans: The two kinds of data types in Java are primitive and reference data types.
d.      Define impure function.
Ans: Impure Function: A function that brings about a change in the argument that it receives. Its arguments will always be reference types. It may or may not return value. In other words, an impure function brings about a change in the state of the function. This change in state is called the side effect of calling an impure function.
Static void count(Number num) 
e.      What are comments? Name the different types.
Ans: Comments are statements which enhance the readability and understanding of the program. They are not part of the program.
The different types are: single line (//….), multiple line (/* … */) and documenting comment (/**….*/).

Question 3.
a.       What is meant by the private visibility of a method?
Ans:  The visibility of private method restricted to the class itself. It is not visible to anywhere outside the class.
b.      What is a variable?
Ans: A variable is a named memory location whose value can change. Example int a,b;
c.       What is the use of return keyword?
Ans: A return keyword is used to return any value from a function. It denotes the end of a function.
d.      What is call by value?
Ans: In call by value arguments are passed by the value, which means that a copy of the arguments is passed to the method can make changes to the value of this copy but can not change the values of the original variables in the calling method.
e.      What is meant by an infinite loop? Give an example.
Ans: An infinite loop is a loop whose test condition is always true. This type of loop never ends by itself. For example:
f.        State any two objectives of using Arrays.
Ans:  1. Use hold elements in contiguous memory location. 2. Arrays are used to group storage locations.

Section B (60 Marks)
Attempt any four questions from this Section

Question  4.
Design a program in Java to calculate the tax for the people living in Mango city. Specify a class taxpayer whose class description is given below:                                                                                                                                                                                    [15]
Class name:                                         TaxCalculator
Data members:                                    int PAN
                                                                String name
                                                                double  taxableIncome
                                                                double  tax
Member methods:                               inputData()
The tax is calculated according to the following rules:
Total Annual Taxable Income
Rate of Taxation
Up to 60000
Above 60000 but up to 150000
Above 150000 but up to 500000
Above 500000

 * class TaxCalculator here.
public class TaxCalculator
       int pan;
       String name;
       double taxableIncome;
       double tax;
       void input()throws IOException
              InputStreamReader in=new InputStreamReader(;
              BufferedReader br=new BufferedReader(in);
              System.out.println("Enter name and taxable income:");
      void computeData()
               else if(taxableIncome>60000 && taxableIncome<=150000)
               else if(taxableIncome>150000 && taxableIncome<=500000)
      void displayData()
        System.out.println("Display Data”);
        System.out.println("Name =" + name);
        System.out.println("Taxable Income =" + taxableIncome);
        System.out.println("Tax Paid =" + tax);
    public static void main(String args[])throws IOException
        TaxCalculator ob=new TaxCalculator();
Enter name and taxable income:
Display Data
Taxable Income=120000.0
Tax Paid=6000.0

Question 5
Write a menu driven program to convert Fahrenheit to Celsius and Celsius to Fahrenheit.

 * Class FahrenToCelsius
public class FahrenToCelsius
    public static void main(String args[])throws IOException
        int ch,c,f;
        InputStreamReader ab=new InputStreamReader(;
        BufferedReader br=new BufferedReader(ab);
        // Menu List
        System.out.println("Enter 1. Farenheit to Celsius:");
        System.out.println("Enter 2. Celsius To Farenheit:");
        System.out.print("Enter Choice :");
        // switch statement
            case 1:
                System.out.print("Enter Temperature in Farenheit :");
                System.out.println("Temperature in Celsius :"+c);
            case 2:
                System.out.print("Enter Temperature in Celsius :");
                System.out.println("Temperature in Farenheit :"+f);

Output :
Enter 1. Farenheit to Celsius:
Enter 2. Celsius To Farenheit:
Enter Choice :1
Enter Temperature in Farenheit :100
Temperature in Celsius :37
Enter 1. Farenheit to Celsius:
Enter 2. Celsius To Farenheit:
Enter Choice :2
Enter Temperature in Celsius :100
Temperature in Farenheit :212

Question 6.
 Write a class Automorphic  to check whether a number is Automorphic or not using function with the help of a method
Int digit(int n)
 * class Automorphic
public class Automorphic
    int digits(int n)
        int c,p,k;c=0;k=0;

    public static void main(String args[])throws IOException
        InputStreamReader read =new InputStreamReader(;
        BufferedReader in =new BufferedReader(read);
        int m,n,p,b;
        double r;
        r = 0;
        Automorphic ob= new Automorphic();
        System.out.println("Enter your no.");
        m= n;
        p= m * m;
        r=p % (Math.pow(10,b));
            System.out.println(m + " is an Automorphic no.");
            System.out.println(m + " is not an Automorphic no.");

Enter your no.
625 is an Automorphic no.
Enter your no.
525 is not an Automorphic no.
Question 7
. A cloth showroom has announced the following festival discounts on the purchase of items based on
    the total cost of the items purchased:
                                    Total cost                                   Discount (in Percentage)
                                    Less than Rs. 2000                                  5%
                                    Rs. 2001 to Rs. 5000                              25%
                                    Rs. 5001 to Rs. 10000                            35%
                                    Above Rs. 10000                                   50%     
     Write a program to input the total cost and to compute and display the amount to be paid by the customer after availing the discount. Three methods also their input(), calculate() and display().

 * class Showroom
public class Showroom
    private double cost;    // For cost
    private double dis;     // For Discount
    private double amt;     // For Amount
    void input()throws IOException
        InputStreamReader in=new InputStreamReader(;
        BufferedReader br=new BufferedReader(in);
        System.out.println("Enter Cost of the product:");
    void calculate()
          dis = cost * 0.05;
        else if(cost>2000 && cost<=5000)
          dis = cost * 0.25;
        else if(cost>5000 && cost<=10000)
          dis = cost *0.35;
          dis = cost * 0.5;
        amt= cost - dis;
    void display()
        System.out.println("Cost of the product="+cost);
        System.out.println("Discount given="+dis);
        System.out.println("Amount Paid="+amt);
    public static void main(String args[])throws IOException
        Showroom ob=new Showroom();
 Enter Cost of the product:
Cost of the product=5630.0
Discount given=1970.4999999999998
Amount Paid=3659.5

Question 8.
Write a program to enter a sentence. Calculate total Vowel, Space, Consonant, and word.

 * class SentenceCounter
* Vowel, Space, Consonant  and word counter program
class SentenceCounter
                public static void main(String args[])throws IOException
                                String st="";
                                int i,l,v,c,sp;
                                char a;
                                InputStreamReader in=new InputStreamReader(;
        BufferedReader br=new BufferedReader(in);
                                System.out.println("Enter a sentence:");
                                                if(a=='a' || a=='A' || a=='e' || a=='E' || a=='i' || a=='I' || a=='o' || a=='O' || a=='u' || a=='U')
                                                 if(a==' ')

                                System.out.println("Total Vowel="+v);
                                System.out.println("Total Space="+sp);
                                System.out.println("Total Consonent="+c);
                                System.out.println("Total Words="+(sp+1));

Enter a sentence:
the quick brown fox jumps over a lazy hungry dog
Total Vowel=13
Total Space=9
Total Consonent=27
Total Words=10

Question 9.
Define a class Employee having the following description :
Instance variables  :
int pan  – to store personal account number
String name – to store name
double taxIncome – to store annual taxable income
double tax – to store tax that is calculated
Member functions :
input ( ) – Store the pan number, name, taxable income
calc( ) – Calculate tax for an employee
display ( ) – Output details of an employee
Write a program to compute the tax according to the given conditions and display the output as per given format.
Total Annual Taxable Income        Tax Rate
Upto Rs, 1,00,000                                      No tax
From 1,00,001 to 1,50,000                   10% of the income exceeding Rs. 1,00,000
From 1,50,001 to 2,50,000                   Rs. 5000 + 20% of the income exceeding Rs. 1,50,000
Above Rs. 2,50,000                                   Rs. 25,000 + 30% of the income exceeding Rs. 2,50,000
Output :
Pan Number                  Name                                    Tax-income                 Tax       
=======                    ==========                          =========                            =====
=======                    ==========                          =========                            =====
=======                    ==========                          =========                            =====

 * class Employee
class Employee
    // instance variables
    int pan;
    String name;
    double taxIncome, tax;

    // read the data from keyboard
    public void input()throws IOException
        InputStreamReader in = new InputStreamReader(;
        BufferedReader br = new BufferedReader(in);
        System.out.println("Enter the name, pan and taxable income : ");
        name = br.readLine();
        pan = Integer.parseInt(br.readLine());
        taxIncome = Double.parseDouble(br.readLine());

    // Method calculate tax
    public void calc()
        tax = 0.0;
        if( (taxIncome > 100000) && (taxIncome <= 150000) )
          tax = (taxIncome - 100000) * 0.1;
        else if( (taxIncome > 150000) && (taxIncome <= 250000) )
          tax = 5000.0 + (taxIncome - 150000) * 0.2;
          tax = 25000.0 + (taxIncome - 250000) * 0.3;

    // display details of an employee
    public void display()
        System.out.println("Pan Number        Name                 Tax-income         Tax");
        System.out.println(pan+"           " + name + "               " + taxIncome + "      " + tax);
// Main method
    public static void main(String args[])throws IOException
        Employee ob=new Employee();

Enter the name, pan and taxable income :
Pan Number        Name                 Tax-income         Tax
20938                 Abdulla               150000.0      5000.0

More useful link

Java method or function

Saturday, 8 July 2017

Three best 10 years books for ICSE exam 2018

Three best 10 years books for ICSE exam 2018

First Book
ICSE is a very important exam for student’s life. A great number or position will make a great career. So it is important to read and study good books for the examination. ICSE Class 10 students previous read 10 years Question and Answer book. In this regard I strongly recommend ICSE 10 Years Solved Papers Chapter wise Class X for 2018 Examination Superior Publications, it is an awesome book. 
ICSE 10 years Chapter wise book

It is very helpful to students in preparing for exams. Over the years there have been frequent changes in the patterns and trends in the paper setting. This volume will positively help a student to develop deep insight into the subject as well as chapters and prepare him/her to attempt questions from various angles. Students will also be acquainted with the design of units and distribution of marks within the chapters of specific subjects. Also, after going through this edition of book students will benefit from the advance knowledge of the type and style of questions asked. As the book contains an ample number of previous years' solved questions in subject-wise and chapter-wise form, so I think this is a very good 10 years book.
Buy from Amazon 

Second Book

ICSE 10 years question and answer book

It is also very good and useful book for ICSE 10 exam preparation. This book contains year wise question and answers for the last 10 years. So if any student follows the last ten years pattern of the question then he or she will definitely score good marks in the ICSE 10 final exam.

Buy from Amazon 

Third Book

ICSE Last 10 Years Solved Papers Class 10 For 2018 Examinations (Bengali Paper Included) By Gurukul Books & Packaging
This is another great book for ICSE 2018 exam.It contains ten years solved materials by a team of experienced teachers. 
Buy from Amazon