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

Project Human Resource Management

What are the Project Management Processes included in the Project Human Resource Management?

Answer

Human Resource Planning - Identifying and documenting Project roles, responsibilities, and reporting relationships, as well as creating the staffing management plan.


Acquire Project Team - Obtaining the human resources needed to complete the project


Develop Project Team - Improving the competencies and interaction of team members to enhance project performance.


Manage Project Team - Tracking team member performance, providing feedback, resolving issues, and coordinating changes to enhance project performance.

Report Error

View answer Workspace Report Error Discuss

0 2107
Q:

The average of five consecutive even numbers is 40. What is the value of smallest of these numbers?

A) 35 B) 36
C) 44 D) 48
 
Answer & Explanation Answer: B) 36

Explanation:
Report Error

View Answer Report Error Discuss

0 2106
Q:

In the following question, out of the given four alternatives, select the one which is opposite in meaning of the given word.

Forgo

A) Forfeit B) Neglect
C) Conquer D) Pass
 
Answer & Explanation Answer: C) Conquer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2106
Q:

Improve the bracketed part of the sentence.
I had not completed my project so I thought I was (done with) when the manager asked me to hand it in.

A) done for B) done in
C) done on D) No improvement
 
Answer & Explanation Answer: A) done for

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2106
Q:

What was the former name of Ho Chi Minh city?

Answer

Saigon

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

0 2105
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 2105
Q:

What substance gives plants their green color?

A) Chloroform B) Chlorine
C) Chlorophyll D) Caustic soda
 
Answer & Explanation Answer: C) Chlorophyll

Explanation:

Chlorophyll is the pigment that gives pant leaves their green color.

Report Error

View Answer Report Error Discuss

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

2 2105