Sunday, January 29, 2017

Solid waste management

Solid waste management


Role of individual and good habits in management of solid waste:

Following 3 R's - Reduce, Reuse and Recycle.

We should adopt good habits as far as solid waste management is concerned.

By spreading social awareness and personal discipline, the problem of solid waste disposal can be reduced.

1. Reduce : 

Waste generated should be reduced at the source. Example use of paper or plastic can be reduced or kept at a minimal.

2. Reuse :  

 Using biodegradable material for composting or making notebooks from waste paper can be options for reuse.
Similarly, industrial wastes can be reused after proper techniques and processing.

3. Recycle : 

Recycling is using the same materials for the manufacture of others product. Plastic, metals, rubber, glass, etc. can be sent to the respective recycling units.

Good habits in solid waste management :

  • Using dustbins and not throwing anything on the roads or in the open spaces or in our surroundings.
  • Use of eco-friendly alternatives such as cloth bags, instead of plastic. Used dresses or old saris can be converted into curtain material, bed sheets, etc.
  • Avoiding use of tissue papers, instead of using cloth napkins.
  • Social awareness programmes to be arranged so that people can behave with responsibility towards waste disposals.
  • Such programmes to be organized in schools and colleges.
  • Community participation in waste segregation.

Effects of improper management of solid wastes are as follows:

  1. Loss of aesthetic beauty.
  2. Bad odor or smell.
  3. Toxic gases
  4. Spread diseases
  5. Environmental pollution
  6. Water pollution
  7. Soil pollution
  8. Effect on bird diversity

Common methods of solid waste management are as follows:

1. Door-to-door collection of household waste
2. Landfill
3. Disposal in the sea.

Electronic Waste ( E-waste )

E-waste (Electronic Waste)

E-waste or electronic waste is formed due to electronic gadgets such as computers, mobile phones, TV sets , etc . which are not in proper condition.

  • It is hazardous and unmanageable solid waste .
  • It contains many hazardous heavy metals such as lead, beryllium, mercury and cadmium.
  • These heavy metals are non-biodegradable in nature. Therefore , they remain accumulated in the environment and remain there for a long period of time.
  • The solid microorganisms are directly and indirectly affected by E-waste.
  • E-waste affects the human health.
  • Burning and land filling of E-waste is dangerous for the surrounding environment and hence , disposing it becomes difficult.


Friday, January 27, 2017

Fuels

Fuels


 Introduction

    Fuels are naturally occurring or manufactured combustible organic substances which act as a source of heat or as raw materials for the chemical industry. Industries require power for their routine operations. Heat energy is the main source of power. 
Therefore, those materials used for production of heat energy are termed as fuels. 
Nature has furnished or given us unlimited source of energy of different forms.

What is a fuel?

    A fuel can be defined in different ways as follows----
(1) Any source of heat energy is called as fuel.
(2) Any substance which by oxidation, is made a source of heat for practical
purposes is called as fuel.
(3) Any combustible substance which may be burnt to supply heat that can
be used economically for domestic and industrial purposes.
    Raw coal is directly used for domestic heating and as source of
other products obtained by processes of dry distillation which may be
conveniently called carbonization. During carbonization process, there is
always decrease of the amount of gaseous and volatile matter when the fuel is being heated.

Modern concept of fuels : It is now well established fact that ,it is not necessary for a fuel
to undergo combustion or oxidation .
For example, electrical energy when used as a source of heat is also called fuel.
Nuclear energy may also be used as a source of heat.

According to the modern definition, a fuel is any fissionable material which produces energy in a form that can be used for producing power.

Classification of fuels:

On the basis of physical states, fuels can be classified into three groups:
a) Solid state
b) Liquid fuels and
c) Gaseous fuels.

These are further sub-classified according to their origin as natural or artificial.
The clarification is summarized in below table
<table border="2">
<tr>
<td>State</td>
<td> Natural Fuels</td>
<td>Artificial Fuels</td>
</tr>
<tr>
<td>1. Solid Fuels</td>
<td>Coal,wood,shale,peat,liginite</td>
<td>Charcoal, wood, coke, petroleum coke,<br> Briquettes.</td>
</tr>
<tr>
<td>2. Liquid Fuels</td>
<td>Natural gasoline,crude petroleum</td>
<td>Petrol, Kerosene, diesel oil, ligroline oil, <br>coal tar, alcohol, gas-oil.</td>
</tr>
<tr>
<td>3. Gaseous Fuels</td>
<td>Natural gas (Marsh gas),</td>
<td>Producer gas, water gas, coke over gas ,<br> coal gas, oil gas ,Blast furnace gas,<br> acetylene, hydrogen,<br>Liquid Petroleum Gas (LPG)</td>
</tr>

It seem from the table that , whatever may be the origin of the fuel ( natural or synthetic) - both contain all the three phase states viz, solid
liquid and gaseous.
Artificial or synthetic fuel is prepared by processing natural fuel by
different ways. for example , natural fuels like coal , wood , shale , peat ,
petroleum natural gas etc . are known as primary fuels , where as coke ,
charcoal , petrol , kerosene , coal tar , producer gas , coke - oven gas , compressed
butane etc . are called secondary fuels . Secondary fuels are therefore , produced by
processing primary fuels .
 

Properties of a Good Fuel

    A good fuel should possess following properties.
1. High Calorific Value:
    The calorific value of a fuel is the amount of heat produced by the
complete combustion of a unit weight or volume of the fuel . The fuel with
high calorific value is more useful.
a.In case of solid and liquid fuels that the calorific value is usually expressed in
BTU per pound or calories per gram.
1 calorie per gram = 1.8 BTU per pound.

b. In case of gaseous fuels the calorific value is expressed in BTU per cubic
feet at 60 % F and 30 inch pressure of Hg.
1 kcal / m  = 0.1077 * BTU / Ft.
1BTU / Ft = 9.3 kcals / m.

2. Moderate Ignition Temperature :
The temperature at which a solid, liquid or gaseous fuel catches fire and continues to burn without further heat  is called ignition temperature.
It is also called as ignition point .The value of ignition temperature decreases due to presence of moisture and foreign material.
i. If the ignition temperature of the fuel is low it is easy to start fire but it is dangerous for storage and transport.
ii. If the ignition temperature of the fuel is high it is difficult to start fire but it is easy for storage and transport.
Therefore, an ideal fuel should have moderate ignition temperature.

