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:

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:

The design principle that is based on repetition is called

A) Rhythm B) Texture
C) Color D) None of the above
 
Answer & Explanation Answer: A) Rhythm

Explanation:

The design principle that is based on repetition is called Rhythm.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2197
Q:

In the given question, an idiom/phrase highlighted in bold is given in a sentence. Choose the most suitable meaning of the idiom/phrase.


You must not waste your leisure time doing nothing, rather you should engage yourself in such activities that will blow off steam and recharge you for the future endeavours.

A) Release surplus energy B) Take steam bath
C) To make someone fidgety D) To exercise the brain
 
Answer & Explanation Answer: A) Release surplus energy

Explanation:

The idiom “blow off steam” means to express one’s anger, usually noisily and harmlessly, thereby relieving one’s tension. The above sentence states that one should not waste one’s time and utilise it in releasing negative energies to get charged up. Only option 1 goes with this meaning, hence option 1 is correct.

Report Error

View Answer Report Error Discuss

Filed Under: English

0 2197
Q:

In the following question, a word has been written in four different ways out of which only one is correctly spelt. Select the correctly spelt word.

 

 

A) Expernce B) Experience
C) Expeireince D) Expereince
 
Answer & Explanation Answer: B) Experience

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2197
Q:

In the following questions, one part of the sentence may have an error. Find out which part of the sentence has an error and click the button corresponding to it. If the sentence is free from error, click the "No error" option.

It is not possible for me (A) / to give you the accurate date (B) / of my departure yet. (C) / No Error (D)

A) A B) B
C) C D) D
 
Answer & Explanation Answer: B) B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2197
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

Smell a rat

A) To sense that events will not be in one's favour B) To begin to suspect trickery or deception
C) To be forewarned of danger to oneself D) To prevent calamity by chance
 
Answer & Explanation Answer: B) To begin to suspect trickery or deception

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2197
Q:

In the following question, choose the word which is opposite in meaning to the give word and click the button corresponding to it.

GRACEFUL

A) AWKWARD B) ELEGANT
C) GRACIOUS D) UGLY
 
Answer & Explanation Answer: A) AWKWARD

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2196