Saturday, 18 July 2015

Analogies- Animal/Bird/ and sound



There are different words in English to describe the sounds made by different animals and birds.
One type of Analogy questions tests your knowledge of these words

EX: lion:roar::cat:mew
A lion roars;a cat mews

donkey:bray::horse:neigh
A donkey brays;a horse neighs 



ape gibber hog grunt
bee hum lamb bleat
camel grunt mouse squeak
cow moo, low raven croak
dove coo thrush whistle
elephant trumpet bear growl
frog croak bull bellow
hen cluck cock crow
jackal howl donkey bray
lion roar eagle scream
pig grunt fox yelp
squirrel chirp goose cackle
ass bray horse neigh
bird twitter, chirp lark sing
cat mew owl hoot
dog bark serpent hiss
duck quack turkey gobble
fly buzz goat bleat

Analogies-Habitat

English language has specific words for places where particular animals, birds, insects, plants or trees either naturally or are grown by us.

EX: dog:kennel::pig:sty
dogs are grown in a kennel;pigs are grown in a sty


bat cave owl barn
convict prison rabbit burrow, hutch, warren
dove cote soldier barrack
fish aquarium tree arboretum
horse stable, corral bird nest
lunatic asylum delinquent reformatory
nun convent eskimo igloo
pig sty gondola canal
sheep fold, pen lion den
student dormitory mouse hole
bee hive, apiary pea pod
cow byre spider web
eagle, hawk aerie wolf lair
fowl coop monk abbey, monastery
Indian tepee, teepee

Analogies-Young and the Grown up

English language has different single words for referring to the same animal when it is young and when it has grown up.

EX: cub:tiger::calf:cow
A cub is a young tiger; a calf is a young cow

       chicken:hen::cygnet:swan
A chicken is a young hen; a cygnet is a young swan


acorn oak lamb sheep
child man poult turkey
cygnet swan sapling tree
fingerling fish tadpole frog
gosling goose caterpillar butterfly
kitten cat cub tiger, lion, bear
plant tree fawn deer
pup dog, seal foal horse
squab pigeon joey kangaroo
calf cow piglet pig
colt filly pullet chicken
duckling duck shoat pig
fledgling bird whelp dog
heifer cow owllet owl

Analogies- Person and Tool

If you know these categories, we can easily identify the relation between the given pair of words.


EX 1: Carpenter:saw::Writer:Pen

A carpenter uses a saw; A writer uses a pen


EX 2: cowboy:lasso::auctioneer:gavel
       

angler                      tackle archer arrow, bow, quiver
artist brush auctioneer gavel
baker owen biologist microscope
blacksmith, farrier anvil boatman oar
boxer, pugilist glove carpenter chisel, saw, drill, sand paper
cobbler last cowboy lariat, lasso
diver flippers farmer plow, scythe, sickle, hoe
fisherman net, seine gardener rake
golfer club, spikes mason trowel, shovel
painter brush referee whistle
plumber wrench physician sethoscope
sculptor chisel sailor sextant
seamstress needle spinner spindle
surgeon forceps,  lancet, scalpel trapper snare
weaver loom woodsman axe

Material to crack verbal

Friday, 17 July 2015

Switch

The control statement that allows us to make a decision from the number of choices is called a switch statement.

Syntax:

switch(integer expression)
{
case constant 1:
            do this;
case constant 2:
            do this;
case constant 3:
              do this;
default:
         do this;
}


Examples:
1.//program

#include<stdio.h>
#include<conio.h>
int main()
{
int i=2;
switch(i)
{
case 1:
printf("in class 1");
break;
case 2:
printf("in class 2");
break;
case 3:
printf("in class 3");
break;
default:
printf("in default");

}
getch();
return 0;

}

output:
in class 2


2.//without break

#include<stdio.h>
#include<conio.h>
int main()
{
int i=2;
switch(i)
{
case 1:
printf("in class 1\n");

case 2:
printf("in class 2\n");

case 3:
printf("in class 3\n");

default:
printf("in default\n");

}
getch();

return 0;
}


output:
in class 2
in class 3
in default

//It executes the 2 case and all the remaining cases after the 2 case as the break statement is not present.