3. Moderate velocity of combustion:
The temperature attained by combustion in case of a particular fuel
depends upon its velocity of combustion , its calorific value and the space
used for combustion . It the velocity of combustion is very low , then the
liberated may get radiated instead of raising the temperature . Secondary the
velocity of combustion should not be very high .

4.Low % of Non - combustible matter :
After combustion of fuel , the non - combustion matter like ash or
clinker remains behind which also reduces the heating value of the fuel . A
good fuel can have high calorific value , only if it has low % of non -
combustion matter (ash).

5.Products of composition :
The gaseous products of combustion of fuel should not pollute the
atmosphere and should not be harmful or poisons for human lives. Gases like
carbon monoxide , sulphur-dioxide , hydrogen sulphide , phosphine etc . are
some of the harmful gases.

6.Ease of transport :
The good fuel is easy to handle , store and transport. Solid and liquid
fuel can be transported very easily from one place to another .On the other
hand transportation of gaseous fuels is costly and can fire hazards.

7.Low cost :
A fuel should be readily available in bulk at low cost . The cost of
production , storage and transport should be low.

Criterion of Selection of  Fuel

    Following factors are of primate importance while selecting a fuel for
a particular purpose.
i. The fuel must have reasonably high velocity of combustion.
ii. It should have high calorific value.
iii. It must have proper ignition temperature.
iv. It must have low % of non combustion matter .
v. It must have low cost.
vi. It must be available in sufficient quantity.
vii. It must be easy for transport.
Calorific Value of Fuels.

Different fuels produce different amount of heat on burning. The
usefulness of a fuel is measured in terms of its calorific value . The calorific
value of fuel may be defined as :
i. The amount of heat liberated in calories by the complete combustion of
a combustion substance with oxygen and the condensation of the
products to the desired temperature , OR
ii. The amount of heat liberated by burning unit weight or unit volume of
the fuel.
    Let us consider the combustion of carbon and hydrogen .

C  +   O2   -------      CO2     +    97 .644
12g     32g                44g. 
H2  +  O   -------       H2O
2g        16g                 18g.
It is evident from the above equations that 12 g of carbon give
 97. 644 calories of heat , therefore 1 g of carbon would give 97644 / 12 =
8137 cals of heat , similarly 2g of hydrogen give 69 .000 calories of heat ,
when steam is condered to water .
Units for Calorific Value :
i.BTU .
    For solid fuels the calorific value is expressed in BTU per pound or
in KCU per kilogram . One BTU in the hear required to raise the temperature of
one pound of water from 60 % F to 61 % F .
ii. Calorie :
    A calorific which is the unit of heat , may be defined as , the heat
required to raise the temperature of one kilogram of water from 15% C to
16% C.

1 BTU = 252 cals = 0.252 kcals .
1 kcal = 3.968 BTU .
1 kcal/kg =1.8 BTU/1b .and = 0.1077 * BTU/ft3.

iii. KCU:
One KCU is the amount of heat required to heat one kilogram of
water from 15 % C to 16 % C.
    The mean calorific value of any fuel . containing carbon and
hydrogen can be calculated as follows :

Total calories = (% carbon * 8137 ) + ( % Hydrogen * 34500 )
                          --------------------------------------------------------
                                                           100
iv.KJ/g :
The calorific value of a fuel  is usually expressed as kilojoules per
gram . For example the calorific value of charcoal is 33 kilojoules per
gram. It is a common unit of measuring calorific values in kilojoules per gram.
The calorific values of some common fuels are given in table 6 . 2.

Problem:
i.    Calculate the calorific value of carbon from given reaction
            C + O2 ---- CO2 + 387 kJ
: 12 g of carbon produces heat = 387 kJ
: 1 g of carbon produces heat = 387 / 12 = 32 . 25 kJ
In case of gaseous fuels calorific values are calculated from the sum
of the calorific values of the constituent gases. In case of fuel containing
heat is also deducted for moisture present in the fuel.

Determination of Calorific Values of a Fuel

Calorific value of a solid or liquid fuel can be determined by
burning a definite amount of fuel in a Bomb calorimeter . In such a
under constant pressure .                                                                                           
                   @
Thus ,    C9H6O      +       10 O2 --------------       9 CO2       +      3 H2O
           Anthracitic coal

Procedure:

a. Take a known mass of the fuel whose calorific value is to be determined.
b.Take a known mass of water in a beaker and then burn the fuel.
c.The fuel in burning will produce heat , that will be absorbed by water
taken in beaker.
d.The temperature of water starts rising.
e.The rise in temperature is noted when all the fuel is burnt. It is
found out from temperature of water..
f.Thus , knowing the mass of water taken in a beaker , specific
formula ,
    Heat produced Q = m * S * t  Joules .
    -------------------------------------------

where , m = mass of water
              S = specific heat of water
              t = rise in  temperature of water .
          This quantity heat has been produced by burning ' X '
grams of fuel.
    We can find out the calorific value of the fuel in joules per gram by
dividing heat Q by the mass water  ' X ' grams  of the fuel burnt.

: Calorific Value = Amount of heat produced   
               --------------------------------------------
                             Mass of fuel burnt.
                        = Q /X Joules per gram.
                        = Q   kJ/ gram.
                        -----------
                         X * 1000.    
Example :A beaker containing 400 grams of water at 25 % C heated by
burning 2 . 5 grams of charcoal. The final temperature of water become 55 % C .
Solution :
i. Mass of water = 400 g .
ii.Specific heat of water =4 .2 J/g% C.
iii.Intial temperature of water = 25 % C.
iv. Final temperature of water = 55 % C.
v. Rise in temperature of water (t) = 55 - 25 = 30 % C.

Formula :

Heat absorbed by water ( Q ) = m * S * t Joules
                    = 400 * 4. 2 * 30 
                    = 50400 Joules
                     = 50 kJoules.
    This amount of heat ( Q ) absorbed by water has been produced by
burning 2 . 5 grams of charcoal fuel.
: Calorific value of the fuel = Amount of heat produced
                     --------------------------------
                       Mass of  fuel burnt
                 = Q / X
                 = 50 / 2 .5
                   = 20 . 16 kJoules gram.
    Hence calorific value of the fuel is 20 . 16 .
    The calorific value of gaseous fuels can be determined by burning a
