Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

4701.

In the metallurgical extraction of zince from `ZnO` the reducting agent used isA. Carbon monoxideB. Sulphur dioxideC. Carbon dioxideD. Nitric oxide

Answer» Correct Answer - A
`ZnO + CO rarr CO_(2) + Zn`
4702.

In the case of alkali metals, the covalent character decreases in the order:(a) MF > MCl > MBr > MI (b) MF > MCl > MI > MBr(c) MI > MBr > MCl > MF (d) MCl > MI > MBr > MF

Answer» (c) MI > MBr > MCl > MF. As the size of the anion decreases covalent character also decreases.
4703.

Bauxide ore is made up of `Al_(2)O_(3) + SiO_(2) + TiO_(2) + Fe_(2) O_(3)`. This ore is treated with conc. `NaOH` solution at `500 K` and `35` bar pressure for a few hours and filtered hot. In the filtrate, the species present areA. `NaAl(OH)_(4)` onlyB. `Na_(2)Ti(OH)_(6)` onlyC. `NaAl(OH)_(4)` and `Na_(2)SiO_(3)` bothD. `Na_(2)SiO_(3)` only

Answer» Correct Answer - C
`Al_(2)O_(3)` and `SiO_(2)` reacts with conc. `NaOH` to give `NaAl(OH)_(4)` and `Na_(2)SiO_(3)` respectively.
4704.

During the process of electrolyic refining of copper some metals present as impurity settle as anode mud. These areA. `Fe`and `Ni`B. `Ag`and `Au`C. `Sn`and `Ag`D. `Pb`and `Zn`

Answer» Correct Answer - D
The impurities of more electropositive metals remain as ions in the bath whereas impurities of less electropositive metals `(Ag`and `Au)` remain unionized and settle down under the anode as anode mud or anode sludge.
4705.

During the process of electrolyic refining of copper some metals present as impurity settle as anode mud. These areA. Fe and NiB. Ag and AuC. Pb and ZnD. Se and Ag

Answer» Correct Answer - B
During electrolysis , noble metals like Ag, Au and Pt are not affected and separate as anode mud from impure anode .
4706.

Glycoproteins are marked for destruction by removal of their (A) Oligosaccharide prosthetic group (B) Sialic acid residues (C) Mannose residues (D) N-terminal amino acids 

Answer»

(D) N-terminal amino acids

4707.

What was the important strategy used by the company to annex the princely states into the British empire.

Answer»

The Doctrine of Lapse.

4708.

Which is the Oldest Hydro Electric Project in Himachal Pradesh?1. Banner (Kangra)2. Shanan (Joginder Nagar)3. Bhakhra (Bilaspur)4. Thirot (Lahaul)

Answer» Correct Answer - Option 2 : Shanan (Joginder Nagar)

The correct answer is Shanan (Joginder Nagar).

  • Shanan Project is the project Oldest Hydro Electric Project in Himachal Pradesh.
  • It is surrounded by the Himalayan ranges.
  • It is situated in Himachal Pradesh at an approximate longitude of 76º51′ East and a latitude of  32º2′ North.
  • It takes advantage of two small rivulets at an altitude of about 6000 ft.
  • Shanan Project came into being based on an agreement made on 3rd March 1925 between Secretary of State for India in Council of the one part and Lieutenant Raja Joginder Sen Bahadur, Raja of Mandi of the part.
4709.

What is the name of the reservoir at Paithan?1. Nathsagar2. Yashwantrao3. Godasagar4. Confluence

Answer» Correct Answer - Option 1 : Nathsagar

The correct answer is Nathsagar.

  • It is approximately 9,998 m long and 41.30 m high, forming a reservoir named Nath Sagar Jalashay that has a total storage capacity of 2909 MCM (million cubic meters).
  • It is estimated that approximately 30% of the dam is filled with silt, reducing its life as well as storage capacity.
  • Survey findings show that from 2003 to 2012, there was a loss of 31% (that is 8.08 thousand million cubic (TMC) feet) in dead storage and 14% (that is 10.73 TMC) in live storage capacity of the dam due to silt. 
  • Jayakwadi project is a multipurpose project.
  • The main purpose was to irrigate land for agriculture in the drought-prone Marathwada region of Maharashtra state.

