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

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

Jettison

 

A) Keep B) Eject
C) Embrace D) Retain
 
Answer & Explanation Answer: B) Eject

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1716
Q:

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

 

Penchant

 

A) Indifference B) Revulsion
C) Disgust D) Fondness
 
Answer & Explanation Answer: D) Fondness

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1715
Q:

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

 

The conclusion of World Trade Organization’s 11th biennial ministerial conference at Buenos Aires was worrisome. From an Indian standpoint, there was no loss as status quo continues in the most important issue: the right to continue the food security programme by using support prices. But the inability of the negotiators to reach even one substantive outcome suggests that WTO’s efficacy is under question. As a 164-country multilateral organisation dedicated to crafting rules of trade through consensus, WTO represents the optimal bet for developing countries such as India. Strengthening WTO is in India’s best interest.

 

Perhaps the biggest threat to WTO’s efficacy today is the attitude of the US. The world’s largest economy appears to have lost faith in the organisation and has begun to undermine one of its most successful segments, the dispute redressal mechanism. This is significant as the US has been directly involved in nearly half of all cases brought to WTO. Separately, large groups of countries decided to pursue negotiations on e-commerce, investment facilitation and removal of trade obstacles for medium and small scale industries. By itself this should not weaken WTO. But it comes at a time when there is growing frustration with gridlock at WTO.

 

India did well to defend its position on its food security programme. The envisaged reform package which will see a greater use of direct cash transfers to beneficiaries will be in sync with what developed countries do. But it’s important for India to enhance its efforts to reinvigorate WTO. In this context, India’s plan to organise a meeting of some countries early next year is a step in the right direction. WTO represents the best available platform to accommodate interests of a diverse set of nations. Therefore, India should be at the forefront of moves to fortify it.

 

Which of the following is the most successful segments of the WTO mentioned in the passage?

 

A) Dispute redressal mechanism B) Intellectual Property Rights
C) Reviewer of government’s trade policies. D) Agreement on trade in services.
 
Answer & Explanation Answer: A) Dispute redressal mechanism

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1715
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 expresses the same sentence in Indirect/Direct speech.

 

My sister said to me, "You didn't help me yesterday so I will not help you now."

A) My sister said to me that I had not helped her the day before so she would not help me then. B) My sister said to me that I have not helped her the day before so she would not help me now.
C) My sister said to me that I have not helped her yesterday so she would not help me then. D) My sister said to me that I had not helped her yesterday so she would not help me now.
 
Answer & Explanation Answer: A) My sister said to me that I had not helped her the day before so she would not help me then.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1715
Q:

A computer always has a

A) Mouse B) Keyboard
C) CPU D) Graphics card
 
Answer & Explanation Answer: C) CPU

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

5 1715
Q:

The energy obtained from atoms is known as.........

A) Solar energy B) Heat energy
C) Nuclear energy D) Chemical energy
 
Answer & Explanation Answer: C) Nuclear energy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: CAT , Bank Exams , AIEEE

0 1715
Q:

For a body moving with uniform acceleration its final velocity equals _________________.

A) average velocity - initial velocity B) 2 x average velocity - initial velocity
C) 2 x average velocity + initial velocity D) average velocity + initial velocity
 
Answer & Explanation Answer: B) 2 x average velocity - initial velocity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 1715