Questions

Q:

Point out the error, if any, in the while loop.

main()

{

  int i = 1;

  while ()

  {

     printf ( "%d", i++);

     if (i >10) 

     break ;

   }

}

Answer

The condition in the while loop is a must.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3187
Q:

Telegrahic code was introduced by

A) Lipman B) Macmillan
C) Thomas Moore D) Cockrell
 
Answer & Explanation Answer: C) Thomas Moore

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

0 3187
Q:

The persistence of learning over time most clearly depends on

A) memory B) visual encoding
C) chunking D) shallow processing
 
Answer & Explanation Answer: A) memory

Explanation:
Report Error

View Answer Report Error Discuss

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

0 3187
Q:

Which of the following is a Non Renewable Resource of Energy?

A) Wind Power B) Hydrogen Fuel
C) Natural Gas D) Solar Energy
 
Answer & Explanation Answer: C) Natural Gas

Explanation:

Natural Gas is a Non Renewable Resource of Energy because that does not renew itself once used, unlike the other choices. 

It is a resource that will not be naturally replenished.

Report Error

View Answer Report Error Discuss

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

3 3187
Q:

What are the key challenges of software testing?

Answer

Key Challenges of s/w testing:


1. Testing considered late in project


2. Requirements not testable


3. Integration is done after all components have been developed: This might result into full testing not being covered.


4. Complete testing is not possible

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 3186
Q:

Indicate what would the SWAP macro be expanded to on preprocessing. Would the code compile?

#define SWAP (a, b, c ) (c t; t = a, a = b, b = t; )

main()

{

    int x = 10, y = 20;

    SWAP (x, y, int );

    printf ( " %d%d ", x, y);

}

Answer

( int t ; t = a, a = b, b = t ;);


This code won't compile since declaration of t cannot occur within parentheses.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3186
Q:

Which of the following has become the first telecom company to achieve the 15-million mark in subscriber base?

A) BSNL B) Airtel
C) Reliance D) Hutch
 
Answer & Explanation Answer: C) Reliance

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

5 3186
Q:

Which of the following can be a symptom of AIDS?

A) Hair loss B) Severe weight gain
C) Tiredness D) All the above
 
Answer & Explanation Answer: C) Tiredness

Explanation:

From the aboe given options, only extreme and unexplained tiredness is the symptom of AIDS.

 

The other symptoms of AIDS include: recurring fever, thrush — a thick, whitish coating of the tongue or mouth that's caused by a yeast infection and sometimes accompanied by a sore throat, diarrhea that lasts more than a week, headaches, lightheadedness, and/or dizziness.

Report Error

View Answer Report Error Discuss

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

2 3185