Some useful information about Maharashtra:

  • Formed on - 1 May 1960
  • Districts - 36
  • National Parks of Maharashtra -Sanjay Gandhi (Borivilli) National Park, Chandoli National Park, Gugamal National Park.
  • Folk Dance of Maharashtra - Koli Dance, Lavani Dance, Povadas Dance, Tamasha, etc.
  • The highest point of Maharashtra - Kalsubai
4710.

When was India first invaded by the Mahmud of Ghazni?1. 1192 AD2. 1001 AD3. 1003 AD4. 1112 AD

Answer» Correct Answer - Option 2 : 1001 AD

The correct answer is 1001 AD.

  • India was first invaded by the Mahmud of Ghazni in 1001 AD.
  • In all Mahmud Ghazni invaded India 17 times during AD 1001-1026.
  • Mahmud Ghazni was Son of Sabuktigin, the founder of the Ghazni dynasty & Turkish slave commander.
  • Mahmud himself claimed descent from the Iranian legendary king Afrasiyab.
  • He was the first Muslim ruler to penetrate deep into India.
  • He led 17 expeditions in all of India from A.D. 1001 to 1027. The initial raids were directed against the Hindusahi rulers who at the time held Peshawar and Punjab.
4711.

Be and Al have following resemblance due to diagonal relationship : (a) have nearly equal electronegativity (b) form amphoteric oxides (c) have same charge / radius ratio (d) both form dimeric halides 

Answer»

(a) have nearly equal electronegativity 

(b) form amphoteric oxides 

(c) have same charge / radius ratio 

(d) both form dimeric halides

4712.

Kundanlal Saigal sang the famous song "Babul mora" in the movie "Street Singer". Who composed the lyrics of this song (Hint: also the playwright of Indra Sabha)?

Answer»

Nawab Wajid Ali Shah of Avadh

4713.

Which one of the following statements is NOT correct? (a) The National Song Vande Mataram was composed by Bankimchandra Chatterji originally in Bengali (b) The National Calendar of India based on Saka era has its 1 st Chaitra on 22nd March normally and 21st March in a leap year (c) The design of the National Flag of India was adopted by the Constituent Assembly on 22nd July, 1947 (d) The song ‘Jana-gana-mana’, composed originally in Bengali by Rabindranath Tagore was adopted in its Hindi version by the Constituent Assembly on 24th January, 1950 as the National Anthem of India

Answer»

(a) National Song was composed originally in Sanskrit (not in Bengali).

4714.

Textures wrap around an object, like gift wrapping, or stick to a flat surface.(a) Reflection Maps (b) Displacement Maps (c) Bump Maps

Answer»

Correct option: (a) Reflection Maps

4715.

Write the process of wrapping a Christmas gift in a paragraph in passive form, with the help of the pictures given below.

Answer»

1. The gift must be placed in a rectangular box. 

2. The required paper must be measured. The gift paper must be placed on the box. It must be wrapped loose end up and over and a cut must be made. 

3. The gift paper must be placed face down and centred on the box. The first edge must be brought up and taped in place on to box. Then it must be brought other side up and taped in place. 

4. The sides should be folded in against the edges of the box. The diagonal flaps you have created must be creased. 

5. The top edge should be folded down. Then bottom edge should be folded up and taped. 

6. A gift tag must be added with a bow and ribbon to really class up your Christmas gift and impress recipients of your gift.

4716.

Germany and Italy were crushed by the First World War. But Fascism and Nazism played a key role in making them the important powers in the Second World War. Examine this. Or How did the growth of Fascism and Nazism become a cause for the Second World War and a threat to world peace?

Answer»

