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

What's the maximum hard drive size for FAT16-based Windows system?

Answer

Maximum hard drive size for FAT16-based windows system is 2GB.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2107
Q:

Which amendment is freedom of expression?

A) 1 B) 12
C) 9 D) 19
 
Answer & Explanation Answer: A) 1

Explanation:

The freedom of expression is in amendment-1 of the Indian constitution.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

5 2107
Q:

Non metal found in liquid state?

A) Chlorine B) Bromine
C) Fluorine D) Iodine
 
Answer & Explanation Answer: B) Bromine

Explanation:

Bromine is the Non metal found in liquid state.

Report Error

View Answer Report Error Discuss

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

1 2107
Q:

A sentence with one blank is given, indicating that something has been omitted. Choose the word that best fits the blank appropriately.

As the festival approaches, the number of customers _________

A) Will have increased B) Has increasing
C) Will be increased D) Increases
 
Answer & Explanation Answer: D) Increases

Explanation:

The given sentence is in simple present tense and states a general fact, hence the latter half of the sentence with the blank will also be in the simple present tense. Since the subject in the latter part of the sentence is singular .i.e. 'the number', the verb will be followed accordingly. Hence, option 4 is the correct answer.

Report Error

View Answer Report Error Discuss

Filed Under: English

0 2107
Q:

In the following question, out of the four alternatives, choose the word which best expresses the meaning of the given word and click the buttoncorresponding to it.

CONSTRAIN

A) STRESS B) CONTRADICT
C) RESTRICT D) OBSTRUCT
 
Answer & Explanation Answer: C) RESTRICT

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2106
Q:

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

Opulent

A) Fake B) Gloomy
C) Rich D) Selfish
 
Answer & Explanation Answer: C) Rich

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2106
Q:

Look at the underlined part of each sentence. Below each sentence are given three possible substitutions for the underlined part. If one of them (a), (b) or (c) is better than the underlined part, indicate your response on the Answer Sheet against the corresponding letter. If none of the substitutions imporves the sentence, indicate (d) as your response on the Answer Sheet.

The man disappeared after he was rescuing a boy from drowning.

A) was rescued B) has been rescued
C) had rescued D) No improvement
 
Answer & Explanation Answer: C) had rescued

Explanation:

Two complete events occurred rescue happened first hence it will be expressed in past perfect tense, ‘had rescued’ will be the correct usage.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2106