Questions

Q:

Why we use do-while loop in c?

Answer

It is also called as post tested loop. It is used when it is necessary to execute the loop at least one time. Syntax:

do {
Loop body
} while (Expression);

Example:

int main(){
    int num,i=0;  
    do{
         printf("To enter press 1\n");
         printf("To exit press  2");
         scanf("%d",&num);
         ++i;
         switch(num){
             case 1:printf("You are welcome\n");break;
             default : exit(0);
         }
    }
    while(i<=10);
    return 0;
}

Output: 3 3 4 4

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2197
Q:

A series is given with one term missing. Choose the correct alternative from the given ones that will complete the series. ? , Kerosene, Diesel, Fuel oil

A) Lubricating oil B) Asphalt
C) Petrol D) Wax
 
Answer & Explanation Answer: C) Petrol

Explanation:
Report Error

View Answer Report Error Discuss

0 2197
Q:

What is microprocessor?

Answer

Micro processor is a program-controlled device, which fetches the instruction from memory, decodes and executes the instructions. Most Micro Processor are single-chip devices.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2197
Q:

Who has been honoured with Jnanpith Award for 2018?

A) Amitav Ghosh B) Raghuveer Chaudary
C) Krishna Sobti D) None of the above
 
Answer & Explanation Answer: A) Amitav Ghosh

Explanation:

English author Amitav Ghosh has been honoured with 54th Jnanpith Award for 2018 for his outstanding contribution towards literature.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2197
Q:

What is impulse equal to?

A) Change in momentum B) Change in force
C) Change in velocity D) Change in acceleration
 
Answer & Explanation Answer: A) Change in momentum

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 2197
Q:

Soil having high content of aluminum and iron oxide is also known as _____.

A) meadow soil B) pedalfer soil
C) chernozen soil D) podzol soil
 
Answer & Explanation Answer: B) pedalfer soil

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

3 2197
Q:

Which country has launched the longest bullet train line covering a distance of 2252 kilometers in January, 2017?

A) Japan B) China
C) Afghanistan D) Myanmar
 
Answer & Explanation Answer: B) China

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

8 2197
Q:

Which of the following is not true of color blindness?

A) Color blind people learn to rely on shapes, patterns, and positions of signs and signals. B) Red-green color blindness is the most common type of color blindness.
C) A color blind person cannot see any colors. D) For some people, it might be difficult to recognize colors of traffic lights and signs.
 
Answer & Explanation Answer: C) A color blind person cannot see any colors.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

2 2197