The First World War ruined Germany and Italy economically. Unemployment and poverty threw up people’s protests. The government of both the countries had to face popular unrest. The conditions of the victorious and the defeated nations in the First World War were miserable. Many European governments lost their power. Unemployment and poverty occurred. Fascism in Italy and Nazism in Germany rose to power, capitalizing on the political and economic chaos prevailing then. Economic destruction, rivalry against the victors and aimlessness facilitated these forces to grab power.

Mussolini and Fascism: 

Mussolini led Fascist reign in Italy. He resorted to despotic measures in the political and economic fields of Italy after coming to power. Violence and ferocity were the strategies of Fascism. Socialists, leaders of peasants and workers were considered as enemies of the state and executed them.

The aim of Mussolini was to restore ancient Roman Empire. Using the military force ‘Black Shirts’, Mussolini suppressed the opponents. His aggressive foreign policies led him to conquer Ethiopia and Albania. Italy’s run for dictatorship led to the Second World War.

Hitler and Nazism: 

Nazism is the German version of Fascism. The Germans felt humiliated when the Treaty of Versailles was imposed on them after the First World War. It was at this time that Hitler and his Nazi party gained popular support. Hitler promised to save Germany from all humiliations. He adopted many measures to consolidate his power.

Socialists, communists, Jews and democrats were executed. Hitler held the Jews responsible for Germany’s ruin and humiliation. The Jews were massacred enmasse in specially designed concentration camps. A military force known as ‘Brown Shirts’ and a secret police troop ‘Gestapo’ were in charge of assaulting and massacring Jews.

Banned all political parties except the Nazi party. Trade unions were also banned. Military service was made compulsory. Taking advantage of the feeling of revenge among the Germans, Hitler adopted an aggressive foreign policy. He attacked Austria, Czechoslovakia and Poland. Germany formed the military alliance with Italy and Japan. This led to the outbreak of the Second World War.

4717.

In the following sentences the verbs have two objects namely Direct and Indirect objects. Change each of the following sentences into two passives using direct object as the subject in one and indirect in the other.1. John gave a bar of chocolate to Jill. (a): Jill was given …………(b): A bar of chocolate was given ………2. Pragathi lent a pencil to Keerthana. (a): …………(b): …………3. Sudha told the truth to her friend. (a): …………(b): …………4. They offered the job to Venkat. (a): …………(b): …………5. The boss showed the new computer to Kaviya.(a): …………(b): …………

Answer»

1. (a) a bar of chocolate by John 

(b) by John to Jill

2. (a) Keerthana was lent a pencil by Pragathi 

(b) A pencil was lent by Pragathi to Keerthana

4. (a) Venkat was offered the job by them 

(b) The job was offered by them to Venkat

5. (a) Kaviya was shown the new computer by the boss

(b) The new computer was shown by the boss to Kaviya

4718.

Here is a recipe to make chocolate cake in a pressure cooker. Rewrite the instructions in passive voice. The first one has been done for you.(i) First sift the flour, cocoa powder and baking powder in a mixing bowl.(ii) Add butter, sugar, salt, water and vanilla and beat the ingredients using a whisk.(iii) Add the eggs and beat the batter until it is smooth.(iv) Transfer the batter into the baking tin.(v) Heat the pressure cooker, covered with the lid but without the pressure, for 3-4 minutes on high heat. Then place the cake tin in the empty cooker (Do not add water in the cooker).(vi) Close the lid (without the pressure), lower the flame and let it cook for about 30 minutes.

Answer»

(i) The flour, cocoa powder and baking powder are first sifted in a mixing bowl.

(ii) Butter, sugar, salt, water and vannila should be added and the ingredients must be beaten using a whisk. .

(iii) The eggs must be added and the batter must be beaten until it is smooth.

(iv) The batter must be transferred into the baking tin.

(v) The pressure cooker must be heated. It should be covered with the lid but without the pressure. It must be left for 3-4 minutes on high heat. The cake tin must be kept in the empty cooker. (Let not water be added in the cooker)

(vi) Let the lid be closed without the pressure. The flame must be lowered and it must be let to cook for about thirty minutes.

4719.