definite volume of the fuel completely at atmospheric pressure in a chamber
surrounded by coils through which water is allowed to flow at constant pressure .

Other properties of fuel .


(1) Ignition Temperature : It is defined as , the temperature at which a fuel
catches fire and continues to burn without further heat . Each fuel has definite
ignition temperature value . The ignition temperature is influence by a
number of factors such as -- i. Nature of fuel ii .combustion environment
iii.presence of moisture iv. Size and shape of the experimental value vi.
particle size and presence of foreign material etc .
    The value of ignition temperature decrease due to the presence of
moisture and foreign material .

( 2 ) Flash point : It is the property of a liquid fuel like gasoline , kerosene ,
petrol , alcohol etc . It is defined as , the minimum temperature at which a
sample of a fuel oil gives off enough vapour that catches fire but does not
continue to burn in presence of air by naked flame or electric discharge .

( 3 ) Fire point :It is defined as , 'the temperature at which the oil vapours will
catch fire and continue to burn ' . Both flash point and fire point are used to
detect dissolved impurities much more volatile than the bulk of the oil .

( 4 )Coke number : It is defined as , ' the amount of carbon deposited by a
weighed sample of oil in a standard apparatus under a set of
experimental conditions . ' Better grade lubricating oils have lower coke
number .

( 5 ) Viscosity :This is the properly of lubricating oils . It is expressed in ,
centipose . In USA . Saybolt Universal Viscosity ( SUV ) is generally
employed in petroleum industry . It is expressed as ' the number of seconds
required for 60 c.c. of the oil to run through a standard orifice from a cylinder
filled to a defined level at a standard temperature . '

Solid Fuels .

Solid fuels contain combustible organic materials and an
incombustible or minerals part known as ballast. There are two types of solid fuels .

Among the solid fuels wood , coal and charcoal are commonly used .
The heat of combustion of a fuel depends upon the composition of the fuel
and on its moisture content .

Coal :

    Coal is the most important natural solid fuel . It is combustible solid
fuel , usually formed by the burial of partically decomposed vegetation in post
geological ages . After that pressure and temperature converted them to coal .

The calorific values and uses of some of the solid fuels are
summarized in table 6 . 3 .

Chemically , coal is highly complex organic matter with varying
amount of water , trapped as well as combined , together with nitrogen
and sulphur in the form of organic and inorganic matter . Sulphur is
an important impurity which affects  the quality of a fuel . The contents of
impurities in coal make different grades of coal e .g .
a.Anthracite
b.Bituminonus coals -low volatile type fixed carbon , medium
volatile type and high volatile type.
c.Sub -bituminous coal or black lignite.
d.Pulverized coal .

Destructive Distillation of coal .
    During destructive distillation, coal is thermally pyrolyed or
distilled by heating in the absence of air . During this process coal is
converted into variety of solid , liquid and gaseous products . The quality as
well as the amount of each product depends upon the temperature used in the
pyrolysis and the variety of coal .
    When soft coal and other kinds of solid fuels are heated under
different in various conditions , they  undergo complicated changes and lead
to the formation if new solid , liquid or gaseous products .
    The method of high temperature processing of solid fuels can be
divided in to three main types -- a. Pyrolysis b. Gasification
c.Hydrogenation .

a.Pyrolysis : In this process the heating of the fuel in a closed reactors is
carried out in the absence of air , the low temperature pyrolysis , called semi-
coking is carried out at 500 - 580 % C , The temperature pyrolysis , called
coking is carried out at 900 -1050 % C .

b.Gasification :In the process the transformation of the organic part of
solid fuel into combustible gases is carried out by incomplete oxidation with
air ,steam or their mixture in gasifies at a temperature of about 1000 % C .

c.Hydrogenation :In this process the treatment of the fuel with hydrogen
is carried out at high temperature and pressures of catalyst.

The process of carbonisation .
    The bituminous coal on low heating losses moisture and gases that
are driven out . At about 270 % C , some H2S and olefine gases are evolved. At
about 350 % C active decomposition of the coal substance takes place with
increases and below 800 % C , gas is the main product.
    The quality of the coke produced mainly depend on -- i. the type
of coal used ii. the temperature of carbonisation and iii. the rate of cardonisation.
These factors control the porosity , reactivity end the amount of volatile matter
retained in the coke .

(A) Low temperature carbonisation .
    The low temperature carbonisation is carried out mainly for
the manufacture of domestic fuel. The coke produced is called low
 temperature coke and contains about 5 to 15 % volatile matter.
This coke is easily ignited and it is a valuable , smokeless , domestic
coal and process used for carconisation.

Disadvantages :

i.It produces heavy air pollution.
ii.By this process , poor quality of the soft coke is produced.
iii.There is loss of liquid and gaseous by products .

(B) High temperature carbonization
The high temperature carbonization is used for the
production of pure , strong , hard and porous metallurgical coke. The yield  of
the coke is 65 to 75 % and contain 1 to 3 % volatile matter. Its calorific value
is about 5000 - 6000 k. cals'/m3 which is lower than that produced in LTC.

Chemicals from coal

    Chemicals from coal were initially and mostly obtained by
destructive distillation of coal , furnishing mainly the aromatic compounds
such as -- benzene , toluene , xylene , napthalence and methyl - naphthalenes.
When coal is thermally pyrolysed or distilled by heating in the absence of air ,
and amount of each product depends on the temperature used in pyrolysis and
CO2 , CO , H2S , NH3 , N2 . The products other than coke are known as coal

Coking of Coal

    Coking is used mainly for processing of fuels such as coals . In
coking , coals are heated in the absence of air to a temperature to form 
volatile products and solid reminder known as coke .

Chamber ovens.

