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

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.


Namita is from the state of Kerala. She has come to Dubai to serve as a governess for the only child of the Nairs. The Nairs are nice and gentle and Namita has no cause to complain. One day she overhears something that makes her jittery. Mr. Nair is not employed in an American company as she has been told. The nature of his business is illegal. She is shocked and wants to go back to her home town to her own people.

Gopal is from a very poor family. His family owns a very small piece of land that can hardly meet their food requirement. One day, Gopal gets a nice offer to work in the Emirates with a construction contractor. In order to meet the expenses on travelling, the family decides to sell their own land and send Gopal to the foreign country, to make money. On arrival, the contractor confiscates Gopal's passport and gives him a small place to live in with ten others like him. Gopal has little idea what he must do.


Namita's situation is better than that of Gopal, because she

A) has a well behaved employer B) knows what she wants to do
C) loves the new place and the child D) now knows about her employer
 
Answer & Explanation Answer: B) knows what she wants to do

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2105
Q:

In the following question, out of the four alternatives, choose the word which is opposite in meaning to the given word and click the button corresponding to it.

RUGGED

A) HARD B) STURDY
C) SMOOTH D) ROUGH
 
Answer & Explanation Answer: C) SMOOTH

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2105
Q:

The sentences given with blanks are to be filled with an appropriate word(s). Four alternatives are suggested for each question. For each question, choose the correct alternative and click the button corresponding to it.

I was _____________ paying the toll tax.

A)  free from B) exonerated from
C) exempted from D)  exposed to
 
Answer & Explanation Answer: C) exempted from

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2104
Q:

Which of the following is an example of parasitism?

A) Leeches consume blood of their host B) Ticks that live on dogs
C) Aphid insects eat the sap of the host plant D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The relationship between two organisms such that one lives on the other and one gets benefited while the other get infected.

Report Error

View Answer Report Error Discuss

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

4 2104
Q:

The four main systems of the earth are

Answer

The Earth has four major systems or spheres. These systems are


 1. The geosphere,


 2. The hydrosphere,


 3. The atmosphere, and 


4. The biosphere.


 


The biosphere is the system where we belong.

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography Exam Prep: Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

4 2104
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 2104
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 2103