Vivaan said to his mother, “Can you, please, buy me a hot-chocolate?”

Answer»

Vivaan requested his mother to buy him a hotchocolate.

4720.

Law of embryonic development was proposed by(A) Mendel (B) Morgan (C) Darwin (D) Von Baer

Answer»

Correct option is: (D) Von Baer

4721.

Probiotics are-(a) A new kind of food allergen(b) Safe antibiotics(c) Live microbial food supplement(d) Cancer inducing microbes

Answer»

Answer (c) Live microbial food supplement

4722.

The toxic protein secreted by Bacillus thuringiensis is-(a) Tubulin(b) Insulin(c) Cry protein(d) All of these

Answer»

Answer (c) Cry protein

4723.

Which of the following is a retro virus?(a) Human Immuno Deficiency virus(b) Hepatitis virus(c) Micro virus influenzill(d) All of these

Answer»

Answer (a) Human Immuno Deficiency virus

4724.

Which of the following disease is generated b y allergens?(a) Skin cancer(b) Hay fever(c) Enteric fever(d) Goitre

Answer»

Answer (b) Hay fever

4725.

Photochemical smog consists of-(a) SO2, PAN and Smoke(b) Ozone, PAN and NO2(c) Ozone, SO2 and Hydrocarbon(d) SO2, CO2, and Hydrocarbon

Answer»

Answer (c) Ozone, SO2 and Hydrocarbon

4726.

Snow blindness in human being is caused by-(a) Absorption of UV. β radiation(b) Absorption of infra radiation(c) Absorption of cosmic radiation(d) Erosion of cornea by snow

Answer»

Answer (c) Absorption of cosmic radiation

4727.

The total number of Bio diversity hot spots in the world is-(a) 25(b) 9(c) 34(d) None of these

Answer»

Answer (c) 34

4728.

The thickness of Ozone in a column of air from the ground to the top of atmosphere is measured in terms of-(a) Dobson unit(b) Arab unit(c) Pascal unit(d) None of these

Answer»

Answer (a) Dobson unit

4729.

Observe the experimental setup and answer the following questions. (1) Which process do we know with the help of this experiment ? (2) How does this process differ from respiration ? (3) What are the similarities between this process and respiration ? (4) How do you detect the presence of CO2?

Answer»

(1) Combustion. 

(2) Respiration occurs in controlled way in the presence of water whereas combustion takes place in the absence of water which an a uncontrolled process. 

(3) In both processes energy is liberated. 

(4) CO2 turns lime water milky.

4730.

Observe the experimental setup and answer the given questions.(A) What is the aim of the above experiment ? (B) Why boiled and cooled glucose is covered with paraffin ? (C) Why does we dip the bulb of thermometer in glucose water ? (D) What is the indicator used in this experiment ? What change you notice in glucose solution ?

Answer»

(A)To prove CO2 and heat are liberated during anaerobic respiration by yeast cell. 

(B) To prevent supply of air, boiled and cooled glucose is covered with paraffin. 

(C) To know the rise in temperature of glucose solution when heated, the bulb of the thermometer is dipped in the glucose water. 

(D) Diazine green. When the oxygen availability is less the Diazine Green changes to Pink colour.

4731.

Imagine that you organize a seminar on Technology and English language Teaching in your school. In order to ensure the presence of the distinguished scholars invited, you draft a detailed email about the seminar. Draft the email to be sent to the visiting dignitaries.

Answer»

To: [email protected] 

Subject: Seminar on Technology and English language Teaching

Dear Prof. Job 

Our school is organizing a seminar on Technology and English language Teaching. As a person renowned in this realm, we would very much like to have your presence during the Seminar. The seminar will begin at 9.00 in the morning and it will end by 1.00 p.m. Please make it a point to come. Your expertise and experience will be of great use to our students as well as staff. We look forward to meeting you.

Sincerely, 

Simi Hyder 

Simi Hyder 

Secretary, Students’ Welfare Association 

AlAzharHSS 

Mala 

PIN – 679342 