i.It consists of narrow rectangular chambers made of silica bricks . These
chambers are tightly closed so that no air is admitted.
ii. The heating is carried out by burning gases like producer gas , blast
furnace gas or coke oven gas .
iii.The chambers are also fitted with charging doors having 3 and 4 openings
at the top and discharging doors at the bases .
iv.Each oven is separated from the neighboring one by a vertical flue in
which the fuel gas burns and the ovens get heated from both sides.
v.The hot gases leaving the fuels are allowed to pass through the chequer
brick - work in the next oven . The air and fuel gas pass through other
chamber which been already heated .
vi.When coal is heated in the coke oven  , moisture is first expelled and at
about 300 - 450 % C  the coal takes place .
vii.As about 500 % - 500 % C the coal passes through a plastic state and it is
and solidification to form semi coke.
viii..As about 500 % - 500 % C the coal passes through a plastic state and it is
and solidification to form semi coke.
ix.The process of carbonisation takes place in the coal charge starting from
the two side walls of the oven .
x.Each oven holds about 20 tonnes of coal charge and the time required
for carbonisation is about 12 to 20 hours .
xi.The final temperature goes around 1100 % C and the yield of coke is
about 70 % .
xii.After carbonisation the red hot coke is pushed into a coke car where the
coke comes in contact with spray of cooling water .
xiii.The excess water is evaporated and the coke is screened to different
sizes.
xiv.The gases from the coke ovens are converted into different hyproducts .

Byproducts of coal .
    The gaseous mixture that leaves the coke ovens contains ammonia ,
sulphur , volatile hydrocarbons , tar etc . The important byproducts
like light oil , tar ammonium sulphate , finely divided sulphur , ammonium

SET Exam 2015 computer science solve question paper

Time table of T20 वर्ल्ड कप 2017 world cup

T20 वर्ल्ड कप 2017
---------------------
15 मार्च - भारत/न्यूजीलैण्ड
16 मार्च - वेस्टइंड़ीज/इंग्लैण्ड
16 मार्च - पकिस्तान/आयरलैंड
17 मार्च - श्रीलंका/ज़िम्बाब्वे
18 मार्च - ऑस्ट्रेलिया/न्यूजीलेंड
18 मार्च - द.अफ्रिका/इंग्लैंड
19 मार्च - हिन्दुस्तान/पाकिस्तान
20 मार्च - द.अफ्रिका/ज़िम्बाब्वे
20 मार्च - श्रीलंका/वेस्टइंडीज
21 मार्च - ऑस्ट्रेलिया/आयरलैंड
22 मार्च - न्यूजीलैंड/पकिस्तान
23 मार्च - इंग्लैंड/जिम्बाब्वे
23 मार्च - भारत/आयरलैंड
25 मार्च - पाकिस्तान/ऑस्ट्रेलिया
25 मार्च - द.अफ़्रीका/वेस्टइंडीज
26 मार्च - न्यूजीलेंड/आयरलैंड
26 मार्च - इंग्लैंड/श्रीलंका
27 मार्च - भारत/ऑस्ट्रेलिया
27 मार्च - वेस्टइंडीज/जिम्बाब्वे
28 मार्च - द.अफ्रीका/श्रीलंका
30 मार्च - पहला सेमीफाइनल
31 मार्च - दूसरा सेमीफाइलन
3 अप्रैल - T20 फाइनल
.
फटाफट क्रिकेट वर्ल्ड कप का लुफ्त लीजिये। टाइम टेबल आप के मोबाइल में सबसे पहले मेरी तरफ से।
इन date के हिसाब से प्लान करना मित्रो।।

Friday, January 13, 2017

प्राचीन स्वास्थ्य दोहावली Good health tips by old remedies


Good health tips by old remedies:

*"प्राचीन स्वास्थ्य दोहावली"*

पानी में गुड डालिए, बीत जाए जब रात!
सुबह छानकर पीजिए, अच्छे हों हालात!!

*धनिया की पत्ती मसल, बूंद नैन में डार!*
दुखती अँखियां ठीक हों, पल लागे दो-चार!!

*ऊर्जा मिलती है बहुत, पिएं गुनगुना नीर!*
कब्ज खतम हो पेट की, मिट जाए हर पीर!!

*प्रातः काल पानी पिएं, घूंट-घूंट कर आप!*
बस दो-तीन गिलास है, हर औषधि का बाप!!

*ठंडा पानी पियो मत, करता क्रूर प्रहार!*
करे हाजमे का सदा, ये तो बंटाढार!!

*भोजन करें धरती पर, अल्थी पल्थी मार!*
चबा-चबा कर खाइए, वैद्य न झांकें द्वार!!

*प्रातः काल फल रस लो, दुपहर लस्सी-छांस!*
सदा रात में दूध पी, सभी रोग का नाश!!

*प्रातः- दोपहर लीजिये, जब नियमित आहार!*                                                  तीस मिनट की नींद लो, रोग न आवें द्वार!!

*भोजन करके रात में, घूमें कदम हजार!*
डाक्टर, ओझा, वैद्य का , लुट जाए व्यापार !!

*घूट-घूट पानी पियो, रह तनाव से दूर!*
एसिडिटी, या मोटापा, होवें चकनाचूर!!

*अर्थराइज या हार्निया, अपेंडिक्स का त्रास!*
पानी पीजै बैठकर,  कभी न आवें पास!!

*रक्तचाप बढने लगे, तब मत सोचो भाय!*
सौगंध राम की खाइ के, तुरत छोड दो चाय!!

*सुबह खाइये कुवंर-सा, दुपहर यथा नरेश!*
भोजन लीजै रात में, जैसे रंक सुरेश!!

*देर रात तक जागना, रोगों का जंजाल!*
अपच,आंख के रोग सँग, तन भी रहे निढाल^^

*दर्द, घाव, फोडा, चुभन, सूजन, चोट पिराइ!*
बीस मिनट चुंबक धरौ, पिरवा जाइ हेराइ!!

*सत्तर रोगों कोे करे, चूना हमसे दूर!*
दूर करे ये बाझपन, सुस्ती अपच हुजूर!!

*भोजन करके जोहिए, केवल घंटा डेढ!*
पानी इसके बाद पी, ये औषधि का पेड!!

*अलसी, तिल, नारियल, घी सरसों का तेल!*
यही खाइए नहीं तो, हार्ट समझिए फेल!

*पहला स्थान सेंधा नमक, पहाड़ी नमक सु जान!*
श्वेत नमक है सागरी, ये है जहर समान!!

*अल्यूमिन के पात्र का, करता है जो उपयोग!*
आमंत्रित करता सदा, वह अडतालीस रोग!!

