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

In the following question, out of the four alternatives, choose the word which is opposite in meaning to the given word and click the button corresponding to it.

INSOLENT

A) SCRUPULOUS B) EMOLIENT
C) COURTEOUS D) LAZY
 
Answer & Explanation Answer: C) COURTEOUS

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

FORSWEAR

A) SWEAR B) OATH
C) ABUSE D) FORSAKE
 
Answer & Explanation Answer: D) FORSAKE

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1630
Q:

In the following question, out of the given four alternatives, select the one which is opposite in meaning of the given word.

Relationship

A) Affinity B) Member
C) Leaning D) Opposition
 
Answer & Explanation Answer: D) Opposition

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 1630
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

The introduction of

A-­had ruled from the time man learned to cook food

B-­meant the end of firewood, which

C-­the kerosene stove also

A) CAB B) BCA
C) CBA D) BAC
 
Answer & Explanation Answer: B) BCA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1630
Q:

Which country has launched the longest bullet train line covering a distance of 2252 kilometers in January, 2017?

A) Japan B) China
C) Afghanistan D) Myanmar
 
Answer & Explanation Answer: B) China

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

8 1630
Q:

What is the maximum  number of states of matter?

A) Three B) Four
C) Five D) Variable
 
Answer & Explanation Answer: C) Five

Explanation:

There   are five known   states   of matter:    solids,    liquids,    gases, plasma and Bose-Einstein condensates.  The  main  difference in the structures of each state is in the densities of the particles.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 1630
Q:

_________ gets converted to phosgene, when exposed to sunlight.

A) Chloroform B) Acetone
C) Benzene D) Propylene
 
Answer & Explanation Answer: A) Chloroform

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 1630