Mobile: xxxxxxxxx

Email – [email protected] Com

4732.

Islam Religion originated in Arabia. Based on this statement, prepare a seminar paper on the origin, faith, community and politics of Islam. Areas to be considered: The tribal living of the Arabs, Prophet Mohammed, faith and worship, the community of believers, political system.

Answer»

Islam Religion originated in Arabia. It was started by Prophet Mohammed in the 7 century. By language and culture, Prophet Mohammed was an Arab. His family profession was trade. The Arabs lived in different tribal groups at that time. Each tribe had a tribal head. The heads were chosen on the basis of courage, intelligence, generosity and family relations.

Mohammed was born and brought up in the Quraysh tribe. There was a temple called Kaaba in Mecca. In that, there was a Black Stone and many other idols. The Kaaba temple was in the control of the Quraysh tribe. Even the tribes outside Mecca considered Kaaba a holy temple and placed their own idols here. Mecca is situated on a trade route between Yemen and Syria.

This increased the importance of Mecca. The temple in Mecca was a holy place. Their violence was prohibited. All visitors were given protection. Therefore Mecca was known as a holy city. Mohammed, the founder of Islam, propagated belief in one God and membership in one community (Umma). It was from here that Islam originated.

In 612 AD Mohammed declared that he was the Prophet of God. He formulated a religion which was based on monotheism. He declared that he was asked by God to propagate the worship of only one God. The goal of Prophet Mohammed was establishing a community of believers. This community has to testify its. existence before God and also other religious communities.

The message of Prophet Mohammed attracted the people of Mecca. They had thought that they had lost the advantages, of religion and trade and they were waiting for a new identity. The people who accepted the principles enunciated by Prophet Mohammed were known as Muslims.

They were promised heaven on the Day of Judgment and part of the wealth of the community during their earthly life. Soon the Muslims faced opposition from the nobles of Mecca. The denial of their gods by the Muslims made them worried. They looked at the new religion as a threat to the dignity and progress of Mecca. So they tried to persecute the followers of Mohammed and to kill Mohammed himself.

In 622AD Mohammed and his followers fled Mecca to Medina. This incident is known as ‘Hijra’ and it was a turning point in the history of Islam. A new Muslim calendar was started in the year in which Mohammed reached Medina (622).

The survival of a religion depends on the survival of its followers. The community of the believers should be coordinated internally and it should be protected from external dangers. For such coordination and protection, some political institution like the nation or government is needed. These political institutions can be formed from three sources; a. from the past (traditional), b. borrowing from outside and c. make something new.

Mohammed became the ruler and religious head of Medina and he established a strong administration. With this Islam became stronger. In 630 AD he conquered Mecca. With this, Prophet Mohammed’s prestige spread everywhere as a ruler as well as a religious head. Since Islam started in the difficult circumstances of a desert land, Arabs gave a lot of importance to power and unity.

4733.

During a seminar session in the class, the presenter argued that equal amounts of both H2and N2 on heating at constant pressure will expand in the same rate. Another student objected this argument by saying that they will expand differently since their molecular masses are different. 1. Who is correct in your opinion? 2. Which law helped you to reach the answer? 3. State the law and give its mathematical expression.

Answer»

1. The argument of the presenter is correct. 

2. Charles’ law

3. Charles’ law states that pressure remaining constant, the volume of a fixed mass of a gas is directly proportional to its absolute temperature.

Mathematically, V ∝ T (at constant n and P) Or \(\frac{V}{T}\)= K, where K is the proportionality constant which depends on the pressure of the gas, its amount and the unit in which V is expressed.

4734.

Answer the question (i) and (ii) after going through the following program:#include<iostream.h>#include<string.h>class Retail{ char Category[20];char Item[20];int Qty;float Price;Retail ()  //Fuction 1{strcpy(Category,"Cereal");strcpy(Item,"Rice");Qty=100;Price=25;} public:void Show() //Function 2{ cout<<Category<<"-"<<Item<<":"<<Qty<<"@"<<Price<<endl;}};void main(){Retail R; //Statement 1R.Show(); //Statement 2}(i)  Will Statement 1 initialize all the data members for object R with the values given in the Function 1? (Yes OR No). Justify your answer suggesting the correction(s) to be made in the above code.(ii)  What shall be the possible output when the program gets executed? (Assuming, if required – the suggested correction(s) are made in the program)

