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

What is the general formula for a straight-chain alkane?

A) C2nH2n+3. B) CnH2n+2
C) CnH2n D) CnH3n+2.
 
Answer & Explanation Answer: B) CnH2n+2

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2051
Q:

Which of the following compounds from nitrites with nitrous acid?

A) Primary amines B) Secondary amines
C) Tertiary amines D) All of these
 
Answer & Explanation Answer: D) All of these

Explanation:

The acid and the nitrite form nitrous acid which then reacts with the amine.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 2051
Q:

In a parliamentary system, from where are cabinet members drawn

A) Judicial branch B) Legislative branch
C) Executive branch D) All of the above
 
Answer & Explanation Answer: B) Legislative branch

Explanation:

In a parliamentary system, the members of the cabinet are drawn from the legislative branch.

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

The right to vote in India is in an article of

A) 370 B) 368
C) 356 D) 326
 
Answer & Explanation Answer: D) 326

Explanation:

In India, the right to vote is provided by the Constitution and the Representation of People's Act, 1951, subject to certain disqualifications. Article 326 of the Constitution guarantees the right to vote to every citizen above the age of 18.

Report Error

View Answer Report Error Discuss

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

1 2050
Q:

Who is the new RBI Governor?

A) Urjit Patel B) Shaktikanta Das
C) Raghuram Rajan D) Smt. Pallavi Nair
 
Answer & Explanation Answer: A) Urjit Patel

Explanation:

Shaktikanta Das, member of the fifteenth finance commission, as the governor of the Reserve Bank of India (RBI), a day after Urjit Patel resigned at the end of a bruising tussle with the government over the regulator’s independence and the regulation of banks.

Report Error

View Answer Report Error Discuss

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

1 2050
Q:

Where is the RAM located in a computer?

A) Monitor B) Processor
C) Mother board D) None of the above
 
Answer & Explanation Answer: C) Mother board

Explanation:

On the right corner of the mother board RAM is located in a computer.

Report Error

View Answer Report Error Discuss

3 2050
Q:

In satellite based communication VSAT stands for

Answer

VSAT stands for Very Small Aperture Terminal is a satellite communications system that serves home and business users.

Report Error

View answer Workspace Report Error Discuss

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

1 2049