Questions

Q:

You use Visual Studio .NET to develop a Windows-based application that interacts with a Microsoft SQL Server database. Your application contains a form named CustomerForm.

 You add the following design-time components to the form:

• SqlConnection object named XYZConnection.
• SqlDataAdapter object named XYZDataAdapter.
• DataSet object named XYZDataSet.
• Five TextBox controls to hold the values exposed by XYZDataSet.


At design time, you set the DataBindings properties of each TextBox control to the appropriate column in the DataTable object of XYZDataSet. When you test the application, you can successfully connect to the database. However, no data is displayed in any text boxes.

You need to modify your application code to ensure that data is displayed appropriately. Which behavior should occur while the CustomerForm.Load event handler is running?

A) Execute the BeginInit method of XYZDataSet. B) Execute the Open method of XYZConnection.
C) Execute the FillSchema method of XYZDataAdapter and pass in XYZDataSet. D) Execute the Fill method of XYZDataAdapter and pass in XYZDataSet.
 
Answer & Explanation Answer: D) Execute the Fill method of XYZDataAdapter and pass in XYZDataSet.

Explanation:

Dataset is a container; therefore, you need to fill it with data. You can populate a dataset by calling the Fill method of a data adapter.

Report Error

View Answer Report Error Discuss

1 1715
Q:

In the following question, out of the given four alternatives, select the one which best expresses the meaning of the given word.

 

Excogitate

 

A) Communication B) Die
C) Invent D) Ignore
 
Answer & Explanation Answer: C) Invent

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE

0 1715
Q:

Read the following passage carefully and choose the most appropriate answer to the question out of the four alternatives.


Riparian vegetation [the green band of vegetation along a watercourse] can help stabilize stream banks; filter sediment from surface runoff; and provide wildlife habitat, livestock forage,and scenic value. Well-developed vegetation also allows bank soils to absorb extra water during spring runoff, releasing it later during drier months, thus improving late-summer stream flows.

In many parts of the arid West, trees and shrubs are found only in riparian areas. Woody plants are very important as winter cover for many wildlife species, including upland game birds such as pheasants and turkeys. Often this winter cover is the greatest single factor limiting game bird populations. Woody vegetation also provides hiding cover and browse for many other species of birds and mammals, both game and nongame.

Dead trees ("snags") are an integral part of streamside habitats and should be left standing whenever possible. Woodpeckers, nuthatches, brown creepers, and other birds eat the insects that decompose the wood. These insects usually pose no threat to nearby living trees. Occasionally a disease organism or misuse of pesticides will weaken or kill a stand of trees. If several trees in a small area begin to die, contact your local extension agent immediately .

 

What is the overall sense conveyed by the author when the specific birds that live in riparian areas are listed in the passage?

A) Urgency on behalf of endangered species. B) The rich and varied life in such areas.
C) His or her own importance as a scientific expert. D) Poetic wander
 
Answer & Explanation Answer: B) The rich and varied life in such areas.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 1715
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correct alternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

The sales boy told the consumer not to touch the products on display.

A) buyer B) shopper
C) customer D) No improvement
 
Answer & Explanation Answer: C) customer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1715
Q:

In the following questions, one part of the sentence may have an error. Find out which part of the sentence has an error and click the button corresponding to it. If the sentence is free from error, click the “No error” option.

Outside, the rain beats down (A) / in floods and the sea gives forth (B) / a sound like an alarm bells. (C) / No error (D)

A) A B) B
C) C D) D
 
Answer & Explanation Answer: C) C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1715
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence.

A sheath for the blade of a sword

A) Scabbard B) Denude
C) Divulge D) Expose
 
Answer & Explanation Answer: A) Scabbard

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1715
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.
One who loads and uploads ships

A) Stevedore B) Transgressor
C) Lapidist D) Reticent
 
Answer & Explanation Answer: A) Stevedore

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1714
Q:

Select the word with the correct spelling.

A) stumbal B) wrinkeled
C) bristles D) reasert
 
Answer & Explanation Answer: C) bristles

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1714