Answer»

(i)  No. Since the default constructor Retail() is declared inside private section, it cannot initialize the objects declared outside the class. Correction needed are:

The constructor Retail() should be declared inside public section.

(ii) Cereal-Rice:[email protected]

4735.

Can I know whether NCERT books available for computer science in Python for academic year 2019-2020?

Answer»

You can download it from here

Computer Science with Python Class 12 NCERT Book

4736.

Define a class Clothing in C++ with the following descriptions: Private Members:Code of type stringTypeof type stringSizeof type integerMaterialof type stringPriceof type floatA function Calc_Price() which calculates and assign the values of GPrice as follows: For the value of Material as "COTTON":Type                  Price(Rs)TROUSER                1500SHIRT                      1200For Material other than "COTTON" the above mentioned Price gets reduced by 25%. Public Members:A constructor to assign initial values of Code, Type and Material with word "NOT ASSIGNED" and Price with 0. A function Enter() to input the values of the data members Code, Type, Size and Material and invoke the Calc_Price() function.A function Show() to display the content of all the data members for a Clothing.

Answer»

class Clothing

{

char Code[15];

char Type[15];

int Size;

char Meterial[15];

float Price;

void Cal_Price()

{

if(strcmp(Material,"COTTON")==0)

{

if(strcmp(Type,"TROUSER")==0)

Price=1500;

else if(strcmp(Type,"SHIRT")==0)

Price=1200;

}

else

{

if(strcmp(Type,"TROUSER")==0)

Price=1500-1500*0.25;

else if(strcmp(Type,"SHIRT")==0) Price=1200-1200*0.25;

}

}

public:

Clothing()

{

strcpy(Code,"NOT ASSIGNED");

strcpy(Type,"NOT ASSIGNED");

strcpy(Material,"NOT ASSIGNED");

Size=0; Price=0;

}

void Enter()

{

cout<"Enter code";

gets(Code);

cout<<"\nEnter type:";

gets(Type);

cout<<"\nEnter Size:";

cin>>Size;

cout<<"\nEnter Material";

gets(Material);

cout<<"\nEnter Price:";

cin>>Price;

Calc_Price();

}

void Show()

{

cout<<"\nCode:"<<Code<<end1;

cout<<"\nType:"<<Type<<end1;

cout<<"\nSize:"<<Size<<end1;

cout<<"\nMaterial:"<<Material<<end1;

cout<<"\nPrice:"<<Price<<end1;

}

4737.

Predict the output.int a; float b; a = 5; cout&lt;&lt; size of(a+b/2);

Answer»

Output is 4. Result will be the memory size of floating point number

4738.

Predict the output of the following C++ statements.int a = -5, b = 3, c = 4; C+ = a++ + –b;cout&lt;&lt;a&lt;&lt;b&lt;&lt;c;

Answer»

a = -4, b = 2 and c = 1

4739.

Predict the output. int a, b, c; a = 5; b = 2; c = a/b;cout&lt;&lt;c;

Answer»

Output is 2. Both operands are integers. So the result will be an integer

4740.

Define a class Tour C++ with the description given below: Private Members:TCode         of type stringNoofAdults     of type integerNoofKids       of type integerKilometres       of type integerTotalFare       of type floatPublic Members:• A constructor to assign initial values as follows:TCode with the word "NULL"NoofAdults as 0NoofKids as 0Kilometres as 0TotalFare as 0• A function AssignFare() which calculates and assign the value of the date member TotalFare as follows: For each AdultFare(Rs)For Kilometres500&gt;=1000300&lt;1000 &amp; &gt;=500200&lt;500For each Kid the above Fare will be 50% of the Fare mentioned in the above table.For example:If Distance is 850, NoofAdults=2 and NoofKids =3Then TotalFare should be calculated as NoofAdults*30 + NoofKids *150 i.e., 2*300+3*150=1050• A function EnterTour() to input the values of the data members TCode, Noofadults, NoofKids and Kilometres; and invoke the AssignFare() function• A Function ShowTour() which display the content of all the data members for a Tour.

Answer»

class Tour

{

char TCode[5];

int NoofAdults;

int NoofKids;

int Kilometres;

float TotalFare;

public:

Tour ()

{

strcpy(TCode,"NULL");

NoofAduts=0;

NoofKids =0;

Kilometres =0;

TotalFare=0;

}

void AssignFare()

{

int I,j;

 TotalFare=0;

for(i=0;i<NoofAdults;i++)

 {

if(Kilometeres>=1000)

TotalFare+=500;

else if(Kilometeres>=500)

TotalFare+=300;

else TotalFare+=200;

}

for(j=0;j=1000) TotalFare+=500/2;

else if(Kilometeres>=500) TotalFare+=300/2;

else TotalFare+=200/2;

}

