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

Michael Schumacher is associated with which sport?

A) Football B) Golf
C) Formula One racing D) Swimming
 
Answer & Explanation Answer: C) Formula One racing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 1988
Q:

A person who grows crops

A) Sharecropper B) Freedman
C) Farmer D) Slave
 
Answer & Explanation Answer: C) Farmer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 1988
Q:

India held its 3rd environment forum with which nation?

A) Russia B) Nepal
C) Singapore D) Germany
 
Answer & Explanation Answer: D) Germany

Explanation:
Report Error

View Answer Report Error Discuss

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

2 1988
Q:

Code coverage is used as a measure of what?

A) Trends analysis B) Time Spent Testing
C) Defects D) Test Effectiveness
 
Answer & Explanation Answer: D) Test Effectiveness

Explanation:

Code coverage is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs.

Report Error

View Answer Report Error Discuss

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

3 1988
Q:

Which of these is an example of a labor law?

A) A town zones an area for residential buildings only B) A restriction on when a union may call a strike
C) A surplus of supply D) All of the above
 
Answer & Explanation Answer: B) A restriction on when a union may call a strike

Explanation:
Report Error

View Answer Report Error Discuss

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

6 1987
Q:

July 14 is celebrated every year as a national holiday in France. On this day in 1789, 

A) The member of the third estate declared themselves the National Assembly B) Workers, peasants and other non propertied classes were given political rights
C) Napoleon become the Emperor D) The fall of Bastille took place
 
Answer & Explanation Answer: D) The fall of Bastille took place

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

0 1987
Q:

Texas trial lawyers frequently ally with

A) Consumer interest groups. B) Public employee unions.
C) The gas and oil industry. D) Pharmaceutical companies.
 
Answer & Explanation Answer: A) Consumer interest groups.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

3 1987