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

If 4 cats can kill 4 rats in 4 minutes, how many minutes will it take 8 cats to kill 8 rats?

A) 8 B) 4
C) 2 D) 16
 
Answer & Explanation Answer: B) 4

Explanation:
Report Error

View Answer Report Error Discuss

2 1730
Q:

In due course of time the meander loop cuts off from the river and forms a cut-off lake, also called an _________ lake.

A) ox-bow B) oasis
C) lagoon D) tectonic
 
Answer & Explanation Answer: A) ox-bow

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 1730
Q:

In the following question, out of the four alternatives, choose the word which best expresses the meaning of the given word and click the button corresponding to it.
OMINOUS

A) OFFICIOUS B) PLEASANT
C) CONVENIENT D) THREATENING
 
Answer & Explanation Answer: D) THREATENING

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1730
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".

Everyone hoped of good weather on the day of the wedding

A) for B) at
C) about D) no improvement
 
Answer & Explanation Answer: A) for

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 1730
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best express the same sentence in Indirect/Direct speech.

 

The master asked the people why they prevented him from going near the tiger.

 

A) The master said to the people,"Why do you prevent me from going near the tiger." B) The master asked the people,"Why do they prevent me from going near the tiger?"
C) The master asked the people,"Why are they preventing him from going near the tiger?" D) The master was asking the people,"Why do you prevent me from going near the tiger?"
 
Answer & Explanation Answer: A) The master said to the people,"Why do you prevent me from going near the tiger."

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1730
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.
Get up on the wrong side of the bed

A) Make a wrong decision and regret it for the rest of the life B) Start the day in a bad mood, which continues all day long
C) Have a sleepless night especially due to worries D) Suffer an uncomfortable stay at an unfamiliar place
 
Answer & Explanation Answer: B) Start the day in a bad mood, which continues all day long

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1730
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 .

 

Overall the assertions seem to be based on:

A) Rash opinion with little observation behind it. B) Deeply held emotional convictions.
C) Facts derived from scientific literature. D) Inconclusive evidence gathered in field studies.
 
Answer & Explanation Answer: D) Inconclusive evidence gathered in field studies.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1730