*फल या मीठा खाइके, तुरत न पीजै नीर!*
ये सब छोटी आंत में, बनते विषधर तीर!!

*चोकर खाने से सदा, बढती तन की शक्ति!*
गेहूँ मोटा पीसिए, दिल में बढे विरक्ति!!

*रोज मुलहठी चूसिए, कफ बाहर आ जाय!*
बने सुरीला कंठ भी, सबको लगत सुहाय!!

*भोजन करके खाइए, सौंफ,  गुड, अजवान!*
पत्थर भी पच जायगा, जानै सकल जहान!!

*लौकी का रस पीजिए, चोकर युक्त पिसान!*
तुलसी, गुड, सेंधा नमक, हृदय रोग निदान!

*चैत्र माह में नीम की, पत्ती हर दिन खावे !*
ज्वर, डेंगू या मलेरिया, बारह मील भगावे !!

*सौ वर्षों तक वह जिए, लेते नाक से सांस!*
अल्पकाल जीवें, करें, मुंह से श्वासोच्छ्वास!!

*सितम, गर्म जल से कभी, करिये मत स्नान!*
घट जाता है आत्मबल, नैनन को नुकसान!!

*हृदय रोग से आपको, बचना है श्रीमान!*
सुरा, चाय या कोल्ड्रिंक, का मत करिए पान!!

*अगर नहावें गरम जल, तन-मन हो कमजोर!*
नयन ज्योति कमजोर हो, शक्ति घटे चहुंओर!!

*तुलसी का पत्ता करें, यदि हरदम उपयोग!*
मिट जाते हर उम्र में,तन में सारे रोग। 🌸

*कृपया इस जानकारी को जरूर आगे बढ़ाएं*

Monday, January 9, 2017

Palindrome triangle

Write a program in C to print print palindrome triangle pattern of n rows.




How to print a right triangle of palindrome strings using for loops.

Palindrome triangle pattern of 5 rows:

A
ABA
ABCBA
ABCDCBA
ABCDEDCBA


Required Knowledge

    For Loop
    If Else Statement
    printf and scanf function in C


 Algorithm to print triangle pattern of palindrome strings
This program is similar to right triangle star pattern program.

  •     Take the number of rows(N) of right triangle as input from user using scanf function.
  •     Number of characters in Kth row is always 2K-1. 1st row contains 1 character, 2nd row contains 3 characters, 3rd row contains 5 characters and so on.
  •     In any row, we will first print the characters in increasing order of their ASCII value till mid of the row and then in decreasing order.
  •     We will use two for loops to print right triangle of palindrome strings.
  •         Outer for loop will iterate N time. Each iteration of outer loop will print one row of the pattern.
  •         Each iteration of inner loop will print a palindrome string as explained above.

C program to print palindrome triangle pattern

#include<stdio.h>

int main() {
   int i, j, rows, count=0;
  
   printf("Enter the number of rows\n");
   scanf("%d", &rows);
   
   for (i = 1; i <= 2*rows; i=i+2)
    {
      for (j = 1; j <= i; j++)
        {
               printf("%c", 'A'+count);
               if(j <= i/2)
                       count++;
                else 
                       count--;
              }
           count = 0;
          printf("\n");
       }
   return(0);
}

Output


Enter the number of rows
5
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA

Keyboard shortcuts of computer

Interesting keyboard shortcuts for Various Applications You May Not know About Computer and The Internet.😊


