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 2195
Q:

In the following question, some part of the sentence may have errors. Find out which part of the sentence has an error and select the appropriate option. If a sentence is free from error, select 'No Error'.

There was already a sizable(A)/ gap between her car and(B)/the one front of her.(C)/No error(D)

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2195
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.

A strong blast of wind.

A) Implosion B) Trickle
C) Gust D) Mantle
 
Answer & Explanation Answer: C) Gust

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2195
Q:

In the following question, out of the four alternatives, select the word opposite in meaning to the word given.
Lugubrious

A) Clumsy B) Lucid
C) Optimistic D) Sinister
 
Answer & Explanation Answer: C) Optimistic

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2195
Q:

In the question below, there is a word given in bold which is followed by five options. In each of the options, a pair of words is given which is either the pair of synonyms or antonyms or synonym & antonym of the word given in bold. Choose that pair as your answer.

Tremulous

A) Stringent, Garrulous B) Quivery, Steady
C) Conjunctive, Desist D) Abstain, Defer
 
Answer & Explanation Answer: B) Quivery, Steady

Explanation:

The meanings of the given words are as follows:
Tremulous: shaking or quivering slightly 

 

Stringent: (of regulations, requirements, or conditions) strict, precise, and exacting

 

Garrulous: excessively talkative, especially on trivial matters
Quivery: shaking or trembling slightly
Steady: firmly fixed, supported, or balanced; not shaking or moving
Conjunctive: relating to or forming a connection or combination of things
Desist: stop doing something; cease or abstain

 

Abstain: restrain oneself from doing or enjoying something
Defer: put off (an action or event) to a later time; postpone
Terse: sparing in the use of words; abrupt
Abrupt: sudden and unexpected
Therefore, it can be observed that option B i.e. ‘quivery, steady’ forms a synonym-antonym pair of ‘tremulous’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

1 2195
Q:

Which properties are characteristic of the group 1 metals?

A) Low melting points B) Produce hydrogen when react with water
C) Soft in nature D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Group 1 metals are also called as alkali metals with reactive in nature and low melting points. They are soft and produce hydrogen and alkaline metal hydroxide solution when they react with water.

Report Error

View Answer Report Error Discuss

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

0 2195
Q:

Vinegar is __________ .

A) diluted acetic acid B) glacial acetic acid
C) glacial formic acid D) diluted formic acid
 
Answer & Explanation Answer: A) diluted acetic acid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 2195
Q:

Why is argon gas used along with tungsten wire in an electric bulb?

A) To increase the life of the bulb B) To reduce the consumption of electricity
C) To make the emitted light colored D) To reduce the cost of the bulb
 
Answer & Explanation Answer: A) To increase the life of the bulb

Explanation:

Argon gas is used in fluorescent and incandescent light bulbs to stop the oxygen in the light bulbs from corroding the hot tungsten filament.

The use of argon in light bulbs prevents the evaporation of the tungsten filaments, which results in increased light bulb life.

Argon is also used to create an inert atmosphere for growing semiconductor crystals, arc welding and for processes that need protection from other kinds of atmospheric gases.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 2195