Explore topic-wise InterviewSolutions in Current Affairs.

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

1.

Write the syntax for if – else ladder.

Answer»

The syntax of if – else ladder:

if(expression 1)

{

Statement

}

else

If(expression 2)

{

Statement

}

else

if(expression 3)

{

Statement

}

else

{

Statement

}

2.

Syntax of the conditional operator is …..(a) expression 1? expression 2: expression 3(b) expression 1: expression 2(c) expression 1! expression 2: expression 3(d) expression 1: expression 2: expression 3

Answer»

(a) expression 1? expression 2: expression 3

3.

What is nested if? Mention it’s types

Answer»

An if statement contains another if statement is called nested if.

The nested can have, one of the following three forms.

1. If nested inside if part

2. If nested inside else part

3. If nested inside both if part and else part

4.

The empty statement is otherwise called as .......(a) Control statement(b) Zero statement(c) Null statement(d) Block statement

Answer»

(c) Null statement

5.

Identify the odd one from the keywords of jump statements:(a) break(b) switch(c) goto (d) continue

Answer»

keywords of jump statements is break

6.

What are the important things to know about switch statement?

Answer»

There are some important things to know about switch statement.

They are 

1. A switch statement can only work for quality of comparisons.

2. No two case labels in the same switch can have identical values.

3. If character constants are used in the switch statement, they are automatically converted to their equivalent ASCII codes.

4. The switch statement is more efficient choice than if in a situation that supports the nature of the switch operation.

7.

Write the syntax of nested switch statement.

Answer»

The syntax of the nested switch statement is; 

switch (expression)

{

case constant 1:

statement(s);

break;

switch (expression)

{

case constant 1:

statement(s);

break;

case constant 2:

statement(s);

break;

.

.

.

default:

statement(s);

}

case constant 2:

statement(s);

break;

.

.

.

default:

statement(s);

}

8.

Write the syntax and purpose of switch statement.

Answer»

The switch statement is a multi – way branch statement. It provides an easy way to dispatch execution to different parts of code based on the value of the expression. The switch statement replaces multiple if – else sequence.

The syntax of the switch statement is;

