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

Which one of the following crops is not cultivated in Karewas, the lacustrine deposit's of sand, clay, loam, silt and boulders?

 

A) Saffron B) Almond
C) Walnut D) Ling nut
 
Answer & Explanation Answer: D) Ling nut

Explanation:

Karewa sediments are treasures of many human civilizations and habitations. In fact, the agriculture of the valley dominantly survives and sustains on Karewa soils. The world famous saffron from Pampore and apples from Shopian are best examples.The famous almond orchids are best grown in the soils of karewas.

The karewas are mainly devoted to the cultivation of saffron, almond, walnut, apple and orchards.Ling nuts (singharas) grow throughout the East of India: West Bengal, Jharkhand, and Bihar are examples of such regions.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 2083
Q:

The FDA protects the U.S public from

A) drugs smuggled across the border B) paying too much for medicine
C) harmful prescription and OTC medications D) medications that can form addictions
 
Answer & Explanation Answer: A) drugs smuggled across the border

Explanation:

The Food and Drug Administration is responsible for protecting the public health by ensuring the safety, efficacy, and security of human and veterinary drugs, biological products, and medical devices; and by ensuring the safety of our nation's food supply, cosmetics, and products that emit radiation.

Report Error

View Answer Report Error Discuss

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

0 2083
Q:

which of the following is smallest river in india ?

A) Indus B) Godavari
C) Arvari D) Ganga
 
Answer & Explanation Answer: C) Arvari

Explanation:

Arvari river is a small river in the Indian state of Rajasthan. It just have 90 km of length and it also consider as the smallest river of India and flows through the Arvari District of Rajasthan

Report Error

View Answer Report Error Discuss

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

0 2083
Q:

Covalent bonds are formed when electrons are

A) Transfer of electrons B) Sharing of electrons
C) Dividing of electrons D) All of the above
 
Answer & Explanation Answer: B) Sharing of electrons

Explanation:

Covalent bonding occurs when pairs of electrons are shared by atoms. Atoms will covalently bond with other atoms in order to gain more stability, which is gained by forming a full electron shell. By sharing their outer most (valence) electrons, atoms can fill up their outer electron shell and gain stability.

 

Examples of compounds with covalent bonds ::

HCl, CO2, O2,... 

Report Error

View Answer Report Error Discuss

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

2 2083
Q:

Improve the bracketed part of the sentence.
(Hardly nothing) was offered to the victims of the earthquake.

A) Hardly something B) Hardly anything
C) Hardly little D) No improvement
 
Answer & Explanation Answer: B) Hardly anything

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2082
Q:

A solution developer needs to configure the HTTP listener of an Integration Server on a Linux Server.

Which operating system privileges does the developer need to modify Integration node
properties and properties of integration node resources?

A) root user B) mqm
C) mqbrks D) mqm and mqbrks
 
Answer & Explanation Answer: A) root user

Explanation:
Report Error

View Answer Report Error Discuss

14 2082
Q:

The operating system creates _ from the physical computer.

A) Virtual device B) Virtual space
C) Virtual computer D) All of the above
 
Answer & Explanation Answer: C) Virtual computer

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2082