Questions

Q:

C program to find whether a number is palindrome or not.

Answer

 #include<stdio.h>
int main(){
    int num,r,sum=0,temp;

    printf("Enter a number: ");
    scanf("%d",&num);

    temp=num;
    while(num){
         r=num%10;
         num=num/10;
         sum=sum*10+r;
    }
    if(temp==sum)
         printf("%d is a palindrome",temp);
    else
         printf("%d is not a palindrome",temp);

    return 0;
}

Sample output:
Enter a number: 131
131 is a palindrome

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2107
Q:

Explain the concept of the batched operating systems?

Answer

In batched operating system the users gives their jobs to the operator who sorts the programs according to their requirements and executes them. This is time consuming but makes the CPU busy all the time.

Report Error

View answer Workspace Report Error Discuss

1 2107
Q:

PR is a tangent to a circle with centre O and radius 4 cm at point Q. If ∠POR = 90°, OR = 5 cm and OP = 20/3 cm, then the length of PR is:

A) 16/3 cm B) 23/3 cm
C) 25/3 cm D) 3 cm
 
Answer & Explanation Answer: C) 25/3 cm

Explanation:
Report Error

View Answer Report Error Discuss

8 2107
Q:

The first Olympiad was held in Greece in the year

Answer

776 BC

Report Error

View answer Workspace Report Error Discuss

Subject: World History

2 2107
Q:

Groundwater is found underground in the zone of

A) Penetration B) Aeration
C) Saturation D) Both B & C
 
Answer & Explanation Answer: D) Both B & C

Explanation:

Groundwater is all the water that has penetrated the earth's surface and is found in one of two soil layers. The one nearest the surface is the "zone of aeration", where gaps between soil are filled with both air and water. Below this layer is the "zone of saturation", where the gaps are filled with water.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2107
Q:

How many Filmfare awards has Shahrukh Khan won?

A) 5 B) 10
C) 15 D) 20
 
Answer & Explanation Answer: C) 15

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: Bank Exams

0 2107
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.


Crude mineral oil comes out of the earth as a thick brown or black liquid with a strong smell. It is a complex mixture of many different substances, each with its own individual qualities. Most of them are combinations of hydrogen and carbon in varying proportions. Such hydrocarbons are also found in other forms such as bitumen, asphalt and natural gas. Mineral oil originates from the carcasses of tiny animals and from plants that live in the sea. Over million of years, these dead creatures form large deposits under sea­bed and ocean currents cover them with a blanket of sand and silt. As this material hardens, it becomes sedimentary rock and effectively shuts out the oxygen, thus preventing the complete decomposition of the marine deposits underneath. The layers of sedimentary rocks become thicker, and heavier. Their pressure produces heat, which transforms the tiny carcasses into crude oil in a process that is still going on today.


What is crude mineral oil?

A) Complex mixture of many different substances B) Simple mixture of natural gas
C) Plain white oil D)  It is bitumen
 
Answer & Explanation Answer: A) Complex mixture of many different substances

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2107
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.


Modern civilization is completely dependent on energy, which has therefore to be abundant and also economical. About 85% of the world's energy is supplied by oil, coal and natural gas while nuclear, hydro, wind and solar power and biomass supply the rest. Coal, nuclear and hydro are used primarily to generate electricity while natural gas is widely used for heating. Biomass is used both for heating and cooking. The wind and solar power is the future's hope as they are sustainable energy sources. Oil powers almost all machines that move and that makes oil uniquely versatile. Oil powered airplanes carry 500 people across the widest oceans at nearly the speed of sound. Oil powered machines produce and transport food. Oil powered machines are ubiquitous. Clearly, we live in the age of oil but it is drawing to a close. According to data available if oil production remains constant until it's gone, there is enough to last 42 years. Oil wells will produce less as they become depleted, which will make it impossible to keep production constant. Similarly natural gas and coal will last another 61 years and 133 years respectively. Naturally, as they become scarce, they become expensive, leading to a worldwide energy crisis. If we are to survive on this planet, we have to make a transition to sustainable energy sources. The transition may be willy-nilly or planned - the choice is ours.

The dawning era of limited and expensive energy will be very difficult for everyone on earth but will be even more difficult if it is not anticipated. It is of utmost importance that the public and policymakers understand the global energy crisis and act in tandem to ensure that the species 'homo sapiens' does not become extinct.

Biomass is an energy source used in

A) agriculture B) industry
C) homes D) offices
 
Answer & Explanation Answer: C) homes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2107