Monday, 21 July 2014

Java program to determine Grade

import java.util.*;

class grade
   public static void main(String args[])
      int n, m;
      System.out.println("Enter your name:- ");
      Scanner scanner = new Scanner(;
      String name = scanner.nextLine();
      System.out.println("Enter your Class ");
      Scanner in = new Scanner(;
      n = in.nextInt();
      System.out.println("Enter your Marks ");
      Scanner out = new Scanner(;
      m = in.nextInt();
      if (m>100){System.out.println("Please enter your Actual marks -.- -.-");}
      else if(m>=80){System.out.println("Congrats You Got A Grade");}    
      else if (m>=70){ System.out.println("Congrats You Got B Grade");}
      else if (m>=60){System.out.println("WorkHard! You Got C Grade");}
      else if (m>=50){System.out.println(" Improve Yourself!! You Got D Grade");}
      else if (m>=40){System.out.println(" Improve! You Got E Grade");}
      else if (m<40) {System.out.println("Sorry You Have Failed");}

Java Program to Print Date And Time

  1. import java.util.*;
  2. class GetCurrentDateAndTime
  3. {
  4. public static void main(String args[])
  5. {
  6.  System.out.println("Welcome To Date/Time by kidshelp & Computerwizardi");
  7. int day, month, year;
  8. int second, minute, hour;
  9. GregorianCalendar date = new GregorianCalendar();
  10. day = date.get(Calendar.DAY_OF_MONTH);
  11. month = date.get(Calendar.MONTH);
  12. year = date.get(Calendar.YEAR);
  13. second = date.get(Calendar.SECOND);
  14. minute = date.get(Calendar.MINUTE);
  15. hour = date.get(Calendar.HOUR);
  16. System.out.println("Current date is "+day+"/"+(month+1)+"/"+year);
  17. System.out.println("Current time is "+hour+" : "+minute+" : "+second);
  18. }
  19. }

Java Program To Add 2 numbers

  1. import java.util.Scanner;
  2. class AddNumbers
  3. {
  4. public static void main(String args[])
  5. {
  6. int x, y, z;
  7. System.out.println("Welcome!! Program by Kidshelp & Computerwizardi");
  8. System.out.println("Enter two integers to calculate their sum ");
  9. Scanner in = new Scanner(;
  10. x = in.nextInt();
  11. y = in.nextInt();
  12. z = x + y;
  13. System.out.println("Sum of entered integers = "+z);
  14. }
  15. }

Java program To Print Multiplication Tables

  1. import java.util.Scanner;
  2. class TablesbyKidshelp
  3. {
  4. public static void main(String args[])
  5. {
  6. int n, c;
  7. System.out.println("Welcome To Tables by Kidshelp & Computerwizardi");
  8. System.out.println("Enter an integer to print it's multiplication table");
  9. Scanner in = new Scanner(;
  10. n = in.nextInt();
  11. System.out.println("Multiplication table of "+n+" is :-");
  12. for ( c = 1 ; c <= 10 ; c++ )
  13. System.out.println(n+"*"+c+" = "+(n*c));
  14. }
  15. }

Blue J v 3.1.1 free download!!

Hi Friends,
                 Today I have brought Blue J's latest version to you. Its 3.1.1 you can download it from below now!!.
3.1.127 January 2014
Various bug fixes and usability improvements, especially for screen readers.
Bug fixes:
  • Fixed: class type parameters not shown in class diagram
  • Fixed: issues with highlighting, pasting and deleting text in codepad
  • Added: message displayed when no project open, for clarification
  • Fixed: Inspectors could not be moved by dragging them on Mac OS X
  • Fixed: Debian package now recognises oracle-java7-jdk package
Harsh Kumar

Saturday, 24 May 2014

class 9 geography ncert solutions ch 5

Chapter-5, Contemporary India - I 
NCERT (CBSE) Textbook Exercise Solution
Q.1: Choose the right answer from the alternatives given below:
     (i)       To which one of the following types of vegetation does rubber belong to?
a.    Tundra
b.    Tidal
c.    Himalayan
d.    Tropical Evergreen
    (ii)        Cinchona trees are found in the areas of rainfall more than
a.    100 cm
b.    50 cm
c.    70 cm
d.    less than 50 cm
   (iii)        In which of the following state is the Simlipal bio-reserve located?
a.    Punjab
b.    Delhi
c.    Orissa
d.    West Bengal
   (iv)        Which one of the following bio-reserves of India is not included in the world network of bio-reserves?
a.    Manas
b.    Nilgiri
c.    Gulf of Mannar
d.    Nanda Devi
Ans: (i) d. (ii) a. (iii) c. (iv) a.
Q.2: Answer the following questions briefly.
    (i)        Define an ecosystem.
   (ii)        What factors are responsible for the distribution of plants and animals in India?
  (iii)        What is bio-reserve? Give two examples.
 (iv)        Name two animals having habitat in tropical and montane type of vegetation.
(i) Ecosystem -
All plants and animals in an area are interdependent and inter-related to each other in their physical environment. This life-supporting system comprising the physical environment i.e. non-living components, like - climate, soil, river etc. along with all organisms living therein, is called an Ecosystem.
(ii) Factors responsible for distribution of flora and fauna in India:
India is one of the twelve mega bio-diversity countries of the world having a wide spread plant and animal species. The various factors responsible for the distribution of plants and animals (flora and fauna) on the earth and also in India can be listed as below -
(a) Relief including land, soil type, drainage etc.
(b) Climate which include temperature, photoperiod, precipitation etc.  
(iii) Bio-reserve or Biosphere Reserves are large areas of protected land for conservation of wild-life, plant and animal resources (especially endangered species of flora and fauna) including micro-organisms and traditional life of the tribals in their natural habitat. Thus, a bio-reserve helps to maintain the bio-diversity and culture of that area. It may also contain other protected areas in it. For example, Pachmari biosphere reserve consists of one National Park named Satpura and two Wild Life Sanctuaries named Bori and Pachmari.
Examples of two other reserves are - Nilgiri, Nanda Devi.
Tropical type animals - Elephants, Monkeys, Rats etc.
Montane type animals - Spotted deer, Kashmir stag, Antelope etc.                 
Q.3: Distinguish between
    (i)        Flora and fauna
   (ii)        Tropical Evergreen and Deciduous forests.
Ans: (i)
Flora - Flora is the term used for the total vegetation or plant cover of a region. This includes flowering and non-flowering plants of all types and sizes.
Fauna - It is the term used to refer to all the varieties of animals found in an area. Thus, fauna is the animal life of a given area.
Tropical Evergreen Forest
Tropical Deciduous Forest
·   Found in the areas having heavy rainfall, more than 200 cm with short or no dry season. Warm and wet throughout the year.
·   Luxuriant vegetation comprising trees, shrubs, and creepers giving a multilayered structure.
·   Trees don’t shed leaves at a time appear green all the year.
·   The thick canopies don’t allow the sunlight to penetrate the forests even during the daytime.
Ebony, Mahogany, Rosewood, Rubber and Cinchona.
Elephant, Monkey, One-horned rhinoceros, Deer, different types of Birds, Reptiles, Bats, Scorpions etc.
Rainy parts of Western Ghats, Andaman and Nicobar Islands, Lakshadweep, upper parts of  Assam, Tamil Nadu Coast, some parts of Maharashtra, Kerala, Goa etc.    
·  Most wide spread vegetation type in India.
·  Rainfall between 200 - 70 cm.
·  These regions experiences seasonal changes.
·  Trees shed their leaves in the dry season and conserve water.
·  On the basis of the availability of water these forests are further are subdivided into moist and dry deciduous.
·  Commercially significant hardwood trees are found here.
·  Teak is the most dominant species. Others are Bamboos, Sal, Shisham, Sandalwood, Khair, Neem, Kusum etc.
Lion, Tiger, Pig, Elephant, Deer, variety of Birds, Lizards, Snakes and Insects etc.
Northeastern states, Foothills of Himalayas, Jharkhand, West Orissa, Chhattisgarh, rainier parts of Peninsular Plateaus, eastern slopes of Western Ghats, Plains of Bihar and U.P.
Q.4: Name different types of vegetation found in India and describe the vegetation of high altitudes.
Ans: The names of different types of vegetations found in India are as follows -
  1. Tropical Evergreen or Rain Forests  
  2. Tropical Deciduous Forests
  3. Tropical Thorn Forests and Scrubs
  4. Montane Forests
  5. Mangrove Forests (The Tidal Forests)
The type of vegetation found at the high altitudes is Montane Forest. The following are the descriptions of Montane Forests -
·   Found at high altitudes in mountainous areas.
·   There is a succession of natural vegetation belts as per altitude:
o  1000m - 2000m: Wet temperate forests.  Evergreen broad leaf trees like oaks and chestnuts predominate.
o  1500m - 3000m: Temperate forest containing coniferous trees like Pine, Deodar, Silver Fir, Spruce and Cedar. Cover mostly the southern slopes of the Himalayas.
o  3000m - 3600m: Temperate Grasslands.
o  Above 3600m: Alpine Vegetation. Silver Fir, Junipers, Pines and Birches are common. At even higher altitudes and with the approach of the snow line the vegetation changes from shrubs and scrubs to alpine and Grasslands. Only mosses, lichens and very small shrubs grow during the very short summer which is called Tundra type of Vegetation.
The common animals found in these forests are Kashmir Stag, Spotted Deer, Wild Sheep, Antelope, Jack Rabbit, Snow Leopard, Yak, Squirrels, Red Panda, Sheep and Goats with thick hair etc.        
Q.5: Quite a few species of plants and animals are endangered in India. Why?
Ans: Endangered species of plants and animals are those which face the danger of getting extinct. About 1300 plant species and quite a few animal species have been distinguished as endangered species in India. The main causes for this endangerment of plant and animal; species are as follows:
1. Hunting by greedy hunters for commercial purposes.
2. Pollution due to chemical and industrial wastes etc.
3. Increasing population.
4. Reckless cutting of plants and trees to bring the land under cultivation, expanding industrialization and inhabitation etc.
5. Introduction of alien species causing imbalance in the ecosystem.   
Q.6: Why has India a rich heritage of flora and fauna?
Ans: India has all the major physical features i.e. topography varying from mountains, plains, desserts, plateaus, islands etc. The different regions of the country have different soil types. Though India has an essentially monsoon type of climate, it has great variations in temperature and humidity across the country. Each of the factors responsible for the diversity in flora and fauna such as land, soil, temperature, photoperiod, precipitation etc. is variation across the length and breadth of the country. As a result of which India has got rich heritage of flora and fauna. 

class 9 geography ncert solutions ch 4

NCERT / CBSE, Social Science (Geography)
Contemporary India - I
Chapter-4, CLIMATE
Textbook Exercise Questions - Answers
Q.1: Choose the correct answer from the four alternatives.
     (i)      Which one of the following places receives the highest rainfall in the world?
a.       Silchar
b.      Cherrapunji
c.       Mawsynram
d.      Guwahati
   (ii)      The wind blowing in the northern plains in summer is known as
a.       Kaal Baisakhi
b.      Trade winds
c.       Loo
d.      None of the above.
 (iii)      Which one of the following causes rainfall during winters in the North-Western part of India:
a.       Cyclonic depression
b.      Retreating monsoon
c.       Western disturbances
d.      Southwest monsoon
 (iv)            Monsoon arrives in India approximately in:
a.       Early May
b.      Early July
c.       Early June
d.      Early August
   (v)            Which one of the following characterizes the cold weather season in India?
a.       Warm days and warm nights
b.      Warm days and cold nights
c.       Cool days and cold nights
d.      Cold days and warm nights
Ans: (i) c (ii) c (iii) c (iv) b   
Q.2: Answer the following questions briefly.
 (i) What are the controls affecting the climate of India?
(ii) Why does India have a monsoon type of climate?
(iii) Which part of India does experience the highest diurnal range of temperature and why?
(iv) Which winds account for rainfall along the Malabar Coast? 
 (v) What are Jet streams and how do they affect the climate of India?  
(vi) Define monsoons. What do you understand by “break” in monsoon?
(vii) Why is the monsoon considered a unifying bond? 
Ans 2(i):
Various factors, both lying within and outside India influence the climate of India. The chief among them are the following -
(1) Latitude: The Tropic of Cancer passes through the middle of the country from the Rann of Kutchh in the west to Mizoram in the east. The areas lying in the south of the Tropic of Cancer belong to the tropical area while the remaining areas lying in the north of Tropic of Cancer belong to the sub-tropical area. Therefore, India’s climate has characteristics of tropical as well as sub-tropical areas. 
(2) Altitude: With the increase in altitude the atmosphere becomes less dense and temperature decreases. That is why hills are cooler during summer. India has an average height of 6000 meters in the north while in the south there is a vast coastal area with maximum elevation of about 30 meters. It is because of the differences in altitudes or relief that while it is hot during summer in the Plains of Punjab, Haryana, UP etc., the places in the mountains like Nainital, Darjeeling, and Ooty etc. are cool.
(3) Physiography: Physiography also plays an important role in determining the climate of a place. India has a varied Physiography. The Himalayas in the north act as great barrier to the cold winds from Central Asia. In absence of the Himalayas, India would have been a very cold country. The location of the Arabian Sea, the Indian Ocean and the Bay of Bengal on the three sides of India exert a moderating influence on the climate of India. This ocean, sea etc. being a huge water body acts as a store house of moisture which India needs very badly. Without these water bodies India would have been a very hot country with a climate like that of a dessert like Sahara in Africa.   
(4) Western Cyclonic Disturbances: The western cyclonic disturbances are weather phenomena of the winter months brought in by the westerly flow from the Mediterranean region. They usually influence the weather of the north-western regions of India. In winter, in northern India, Punjab and Haryana get some rain from these western disturbances.
(5) Pressure and Winds: India lies in the region of north-easterly winds. These winds originate from sub-tropical high pressure belt of northern hemisphere. The fury of monsoons as well as long dry spell in India is mainly due to the pressure conditions which develop in the surrounding countries like East Africa, Iran, and Central Asia.
Winds especially Typhoons originating in China Ocean currents along with onshore winds and monsoon winds have a great control on the climate of India. Also the upper air circulation such as Jet Streams play a dominant role in determining the climate of India.          
Ans 2(ii):
The word “Monsoon” is derived from the Arabic word ‘Mausim’ which literally means season. Monsoon refers to the seasonal reversal in the wind direction during a year. The monsoon winds are confined to the tropical area roughly between 20ON to 20OS latitudes. But in the Indian subcontinents, because of the Himalayan ranges, they bring the whole subcontinent under the sway of the moist bearing winds for 2 - 5 months roughly between May to October. Almost 90% rainfall in India is due to these monsoon winds. India would have been an arid land or desert if there had been no phenomena of monsoons. It is because of these reasons that the climate of India is described as monsoon type.
Ans 2(iii):
The difference in temperature of a particular place in a single day is called the diurnal change of temperature. The highest diurnal range of temperature has been found in Thar Desert of Rajasthan. At this place the day temperature may rise to 50OC and may drop down to near freezing point the same night.
The highest diurnal range of temperature has been found at the Thar Desert because there the weather conditions drastically change during the day and during the same night. The great difference between the day and night temperatures result in the highest range of diurnal range of temperature in the Thar Desert.
Ans 2(iv):
South-West monsoons account for the rainfall along the Malabar Coast while North-East monsoons account for the rainfall along the Coromeodal Coast or East Coast.
Ans 2(v):
Jet Streams are fast flowing winds blowing in a narrow zone in the high altitude above 12000 m in troposphere. There are a number of separate jet streams whose speed varies from 110 km/h in summer to about 184 km/h in winter.
In winter the sub-tropical westerly jet streams bring rain to the western part of India, especially Himachal Pradesh, Haryana and Punjab. In summer the sub-tropical easterly jet blows over Peninsular India approximately at 14ON and bring some rain and storm.
Ans 2(vi):
Monsoon - The word “Monsoon” is derived from the Arabic word ‘Mausim’ which literally means season. Monsoon is thus the rain-bearing winds which reverse their direction with the change of ‘mausam’ or season and blow throughout the Indian subcontinent, especially from May to October.
Break Monsoon - The monsoon rain takes place only for a few days continuously at a time. They are inter-spread with rainless intervals. Thus monsoon rains have wet and dry spells. So, this phenomena associated with the rainfall during monsoon is known as ‘break’.      
Ans 2(vii):
India is a vast country with varied topography. On the north the Himalayas protect the sub-continent from the extreme cold winds of Central Asia. This enables northern India to have uniformly higher temperatures as compared to other areas on the same latitudes. Similarly the peninsular plateau, under the influence of sea from three sides, has moderate temperatures. Despite such moderating influences there are great variations in the temperature conditions.
Nevertheless, the unifying influence of the monsoons on the Indian subcontinent is quite perceptible. The Indian landscape, its animal and plant life, the agriculture calendar and the life of the people including their festivities and economic conditions revolve around the monsoon. Year after year, the people of India from North to South and from East to West eagerly await the arrival of the monsoon. These monsoon winds bind the whole country by providing water to set the agricultural activities. Thus, in view of the above the monsoon is considered as a unifying bond for this subcontinent.         
Q.3: Why does the rainfall decrease from the east to the west in Northern India?
Ans: In summer, the monsoons rise both from the Bay of Bengal and the Arabian Sea. The monsoons which rise from the Bay of Bengal cause heavy rainfall in the Brahmaputra Valley and the Assam Hills (i.e. in Cherrapunji). Because of the Himalayas they then take a western turn and move up the Ganga Valley but as they proceed westwards they become drier and drier and therefore they cause less and less rain as they move forward. As such Kolkata gets a rainfall of 119 cm, Patna 105 cm, Allahabad 76 cm and Delhi 56 cm.   
Q.4: Give reasons as to why,
            (i)            Seasonal reversal of wind direction takes place over the Indian subcontinent?
          (ii)            The bulk of rainfall in India is concentrated over a few months.
        (iii)            The Tamilnadu coast receives winter rainfall.
        (iv)            The delta region of the eastern coast is frequently struck by cyclones.
          (v)            Parts of Rajasthan, Gujarat and the leeward side of the Western Ghats are drought-prone.
Ans 4(i): Monsoons blow from northeast India towards the sea during winter (November to April) but with the beginning of summer they begin to reverse their direction. During winter (October - November) with the apparent movement of sun towards the south, the low pressure trough over then northern plains becomes weaker which causes the monsoon wind to blow from northeast to south during this period.
In summer, areas of low pressure develop in north and northwest parts of India due to which winds from the high pressure area i.e. sea begin to blow towards the land masses. So, a shift in the development of monsoon trough or low pressure trough along with the change of season is the main reason for the reversal of wind direction in Indian subcontinent.    
Answers of Q.4(ii) to 4(v) are given in a separate post. [Check the answers of Sample and Objective Questions, link given below].
Q.5: Describe the regional variations in the climatic conditions of India with help of suitable examples.
Ans: The climate of India is described as that of the monsoon type. But within this general pattern there are found certain regional variations in climatic conditions. This is because of the variations in temperature, precipitation, atmospheric pressure, wind, humidity and altitude from place to place. The following are a few examples which prove the above fact:
Range of Temperature - Temperature has great bearing on the climate, so difference in temperature is bound to create variation in the climate. In India there are places like, Rajasthan and south-west Punjab, where the mercury rises even up to 55OC. On the other hand, there are places like Dras, near Kargil, where the temperature sometimes, touches as low as -45OC.
Direction of the Rain-bearing Winds - The direction of the Rain-bearing winds has a great impact on the climate of a place. The summer monsoons arising from the Arabian Sea because of their south-west direction strike the Western Ghats first and cause a heavy rainfall there (about 250 cm). But these winds reach the Eastern Ghats last of all so there is less rainfall in Tamil Nadu and consequently it is much lower as compared to the rainfall on the Malabar Coast of the Western Ghats.      
Form of Precipitation - The form of precipitation whether it is in the form of light rains or heavy snow has also a great-bearing on the climate of an area. In winter north-west of India gets some rains due to the Western Disturbances. As a result, there is little rain in the plains of Punjab and Haryana but there is heavy snowfall in the Western Himalayas especially in Himachal Pradesh and Jammu and Kashmir. It is all due to the change in the form of precipitation.    
Amount of Rainfall - Difference in rainfall is bound to create variations in climate. In India, there are places like Mawsynram which receives 1080 cm of rainfall annually. This is perhaps the highest rainfall all over the world. On the other hand, there are places in India, especially in Rajasthan, which gets 20 cm of annual rainfall.
Rainfall Regime or Seasonal Distribution of Rains - In India, there are many parts which get rains only in summer while there are others which dry in that season. On the other hand, there are certain places which get rains in winter alone while there are others which get scanty or no rainfall in winter. For example Tamil Nadu and AP get much of their rainfall in winter season, and in summer they are almost dry. This seasonal distribution of rainfall has a great bearing on climate. In summer both Tamil Nadu and AP experience dry and hot season while the rest of the country especially Kerala, Karnataka and Maharashtra on the west-coast of India has a pleasant climate.     
Q.6: Discuss the mechanisms of monsoons.
Ans: The word ‘monsoon’ refers to the seasonal reversal in the wind direction during a year. The monsoon winds are confined to the tropical area lying between 20ON to 20OS latitudes. The mechanism of monsoons or the phenomena of the seasonal reversal in wind direction is related to the following fact:
1. The differential heating and cooling of land and water.
2. The shift of the position of Inter Tropical Convergence Zone (ITCZ) in summer over the Ganga plain.
3. The presence of high pressure area, east of Madagascar over the Indian Ocean. The intensity and position of this high pressure area affects the Indian monsoon.
4. The Tibetan plateaus gets intensely heated during summer resulting into strong vertical air currents and the information of low pressure over the plateau.
5. The movement of the westerly Jet Stream to the north of the Himalayas and the presence of the tropical easterly Jet Stream over the Indian Peninsula during summer.
The meteorologists have found out a seesaw kind of relationship between the meteorological changes going on over the Pacific and the Indian Ocean. Whenever there is high pressure in the subtropical region of the Pacific Ocean in the northern hemisphere, the pressure in the south of Indian Ocean tends to be low and vice-versa. This is known as the ‘Southern Oscillation’ or SO which causes the shifting of winds across the equator in different directions. Besides the above facts, some other events such as ElNino, ENSO etc. are also connected to the mechanism of monsoons.             
Q.7: Give an account of weather conditions and characteristics of the cold season.
Ans: The cold weather persists from December to February throughout India. January is the coldest month. During this period temperature varies from 10OC to 15OC in northern plains and 25OC in southern parts of the country. There is high pressure in northern plains due to the cold climatic conditions. The cold dry winds blow from the high pressure towards the low pressure equatorial regions. These winds are north-westerly in the Ganga plains and north-easterly over the Bay of Bengal. Only two parts of the country receive rain in this season. First is the north-west part of the country which receives rainfall, caused by the Western Cyclonic Disturbances originating in the Persian Gulf and Mediterranean regions. Second is the coast of Tamil Nadu which gets rainfall in winter because of the north-east winds on Retreating Monsoons which blow over the Bay of Bengal. But in other parts of the country, the weather is pleasant with clear skies and bright sunshine.  
Q.8: Give the characteristics and effects of the monsoon rainfall in India.
Ans: Chief Characteristics and Effects of the Monsoons or Monsoon Rainfall
(a) The monsoons account for 90% of the rainfall received by India. Almost every part of the country except the east coast of Tamil Nadu receives the bulk of rainfall from the summer monsoons.
(b) The rainfall is neither continuous nor regular even in the wettest areas.
(c) Overall rainfall is not the same each year. The monsoons may be strong or weak in a particular year depending on the intensity and frequency of depression in the Bay of Bengal.
(d) The monsoon rains are not evenly distributed.
(e) A low pressure near the Himalayas may result in heavy rains in the hills causing floods in the plains or the plains may face prolonged dry spells.
(f) Sometimes, the monsoons may break too early or too late. There may be too long or too many breaks in the monsoons, which may retreat too early or too late. All these factors upset the agricultural operations making agriculture in India a mere gamble.
Sometimes, the effects of the monsoons or its uneven distribution create a number of problems. Like if there is too much rain it causes floods and havoc all around. On the other hand insufficient rain in a year or over some years results in draught, famine, food-insecurity, starvation and death.