switch(expression

{

case constant 1:

statement(s);

braek;

case constant 2:

statement(s);

braek;

.

.

.

default:

statement(s);

}

9.

What is if statement? Write it’s syntax.

Answer»

The if statement evaluates a condition, if the condition is true then a true – block (a statement or set of statements) is executed, otherwise the true – block is skipped.

The general syntax of the if statement is:

if (expression)

true – block;

statement – x;

10.

Write a program to find sum of the seriesS = 1 + x + x2 + …….. + xn

Answer»

# include

using namespace std;

# include int main()

{

int x, n;

float sum = 0;

cout <<“Enter the value for x:”; cin>>x;

cout <<“Enter the number of terms”; cin>>n;

for (int i = 0; i<=n; i++)

sum = Sum + Pow(x,i);

cout << “Sum= ” << Sum << endl;

cin.get( );

return 0;

}

11.

Write a short program to print following series:(a) 1 4 7 10 …… 40

Answer»

# include

using namespace std;

int main ()

{

cout << “\n PRINT SERIES” ;

for (int i = 1; i< 40; i = i + 3)

cout << i << “1+”;

cin.get();

return ();

}

12.

Write programs to find the sum of the following series:(a)  X - \(\frac{x^2}{2!}\) + \(\frac{x^3}{3!}\) + \(\frac{x^4}{4!}\) + \(\frac{x^5}{5!}\) + \(\frac{x^6}{6!}\)(b) X + \(\frac{x^2}{2}\) + \(\frac{x^3}{3}\) + ..... + \(\frac{x^n}{n}\)

Answer»

(a) # include <iostream>

using namespace std;

# include <math.h>

# factorial function

long int fact (int n)

{

long int f = 1;

for (int i = 1; i<n;i++)

f* = i;

return f;

}

// main function

int main()

{

int x,y = 1;

float sum = 0;

cout <<"Enter the value for x:";

cin>>x;

for(int i = 1; i<=6; i++)

{

sum = sum + y*((pow(x,1))/fact(i));

y* = -1;

}

cout <<"Sum = "<<Sun<<end1;

cin.get();

return();

}

(b) # include

using namespace std;

# include int main()

{

int M, L;

float sum = 0;

cout > M;

cout << “Enter the number of terms”; cin>>M;

cout << “Enter the number of terms”; cin>>L;

for (int i = 1; i<=m; i++)

sum = Sum + Pow(m,i)/i;

cout <<“Sum= ” << Sum <<end1;

cin.get();

return 0;

}

13.

…….. is used to transfer the control from one place to another place without any condition in a program.(a) Break statement(b) Continue statement(c) go to statement(d) All the above

Answer»

(c) go to statement

14.

Write a program to find the LCM and GCD of two numbers.

Answer»

#include<iostream>

using namespace std;

int main()

{

int a1,b1 1cm,gcd = 1,p;

cout<<"/n Enter 1 st no:";

cin>>a1;

cout<<"/n Enter 2 nd no:";

cin>>b1;

p = a1*b1;

for(int i = a1; i<= p; i++)

if(i%a1 == 0)&&(i%b1 == 0)

{

1 cm = i;

break;

}

cout<<"L.C.M = "<<1cm<<end1;

gcd=p/LCM;

cout<<"G.C.D="<<gcd;

cin.get();

return 0;

}

15.

Explain the different levels of data abstraction in DBMS?

Answer»

Levels of Database Abstraction – 

(1) Physical Level (Lowest Level) – It describes how the data is actually stored in the storage medium.

(2) Logical Level (Next Higher Level) – It describes what data are stored in the database.

(3) View Level (Highest level) – It is closest to the users. It is concerned with the way in which the individual users view the data.

16.

Every loop has …….. elements that are used for different purposes.(a) 3(b) 4(c) 5(d) 2

Answer»

Every loop has 4 elements that are used for different purposes.

17.

What are loop elements?

Answer»

Every loop has four elements that are used for different purposes.

These elements are

1. Initialization expression

2. Test expression

3. Update expression

4. The body of the loop

18.

If y = sin x + cos x then find d2y/dx2

Answer»

y = sin x + cos x 

differentiating w.r.t. x,

dy/dx = (d sin x/dx) + (d cos x/dx)

dy/dx = cos x - sin x

Again differentiating w.r.t x,

d2y/dx2 = (d cos x/dx) - (d sin x/dx)

d2y/dx2 = - sin x - cos x

d2y/dx2 = -(sin x + cos x)

19.

Solve : (x2 + y2)dy/dx = 2xy

Answer»

(x2 + y2)dy/dx = 2xy

dy/dx = 2xy/(x2 + y2

dy/dx = (x2 + y2)/2xy ...(i)

Let x = vy 

Here, differentiating w.r.t. y,

dx/dy = v.(dy/dx) + y(dv/dy)

dx/dy = (v + y).(dy/dx)

Here, from eq. (i),

v + y(dv/dx) = (v2y2 + y2)/2vy2

v + y(dv/dy) = y2(v2 + 1)/y22v

v + y(dv/dy) = (v2 + 1)/2v

y(dv/dy) = ((v2 + 1)/2v) - (v/1)

y(dv/dy) = (v2 + 1 - 2v2)/2v

y(dv/dy) = (-v2 + 1)/2v

y(dv/dy) = (1 - v2)/2v

2v/(1 - v2) dv = dy/y

Integrating both sides

∫2v(v2 - 1) dv = - ∫dy/y

log|v2 - 1| = - log y + log c

log|v2 - 1|y = log c

v2y - y = c

(x2/y2) x (y - y) = c

(x2/y) - y = c

(x2 - y2)/y = c

x2 - y2 = cy

20.

What are nuclear pores ? State their function.

Answer»

Minute pores present in the nuclear envelope; provide passage for movement of RNA and proteins between nucleus and cytoplasm.

21.

How did the men and women of Kangad And themselves in opposite camps ?

Answer»

The forest of Kangad had already become degraded. In that year the Forest Department decided to fell it. It was particularly women of Kangad rather than men who had to walk long distances for fuel, fodder and water.

So they were determined to save the last patch of trees. The men of Kangad were offered work by the Forest Department to fell the trees. As a result, there; was a conflict between the village men and women.

22.

Forests are the foundation of the whole economy of the hill villages. Explain.

Answer»

Green leaves and grass provide fodder for the animals. The dung of these animals is used as fertilizer for the croplands. Dry twigs and branches are the only source of domestic cooking fuel. The forests also provide large supplies of fruits, edible nuts, fibres and herbs for local consumption. Thus they are the foundation of the whole economy of the hill villages.

23.

The hill side people of UP opposed …(A) the development in their area.(B) the plantation of new crops like potatoes.(C) the commercial cutting of trees in their area.(D) expansion of railway network in their area.

Answer»

Correct option is (C) the commercial cutting of trees in their area.

24.

What were the reasons for launching a Satyagraha by the villagers of Tehri-Gadhwal area?

Answer»

Oppressive forest laws compelled the people of Tehri-Gadhwal launch a non-cooperation movement called Satyagraha – a form of peaceful resistance to obtain justice. For many years the  forests of Tehri-Gadhwal were being degraded and large areas of rich forest resources were getting destroyed. There was clearly a contradiction between the village people’s basic needs, and the requirements of the state to earn money.

25.

Where did ‘Satyagraha Movement’ originate from? Why?

Answer»

Large areas of rich forests were getting destroyed, there was clearly a contradiction between the village people’s basic needs and the requirements of the state to earn money. Therefore, in 1930, the people of Tehri-Gadhwal began a non-cooperation movement called ‘Satyagraha’ – a form of peaceful resistance to obtain justice in opposition to the oppressive forest laws.

26.

How are forests useful to hill side people ?

Answer»

The forests are the foundation of the whole economy of the hill villages. Green leaves and grass provide fodder for the animals. Their dung is used as fertilizer for the croplands. Dry twigs and branches are the only source of domestic cooking fuel. The forests also provide large supplies of fruits, edible nuts, fibres and herbs for local consumption.

27.

The tree lovers came forward to save forests means …(A) The tree lovers planned to save forests.(B) The tree lovers began a movement to save forests.(C) The tree lovers marched to save forests.(D) The tree lovers went to the forests and saved them.

Answer»

Correct option is (C) The tree lovers marched to save forests.

28.

Europeans didn’t want large forests because they wanted …(A) to remove forests.(B) industrial development.(C) commercial development.(D) to grow food items they liked the most.

Answer»

Correct option is (D) to grow food items they liked the most.

29.

Write a note on the strength of women as expressed In this text.

Answer»

History says that women have often overcome men when they are determined. They can fight more courageously. Once. they decide to do something, they never look back or retreat.They are always ready to face the worst, whatever be the obstacles In their way.

30.

Why should we say Bravo’ to Mahila Mangal Dat?

Answer»

We should say Bravo to MaNia Mangal :Dal because they took the initiative to manage and protect local forests. They were determined to save the last patch of trees. They also decided to regenerate degraded forests.

31.

How are the large areas of rich forest resources getting destroyed ?

Answer»

The forests of Tehri-Gadhwal were exploited to supply timber for the expanding railway network in the plains. Europeans in Mussoorie wanted cultivation of new food crops like potatoes, leading to large-scale clearing of oak forests.

32.

Why did the women take lead in forest saving movement?

Answer»

The forest of Kangad had already become degraded. In that year, however, the Forest Department decided to fell It. Therefore. the village women. who had to walk long distances for fuel, fodder and water. were determined to save the last patch of trees.

33.

This grass roots struggle against commercial cutting of the Himalayan forests of Uttar Pradesh has forced the state government to rethink its 5 strategy. Commercial felling, in fact, is now banned above a height of 1000 m. But there are large areas of degraded forests, and the Forest Department has failed to reafforest them. As a result, there is now a severe scarcity of animal fodder and domestic fuel, and acute water shortage.(1) What is the impact of the grass root struggle against the commercial cutting of the Himalayan forests of Uttar Pradesh?(2) What are the effects of degraded forests ?

Answer»

(1) The grass root struggle against the commercial cutting of the Himalayan forests of Uttar Pradesh has enforced the state government to rethink its strategy. Commercial felling is now banned above a height of 1000 m.

(2) Because of the degraded forests, there is scarcity of animal fodder and domestic fuel and acute water shortage.

34.

How is Kangad, an excellent example of managing their own forestry?

Answer»

The forest of Kangad had already become degraded. In that year, the forest department decided to fell it. The village women, who had to walk long distances for fuel, fodder and water, were determined to save the last patch of trees. The village women confronted the village men who were offered work by the Forest Department to fell the trees. Besides, the Mahila Mangal Dal decided to regenerate the degraded forests. Contributions were raised to employ a forest guard.

35.

What is ‘Chipko Movement’ ?

Answer»

Out of Satyagraha movement, originated in Tehri-Gadhwal, has grown the post independence (‘Chipko movement’. In this movement, village ) people actually put their bodies around trees to stop them from being felled. Men, women and children embrace trees not to allow others to do any harm to the trees as they are emotionally attached to them.

36.

How did MMD help the Forest Department in reforestation?

Answer»

In 1980, the Mahila Mangal Dal agreed to help the Forest Department in tree planting. They dug 15,000 pits, but unfortunately they found / that the Department was only interested in planting / poplars – foreign commercial trees. The women refused to allow planting of poplars, a foreign commercial tree, instead they forced the Forest Department to plant different kinds of indegenous fodder trees that would benefit them directly.

37.

What is variation ?

Answer»

Variation: Difference in structure or function, which is shown in individuals of the same species.

38.

What are the basic feature of molluscs?

Answer»

In Molluscs, the body is bilaterally symmetrical, Coelomic cavity is reduced and little segmented Body differentiation starts. 

Eg: Octopus, Pila, Unio, etc.

39.

What is the body features of protochordate?

Answer»

Protochordate is bilaterally symmetrical, triploblastic coelomate animals. Notochord may not present at all stages in their life. 

Eg: Balanoglossus, Amphioxus.

40.

Define biodiversity.

Answer»

Biodiversity: Variety of life forms found in a particular region.

41.

What the main feature of Vertebrates?

Answer»

Vertebrates have a true vertebral column and internal skeleton.

42.

What is diversity?

Answer»

Diversity: Variety of people or things that are very different from each other.

43.

What is nomenclature?

Answer»

The naming of organisms with distinctive scientific names is called nomenclature.

44.

Who introduced the binomial nomenclature?

Answer»

Binomial nomenclature introduced by Carl Linneaus.

45.

Which of the following is not taxon but a category?(A) Division (B) Angiosperms (C) Polypetalae (D) Hibiscus

Answer»

Correct option: (A) Division

46.

Who gave the nomenclature according to which humans are called Homo sapiens?(A) Darwin (B) Mendel (C) Aristotle (D) Linnaus

Answer»

Correct option: (D) Linnaus

47.

‘Taxa’ differs from ‘taxon’ due to(A) This being a higher taxonomic category than taxon. (B) This being lower taxonomic category than taxon. (C) This being the plural of taxon. (D) This being the singular of taxon.

Answer»

Correct option: (C) This being the plural of taxon.

48.

Identify the correct sequence of taxa in Linnaean hierarchy.(A) Species, genus, family, order, class (B) Class, family, species, genus, order (C) Phylum, class, family, species, order (D) Species, genus, phylum, family, class

Answer»

Correct option: (A) Species, genus, family, order, class

49.

A farmer observed some broad-leaved weeds in a wheat crop farm. Which plant hormone would you suggest remove them ?

Answer»

2.4-D Plant hormone

50.

Why do lateral buds start developing into branches when apical bud is removed ?

Answer»

Due to inhibit activity of Auxin lateral growth starts.