Questions

Q:

Point out the error, if any, in the following program.

main()

{

    int i = 4, j = 2;

    switch(i)

    {

     case 1 :

       printf (''\n To err is human, to forgive is against company policy.");

        break;

      case j :

       printf (''\n if you have nothing to do, don't do it here.");

       break;

    }

}

Answer

Constant expression required in the second case, we cannot use j.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1944
Q:

The goal of a command economy is to

A) create equality within a society B) mixed-market
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) create equality within a society

Explanation:
Report Error

View Answer Report Error Discuss

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

3 1943
Q:

National Housing Bank is a subsidiary of

A) State Bank of India B) Reserve Bank of India
C) Bank of India D) World Bank
 
Answer & Explanation Answer: C) Bank of India

Explanation:

National Housing Bank is a wholly subsidiary of RBI - Reserve Bank of India.

Report Error

View Answer Report Error Discuss

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

4 1943
Q:

An electric fuse is based on

A) the chemical effect of the current B) the magnetic effect of the current
C) the heating effect of the current D) All of the above
 
Answer & Explanation Answer: C) the heating effect of the current

Explanation:

An electric fuse is based on the heating effect of the current.

Report Error

View Answer Report Error Discuss

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

1 1943
Q:

Consumers that eat both plants and animals are

A) Carnivores B) Herbivores
C) Omnivores D) Tertiary consumers
 
Answer & Explanation Answer: C) Omnivores

Explanation:

An omnivore is an animal that eats food from both plants and animals.

Animals that eat other animals are called carnivores. Carnivores that eat herbivores are called secondary consumers, and carnivores that eat other carnivores are called tertiary consumers.

Report Error

View Answer Report Error Discuss

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

2 1943
Q:

Which is a correct way to measure wavelength?

A) Nearest peak to peak B) Nearest peak to nearest trough
C) Nearest trough to peak D) None of the above
 
Answer & Explanation Answer: A) Nearest peak to peak

Explanation:

Wavelength of a wave can be measured with the distance between two nearest crest and crest or nearest troughs. It is measured as armstrong units.

Report Error

View Answer Report Error Discuss

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

2 1942
Q:

In order to make an electromagnet you need a

A) Dry cell batteries B) Thin coated copper wire
C) Iron nail D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

To create a simple electromagnet, you'll need a source of electricity, a conductor, and metal. Wrap insulated copper wire tightly around an iron screw or nail before connecting the wire to a battery, and watch as your new electromagnet picks up small metal objects.

 

Report Error

View Answer Report Error Discuss

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

3 1942
Q:

Instrument for measuring light intensity is called

A) Lucimeter B) Cryometer
C) Cyanometer D) Barometer
 
Answer & Explanation Answer: A) Lucimeter

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 1942