//We can write the cases in any order, not necessarily in ascending or descending order.


3.//cases arranged in random order
#include<stdio.h>
#include<conio.h>
int main()
{
int i=2;
switch(i)
{
case 1:
printf("in class 1\n");

case 3:
printf("in class 3\n");

   case 2:
printf("in class 2\n");

default:
printf("in default\n");

}
getch();
return 0;

}

output:
in class 2
in default



4.//Arithmetic operations -break statement is not present


#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,x;
printf("enter two values\n");
scanf("%d%d",&a,&b);
printf("select operation +=1 or -=2 or /=3 or *=4 or %=5\n");
scanf("%d",&x);
switch(x)
{
case 1:
printf("sum of two numbers is %d\n",a+b);
case 2:
printf("difference of two numbers is %d\n",a-b);
case 4:
printf("product of two numbers is %d\n",a*b);
case 3:
printf("division of two numbers is %d\n",a/b);
case 5:
printf("modular division results %d\n",a%b);
default:
printf("enter any one of the operations");
}
getch();
return 0;
}

output:

enter two values
10
2
+=1 or -=2 or /=3 or *=4 or %=5
1
sum of two numbers is 12
difference of two numbers is 8
product of two numbers is 20
division of two numbers is  5
modular division results 0
enter any one of the operations


5.//To print month

#include<stdio.h>
#include<conio.h>
int main()
{
int month;
printf("enter month\n");
scanf("%d",&month);
switch(month)
{
case 1:
printf("january");
break;
case 2:
printf("February");
break;
case 3:
printf("March");
break;
case 4:
printf("April");
break;
case 5:
printf("May");
break;
case 6:
printf("June");
break;
case 7:
printf("July");
break;
case 8:
printf("August");
break;
case 9:
printf("September");
break;
case 10:
printf("October");
break;
case 11:
printf("November");
break;
case 12:
printf("December");
break;
}
getch();
return 0;
}

output:
enter month
5
May






Aptitude-profit and loss


This chapter deals with buying and selling of goods and the profit or loss involved in the transactions.

Cost price(cp): cost refers to the price at which an article is bought.

selling price(sp): selling price refers to the price at which an article is sold.

profit:
       If an article is sold at a price greater than the price for which it was bought, the trader makes a profit.

         Profit=selling price-cost price

Loss:
   If an article is sold at a price less than the price for which it was bought, then the trader makes a loss.

      Loss=cost price- selling price

Marked price(mp):
           The price indicated on the product or the price marked on the product is called the marked price.

 Discount:
          Trader sometimes sells goods at a price lower than the price marked on the product. This is called discount.

 Discount=Marked price-selling price


Profit percentage=  selling price-cost price  *100
                                          cost price

Loss percentage= cost price- selling price *100
                                        cost price
                               










Example:
         
1. Cost price= 100
 I want to earn 50% profit on selling this product so,
 2.Selling price= 100+ 50%(100)  =  150
People ask for discount so, I have to give a discount to them in spite of getting my 50% profit i.e., 50 rs.
Suppose I offer them a discount of 20 % on mrp, what should be my mrp so that I can get my profit


Ans:  mrp- 20%(mrp)= 150
     
         marked price(mrp)  = 187.5 rs


Questions to solve:

1.Raj and Ajay buys rice bags worth 45000 each. If Raj sells his rice bag at a profit of 15% and Ajay sells his rice bags at a loss of 5%. What is the overall profit/loss percentage?

Ans: 5%


2. Raju buys a book for Rs.100 and sells it at Rs 120. What was his percentage of profit in the deal?
Ans: 20%


3.A merchant buys goods worth Rs 30000 and pays Rs 25000 for their transportation. He sells the goods and makes a profit of 10%. How much did he sell the goods for?

4.The marked price of a wrist watch is 2900.If a discount of 15% is given on the watch, what is the selling price of the watch?

5.Two packs of rice are marked at the same price. The first pack of rice is sold at 2% discount and the seller makes a profit of 4% in it.The second pack of rice is sold at 4% discount and the seller makes a profit of 2% in it. What is the ratio of C.P of both the rice packs?
Ans:      833
              832