Questions

Q:

What would be the output of the following program?

main()

{

    char a[] = "Visual C++";

    char *b = "Visual C++";

    printf ("\n%d %d", sizeof (a), sizeof (b));

    printf ("\n%d %d", sizeof (*a), sizeof (*b));

Answer

11  2


 1   1

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2095
Q:

In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

Answer

For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.


With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.

Report Error

View answer Workspace Report Error Discuss

0 2095
Q:

Which error are you likely to get when you run the following program?

main()

{

  struct emp

  {

      char name[20];

      float sal;

  };

  struct emp e[10];

  int i;

  for ( i = 0 ; i <= 9; i++)

        scanf ( "%s %f" , e[i].name, &e[i].sal );

}

Answer

Floating point formats not linked

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2094
Q:

Project Time Management - Processes

Describe the Inputs, Tools and Techniques, Outputs of Activity Resource Estimating ?

Answer

I. Inputs



  • Enterprise environmental factors

  • Organizational process assets

  • Activity list

  • Activity attributes

  • Resource availability

  • Project management plan


II. Tools and Techniques



  • Expert Judgment

  • Alternatives analysis

  • Published estimating data

  • Project management software

  • Bottom-up estimating


III. Outputs



  • Activity resource requirements

  • Activity atributes (updates)

  • Resource breakdown structure

  • Resource calendars (updates)

  • Requested changes

Report Error

View answer Workspace Report Error Discuss

0 2094
Q:

Read the passage carefully and select the best answer to each question out of the given four alternatives.


The Amazon basin has been continuously inhabited for at least 10, 000 years, possibly more. Its earliest inhabitants were stone-age peoples, living in hundreds of far-flung tribes, some tiny, others numbering in the tens of thousands. It was from the west that Europeans explorers first arrived. In 1541 a Spanish expedition from Quito, led by Gonzalo Pizarro, ran short of supplies while exploring east of the Andes in what is today Peru. Pizarro’s cousin Francisco de Orellana offered to take 60 men along with the boats from the expedition and forage for supplies. De Orellana floated down the Rio Napo to its confluence with the Amazon, near Iquitos (Peru), and then to the mouth of the Amazon. Along the way his expedition suffered numerous attacks by Indians; some of the Indian warriors, they reported, were female, like the Amazons of Greek mythology, and thus the world’s greatest river got its name. No one made a serious effort to claim this sweaty territory, however, until the Portuguese built a fort near the mouth of the river at Belém in 1616, and sent Pedro Teixeira up the river to Quito and back between 1637 and 1639. During the 17th and 18th centuries, Portuguese bandeirantes (groups of roaming adventurers) penetrated ever further into the rain forest in pursuit of gold and Indian slaves, exploring as far as present-day Rondônia, and the Guaporé and Madeira river valleys. Amazonian Indians had long used the sap from rubber trees to make waterproof bags and other items. European explorers recognized the potential value of natural latex, but were unable to market it because it tended to grow soft in the heat, or brittle in the cold, and thus had limited appeal outside the rain forest. However, in 1842 American Charles Goodyear developed vulcanization (made natural rubber durable) and in 1890 Ireland’s John Dunlop patented pneumatic rubber tires. Soon there was an unquenchable demand for rubber in the recently industrialized USA and Europe, and the price of rubber on international markets soared. As profits skyrocketed, so did exploitation of the seringueiros, or rubber tappers, who were lured into the Amazon, mostly from the drought-stricken northeast, by the promise of prosperity only to be locked into a cruel system of virtual slavery dominated by seringalistas (owners of rubber-bearing forests). Rigged scales, hired guns, widespread illiteracy among the rubber tappers, and monopoly of sales and purchases all combined to perpetuate the workers’ debt and misery. In addition, seringueiros had to contend with jungle fevers, Indian attacks and all manner of deprivation.


Where did De Orellano float down to for its confluence with the Amazon?

A) Belem B) Quito
C) Rio Napo D) Peru
 
Answer & Explanation Answer: C) Rio Napo

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2094
Q:

A sentence has been given in Active/Passive Voice. Out of the four given alternatives, select the one which best expresses the same sentence in Passive/Active Voice.

 

George Orwell wrote 1984.

 

A) 1984 is wrote by George Orwell. B) 1984 was wrote by George Orwell.
C) 1984 was written by George Orwell. D) 1984 written by George Orwell.
 
Answer & Explanation Answer: C) 1984 was written by George Orwell.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2094
Q:

The largest expenditure component of GDP is

A) Consumption B) Net exports
C) Government spending D) Investments
 
Answer & Explanation Answer: A) Consumption

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

1 2094
Q:

A man with colour blindness will see red as

A) green B) red
C) orange D) yellow
 
Answer & Explanation Answer: A) green

Explanation:

A man with colour blindness will see red and green as same. 

A_man_with_colour_blindness_will_see_red_as11556517569.jpg image

a_man_with_colour_blindness_will_see_red_as1556517492.jpg image

Report Error

View Answer Report Error Discuss

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

3 2094