 void EnterTour()

{

cout<<"Enter value of travel code:";

cin>>TCode;

cout<<"Enter No. of Adults:";

cin>>NoofAdults;

cout<<"Enter No. of Children:";

cin>> NoofKids;

cout<<"Enter Distance:";

cin>> Kilometeres;

AssignFare();
}

}

void ShowTour()

{

cout<<"Travel code:"<<TCode<<endl;

cout<<"No of Adults:"<<NoofAdults<<endl;

cout<<"No of Children:"<< NoofKids <<endl;

cout<<"Distance:"<< Kilometres <<endl;

cout<<"Total Fare:"<<TotalFare<<endl;

}

};

4741.

Predict the output of the following code. Justify. int k = 5; b = 0; b = k++ + ++k; cout&lt;&lt;b;

Answer»

Output is 12. In this statement first it take the value of k in 5 then increment it K++. So first operand for + is 5. Then it becomes 6. Then ++k makes it 7. This is the second operand. Hence the result is 12.

4742.

Consider the following float x = 25.56; cout&lt;&lt;(int)x; Here the data type of the variable is converted. What type of conversion is this? (a) type promotion (b) type casting (c) implicit conversion (d) None of these

Answer»

(b) type casting (explicit conversion);

4743.

From the following select not a character of C++ language a) A b) 9 c) \ d) @

Answer»

not a character of C++ language

4744.

Write C++ statement for the following, 1. The result obtained when 5 is divided by 2. 2. The remainder obtained when 5 is divided by 2.

Answer»

1. 5/2 

2. 5 % 2

4745.

Write the steps to perform an Insert query in database connectivity application.Table „student‟ values are rollno, name, age (1,‟AMIT‟,22)

Answer» INSERT INTO table(roll no, name, age)

VALUES (1, AMIT, 22);
4746.

Consider the following float x=25.56; cout&lt;&lt;(int)x; Here the data type of the variable is converted. What type of conversion is this? a) type promotion b) type” casting c) implicit conversion d) None of these

Answer»

b) type casting (explicit conversion)

4747.

Write C++ statement for the following. a) The result obtained when 5 is divided by 2. b) The. remainder obtained when 5 is divided by 2.

Answer»

a) 5/2  

b) 5%2

4748.

Specify the most appropriate data type for handling the following data. 1. Roll no. of a student. 2. Name of an employee. 3. Price of an article. 4. Marks of 12 subjects

Answer»

1. short Roll no; 

2. char name[20];

3. float price; 

4. short marks[12];

4749.

Identify the error in the following C++ statement and correct it.

Answer»

The maximum number that can store in short type is less than 32767. So to store 68000 we have to use long data type.

4750.

What is the role of ‘const’ modifier?

Answer»

This ‘const’ keyword is used to declare a constant. 

eg: const int bp=100; 

By this the variable bp is treated as constant and cannot be possible to change its value during execution.