More than 100 keyboard shortcuts keyboard shortcuts (Microsoft Windows).
👇
1.CTRL + C ( copy )
2.CTRL + X ( Cut )
3.CTRL + V (Paste)
4.CTRL + Z (Undo)
5.DELETE (Delete)
6.SHIFT + DELETE (delete the selected item permanently without placing the item in the Recycle Bin ).
7.CTRL while dragging an item ( Copy the selected item ).
8.CTRL+ SHIFT while dragging an item (Create a shortcut to the selected item )
9.F2 Key (Rename the selected item .
10.CTRL + RIGHT ARROW (Move the insertion point to the beginning of the next word )
11.CTRL + LEFT ARROW (Move the insertion point to the beginning of the previous word )
12.CTRL +DOWN ARROW (Move the insertion point to the beginning of the next paragraph )
13.CTRL + UP  ARROW (Move the insertion point to the beginning of the previous paragraph )
14.CTRL + SHIFT with any of the arrow keys (Highlight a block of text ) CTRL with any of the arrow keys. ( Select more than one item in a window or on the desktop , or Select text in a document
15.CTRL + A (Search + all )
16.F3 key ( Search for a file or a folder )
17.ALT + ENTER ( View the properties for the selected  object )
18.ALT + F4 (close the active item , or quit the active program ).
19.ACT + ENTER (Display the properties the selected object ).
20.ACT + SPACE Bar
21.CTRL + F4  (Close the active document programs that enable you to have multiple documents open simltenously )
22.ACT + TAB ( Switch between the open item )
23.ACT + ESC ( cycle through item in the order that  they load had ben opened.)
24.F6 key ( Cycle through the screen elements in a window or on the destkop )
25.F4 key (Display the Address bar list in My Computer or Windows Explorer)
26.SHIFT +F10 (Display the shortcut menu for the active window)
27.ALT+SPACEBAR (Display the System menu for the active window)
28.CTRL +ESC (Display the start menu)
29.ACT  + Underlined letter in a menu name (Display the corresponding menu )
Underlined letter in a command name on an open menu (Perform the corresponding command)
30.F10 key ( Activate the menu bar in the active program)
31.RIGHT ARROW
32.LEFT ARROW
33.F5 key
34.BACKSPACE
35.ESC (cancel the current task)
36.SHIFT when you insert a CD- ROM into the CD-ROM drive (Prevent the CD-ROM from automatically playing)

Dialog Box - Keyboard Shortcuts
1. CTRL +TAB (Move forward through the tabs)
2. CTRL + SHIFT +TAB (Move backward  through the tabs)
3. TAB (Move forward through the options)
4. SHIFT + TAB ( Move backward through the options)
5. ALT + Underlined letter (Perform the corresponding command or select the corresponding option )
6. ENTER (Perform the command for the active option or button )
7. SPACE-BAR (Select or clear the check box if the active option is check-box)
8. Arrow keys (select  a button if the active option is a group of option button )
9. F1 key (Display Help )
10. F4 key (Display the items in the active list)
11. BACKSPACE ( Open a folder one level up if a folder is selected in the Save As Open dialog box)

Microsoft Natural Keyboard Shortcuts
1. Windows Logo (Display or hide the Start menu)
2. Windows Logo + BREAK (Display the System Properties dialog box)
3. Windows Logo + D (Display the desktop )
4. Windows Logo + M (Minimize all the window)
5. Windows Logo + SHIFT  + M  (Restore the minimized window)
6. Windows Logo + E (Open My computer)
7. Windows Logo + F (Search for a file or a folder )
8. CTRL + Windows Logo + F (Search for computers)
9. Windows Logo  + F1 ( Display Window Help )
10. Windows Logo + L (lock the keyboard)
11. Windows Logo + R (Open the Run dialog box)
12. Windows Logo + U (Open the Utility Manager)

Accessibility Keyboard Shortcuts
1. Right Shift for eight seconds ( Switch Filter Keys either ON or OFF )
2. Left ALT + left SHIFT + PRINT SCREEN ( Switch high Contrast either ON or OFF )
3. Left ALT + left SHIFT + NUM LOCK (Switch the Mouse keys either ON or OFF)
4. SHIFT five times  (Switch the Sticky-keys either ON or OFF)
5.  NUM LOCK for five seconds ( Switch the Toggle-keys either ON or OFF)
6. Windows logo +U (Open Utility Manager )

 Windows explorer Keyboard Shortcuts
1.END ( Display the bottom of the active window)
2. HOME (Display the top of the active window)
3. NUM LOCK + Asterisk sign (*) ( display all of the sub-folders that are under the selected folder)
4. NUM LOCK + PLUS sign (+) (Display the contents of the selected folder)

MNC Console keyboard shortcuts

1. SHIFT + F10 ( Display the Action shortcut menu for the selected item )
2. F1 key ( Open the Help topic , if any , for the selected item )
3. F5 key ( Update the content of all console windows)
4. CTRL +F10 ( Maximize the active console windows)
5. CTRL + F5 ( Restore the active console windows)
6. ALT + ENTER ( Display the Properties dialog box, if any, for the selected item)
7. F2 key ( Rename the selected item )
8. CTRL +F4 ( Close the active console window . When a console has only console window , this shortcut close the console)

Remote Desktop Connection Navigation
1. CTRL + ALT +END ( Open the Micosoft Wiindow NT Security dialog box )
2. ALT + PAGE UP ( Switch between from left to right)
3. ALT + PAGE DOWN ( Switch between program from right to left)
4. ALT + INSERT ( Cycle through the programs in most recently used order)
5. ALT + HOME ( Display the START menu)
6. CTRL +ALT +BREAK (Switch the client computer between a window and a full screen)
7. ALT + DELETE ( Display the Windows menu )
8. CTRL + ALT + Minus sign (-) ( Place a snapshot of the active window in the client on the Terminal server clipboard and provide
the same functionality as pressing  PRINT SCREEN on a local computer.)
9. CTRL + ALT + Plus sign (+) ( Place a snapshot of the entire client window area on the Terminal server clipboard and provide
the same functionality as pressing  ALT+PRINT SCREEN on a local computer.)

Microsoft Internet Explorer Keyboard Shortcuts
1. CTRL + B (Open the Organize Favorites dialog box)
2. CTRL + E ( Open the Search  bar)
3. CTRL + F ( Star the Find Utility)
4. CTRL + H ( Open the History bar)
5. CTRL + I ( Open the Favorites bar)
6. CTRL + L ( Open the Open dialog box)
7. CTRL + N (Start another instance of the browser with the same Web address)
8. CTRL + O ( Open the Open dialog box, the same as CTRL + L)
9. CTRL + P ( Open the Print dialog box )
10. CTRL + R ( Update the current Web Page)
11. CTRL + W ( Close the current window)

Thursday, December 29, 2016

Solve Computer Science based Questions

 Exam June 2016 Computer Science Question Paper 2 :-




1. The Boolean function [~ (~p∧q)∧~(~p∧~q)]∨(p∧r) is equal to the Boolean function : 
 (1) q 
(2) p ∧ r
 (3) p ∨ q 
(4) p 


2. Let us assume that you construct ordered tree to represent the  compound proposition           (~ (p∧q)) ↔ (~ p ∨ ~ q). 
 Then, the prefix expression and post-fix expression determined using this ordered tree are
given as ____ and _____ respectively.
 (1) ↔~∧pq∨ ~ ~ pq, pq∧~p~q~∨↔
 (2) ↔~∧pq∨ ~ p~q, pq∧~p~q~∨↔
 (3) ↔~∧pq∨ ~ ~ pq, pq∧~p~ ~q∨↔ 
(4) ↔~∧pq∨ ~ p~ q, pq∧~p~ ~q∨↔ 


3. Let A and B be sets in a finite universal set U. Given the following :
 |A – B|, |A ⊕ B|, |A| + |B| and |A ∪ B|
 Which of the following is in order of increasing size ?
 (1) |A – B| < |A ⊕ B| < |A| + |B| < |A ∪ B| 
 (2) |A ⊕ B| < |A – B| < |A ∪ B| < |A| + |B|
 (3) |A ⊕ B| < |A| + |B| < |A – B| < |A ∪  B|
 (4) |A – B| < |A ⊕ B| < |A ∪ B| < |A| + |B|


4. What is the probability that a randomly selected bit string of length 10 is a palindrome ?
 (1) 1 / 64
 (2) 1 / 32 
 (3) 1 / 8 
 (4) 1 / 4
  

5. Which of the following is a sequential circuit ?
 (1) Multiplexer
 (2) Decoder
  (3) Counter
(4) Full adder 


6. The octal number 326.4 is equivalent to 
 (1) (214.2)10 and (D6.8)16 
(2) (212.5)10 and (D6.8)16
 (3) (214.5)10 and (D6.8)16 
(4) (214.5)10 and (D6.4)16 


7. Which of the following is the most efficient to perform arithmetic operations on the
numbers ?
 (1) Sign-magnitude
 (2) 1’s complement
 (3) 2’s complement 
(4) 9’s complement 


8. 8085 microprocessor has _____ hardware interrupts.
(1) 2
(2) 3 
(3) 4
(4) 5 


9. Which of the following logic operations is performed by the following given combinational circuit ? 
 (1) EXCLUSIVE-OR
 (2) EXCLUSIVE-NOR 
 (3) NAND 
(4) NOR 


10. Match the following :
List – I List – II
a. Controlled Inverter  i. a circuit that can add 3 bits
b. Full adder ii. a circuit that can add two binary numbers
c. Half adder iii. a circuit that transmits a binary word or its 1’s complement
d. Binary adder iv. a logic circuit that adds 2 bits 
Codes :
     a b c d 
(1) iii ii iv i
(2) ii iv i iii 
(3) iii iv i ii 
(4) iii i iv ii


11. Given i= 0, j = 1, k = – 1
 x = 0.5, y = 0.0
 What is the output of given ‘C’ expression ?
 x * 3 & & 3 || j | k
 (1) –1
 (2) 0
 (3) 1 
(4) 2 


12. The following ‘C’ statement :
 int * f[ ]( ) ;
 declares :
 (1) A function returning a pointer to an array of integers.
 (2) Array of functions returning pointers to integers.
 (3) A function returning an array of pointers to integers.
 (4) An illegal statement. 


13. If a function is friend of a class, which one of the following is wrong ?
 (1) A function can only be declared a friend by a class itself.
 (2) Friend functions are not members of a class, they are associated with it.
 (3) Friend functions are members of a class.
 (4) It can have access to all members of the class, even private ones. 


14. In C++, polymorphism requires :
 (1) Inheritance only 
 (2) Virtual functions only
 (3) References only 
 (4) Inheritance, Virtual functions and references 


15. A function template in C++ provides _____ level of generalization.
 (1) 4 k
(2) 3
 (3) 2 
(4) 1 


16. DBMS provides the facility of accessing data from a database through 
 (1) DDL 
(2) DML
 (3) DBA 
(4) Schema 


17. Relational database schema normalization is NOT for :
 (1) reducing the number of joins required to satisfy a query.
 (2) eliminating uncontrolled redundancy of data stored in the database.
 (3) eliminating number of anomalies that could otherwise occur with inserts and deletes.
 (4) ensuring that functional dependencies are enforced. 


18. Consider the following statements regarding relational database model :
 (a) NULL values can be used to opt a tuple out of enforcement of a foreign key.
 (b) Suppose that table T has only one candidate key. If Q is in 3NF, then it is also in
BCNF.
 (c) The difference between the project operator (Π) in relational algebra and the
SELECT keyword in SQL is that if the resulting table/set has more than one occurrences of the same tuple, then Π will return only one of them, while SQL
SELECT will return all.
 One can determine that :
 (1) (a) and (b) are true. 
(2) (a) and (c) are true.
 (3) (b) and (c) are true. 
(4) (a), (b) and (c) are true. 


19. Consider the following Entity-Relationship (E-R) diagram and three possible relationship
sets (I, II and III) for this E-R diagram : 
I : P Q S T  II : P Q S T  III: P Q S T
 p1 q1 s1 t1   p1 q1 s1 t1   p1 q1 s1 t1
 p1 q1 s1 t2   p1 q1 s2 t2   p1 q2 s1 t1
 If different symbols stand for different values (e.g., t1 is definitely not equal to t2), then
which of the above could not be the relationship set for the E-R diagram ?
 (1) I only 
(2) I and II only
 (3) II only 
(4) I, II and III 


20. Consider  a database table R with attributes A and B. Which of the following SQL queries
is illegal ?
 (1) SELECT A FROM R;
 (2) SELECT A, COUNT(*) FROM R;
 (3) SELECT A, COUNT(*) FROM R GROUP BY A;
 (4) SELECT A, B, COUNT(*) FROM R GROUP BY A, B; 


21. Consider an implementation of unsorted single linked list. Suppose it has its
representation with a head and a tail pointer (i.e. pointers to the first and last nodes of the
linked list). Given the representation, which of the following operation can not be
implemented in O(1) time ?
 (1) Insertion at the front of the linked list.
 (2) Insertion at the end of the linked list.
 (3) Deletion of the front node of the linked list.
 (4) Deletion of the last node of the linked list.


22. Consider an undirected graph G where self-loops are not allowed. The vertex set of G is
{(i, j) | 1 < i < 12, 1 < j < 12}. There is an edge between (a, b) and (c, d) if |a – c| <  1 or      
| b – d | < 1. The number of edges in this graph is 
 (1) 726
 (2) 796
 (3) 506
 (4) 616 


23. The runtime for traversing all the nodes of a binary search tree with n nodes and printing
them in an order is 
 (1) O(lg n)
 (2) O(n lg n)
 (3) O(n) 
(4) O(n2) 


24. Consider the following statements :
 S1 : A queue can be implemented using two stacks.
 S2 : A stack can be implemented using two queues.
 Which of the following is correct ?
 (1) S1 is correct and S2 is not correct.
 (2) S1 is not correct and S2 is correct.
 (3) Both S1 and S2 are correct.
 (4) Both S1 and S2 are not correct. 


25. Given the following prefix expression :
 * + 3 + 3 ↑ 3 + 3 3 3 
 What is the value of the prefix expression ?
 (1) 2178
 (2) 2199
 (3) 2205 
(4) 2232


26. Which of the following statements is not true with respect to microwaves ?
 (1) Electromagnetic waves with frequencies from 300 GHz to 400 THz.
 (2) Propagation is line-of-sight.
 (3) Very high-frequency waves cannot penetrate walls.
 (4) Use of certain portions of the band requires permission from authorities. 


27. In a fast Ethernet cabling, 100 Base-TX uses ____ cable and maximum segment size is
_____.
 (1) twisted pair, 100 metres 
(2) twisted pair, 200 metres
 (3) fibre optics, 1000 metres 
(4) fibre optics, 2000 metres  


28. A network with bandwidth of 10 Mbps can pass only an average of 12,000 frames per
minute with each frame carrying an average of 10,000 bits. What is the throughput  of this
network ?
 (1) 1 Mbps
 (2) 2 Mbps
 (3) 10 Mbps 
(4) 12 Mbps 


29. Match the following :
    List – I                     List – II
a. Session layer     i. Virtual terminal software
b. Application layer     ii. Semantics of the information transmitted 
c. Presentation layer     iii. Flow control
d. Transport layer     iv. Manage dialogue control 
Codes :
  a b c d
 (1) iv i ii iii
 (2) i iv ii iii
 (3) iv i iii ii
 (4) iv ii i iii


30. Which of the following protocols is used by email server to maintain a central repository
that can be accessed from any machine ?
 (1) POP3 
 (2) IMAP
 (3) SMTP 
 (4) DMSP 


31. The number of strings of length 4 that are generated by the regular expression                 (0+ 1+ | 2+ 3+)*, where | is an alternation character and {+, *} are quantification characters, is :
 (1) 08 
(2) 09
 (3) 10 
(4) 12 

32. The content of the accumulator after the execution of the following 8085 assembly
language program, is 
 MVI A, 35H
 MOV B, A
 STC
 CMC
 RAR
 XRA B
 (1) 00H 
(2) 35H
 (3) EFH 
(4) 2FH 


33. In compiler optimization, operator strength reduction uses mathematical identities to
replace slow math operations with faster operations. Which of the following code
replacements is an illustration of operator strength reduction ?
 (1) Replace P + P by 2 * P or Replace 3 + 4 by 7.
 (2) Replace P * 32 by P < < 5
 (3) Replace P * 0 by 0 
 (4) Replace (P < <4) – P by P * 15 


34. Which of the following are the principles tasks of the linker ?
 I. Resolve external references among separately compiled program units.
 II. Translate assembly language to machine code.
 III. Relocate code and data relative to the beginning of the program.
 IV. Enforce access-control restrictions on system libraries. 
 (1) I and II
 (2) I and III
 (3) II and III 
(4) I and IV 

35. Which of the following is FALSE ?
 (1) The grammar S→aS|aSbS|∈, where S is the only non-terminal symbol, and ∈ is the
null string, is ambiguous.  
 (2) An unambiguous grammar has same left most and right most derivation.
 (3) An ambiguous grammar can never be LR(k) for any k.
 (4) Recursive descent parser is a top-down parser.

36. Consider a system with seven processes A through G and six resources R through W.
 Resource ownership is as follows :
 process A holds R and wants T
 process B holds nothing but wants T
 process C holds nothing but wants S
 process D holds U and wants S & T
 process E holds T and wants V
 process F holds W and wants S
 process G holds V and wants U
 Is the system deadlocked ? If yes, ______ processes are deadlocked.
 (1) No
 (2) Yes, A, B, C
 (3) Yes, D, E, G
 (4) Yes, A, B, F 

37. Suppose that the virtual Address space has eight pages and physical memory with four
page frames. If LRU page replacement algorithm is used, _____ number of page faults
occur with the reference string.
 0 2 1 3 5 4 6 3 7 4 7 3 3 5 5 3 1 1 1 7 2 3 4 1
 (1) 11
 (2) 12
 (3) 10 
(4) 9 

38. Consider a system having ‘m’ resources of the same type. These resources are shared by three processes P1, P2 and P3 which have peak demands of 2, 5 and 7 resources
respectively. For what value of ‘m’ deadlock will not occur ?
 (1) 70 
(2) 14
 (3) 13
 (4) 7

39. Five jobs A, B, C, D and E are waiting in Ready Queue. Their expected runtimes are 9, 6,
3, 5 and x respectively. All jobs entered in Ready queue at time zero. They must run in
_____ order to minimize average response time if 3 < x < 5.
 (1) B, A, D, E, C
 (2) C, E, D, B, A
 (3) E, D, C, B, A 
(4) C, B, A, E, D 


40. Consider three CPU intensive processes P1, P2, P3 which require 20, 10 and 30 units of
time, arrive at times 1, 3 and 7 respectively. Suppose operating system is implementing
Shortest Remaining Time first (preemptive scheduling) algorithm, then _____ context
switches are required (suppose context switch at the beginning of Ready queue and at the
end of Ready queue are not counted). 
 (1) 3
(2) 2
 (3) 4
(4) 5 


41. Which of the following is used to determine the specificity of requirements ?
 (1) n1 n2 
(2) n2 n1
 (3) n1 + n2
(4) n1 – n2
 Where n1 is the number of requirements for which all reviewers have identical interpretations, n2 is number of requirements in a specification.  

42. The major shortcoming of waterfall model is 
 (1) the difficulty in accommodating changes after requirement analysis. 
 (2) the difficult in accommodating changes after feasibility analysis.
 (3) the system testing.
 (4) the maintenance of system. 


43. The quick design of a software that is visible to end users leads to _____.
 (1) iterative model 
 (2) prototype model
 (3) spiral model 
 (4) waterfall model  

44. For a program of k variables, boundary value analysis yields ______ test cases. 
 (1) 4k – 1
  (2) 4k 
 (3) 4k + 1 
(4) 2k – 1  

45. The extent to which a software performs its intended functions without failures, is termed
as 
 (1) Robustness 
 (2) Correctness
 (3) Reliability 
 (4) Accuracy 


46. An attacker sits between the sender and receiver and captures the information and
retransmits to the receiver after some time without altering the information. This attack is
called as _____.
 (1) Denial of service attack 
 (2) Masquarade attack 
 (3) Simple attack 
 (4) Complex attack 

47. _______ is subject oriented, integrated, time variant, nonvolatile collection of data in
support of management decisions. 
 (1) Data mining  
 (2) Web mining 
 (3) Data warehouse  
 (4) Database Management System  


48. In Data mining, classification rules are extracted from _______.
 (1) Data
 (2) Information
 (3) Decision Tree 
(4) Database 

49. Discovery of cross sales opportunities is called as _____.
 (1) Association  
 (2) Visualization
 (3) Correlation 
 (4) Segmentation  

50. In Data mining, ______ is a method of incremental conceptual clustering.
 (1) STRING 
 (2) COBWEB
 (3) CORBA 
 (4) OLAD

Featured posts

Happy Independence Day August 15th

 Here's a message for India's Independence Day (August 15th): "शुभ स्वतंत्रता दिवस! आजादी की 79वीं वर्षगांठ पर, आइए हम अपने देश...

Popular posts