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 1733
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.

 

Manoj said to his friend, "I am very angry with you."

 

A) Manoj told his friend that he was very angry with him. B) Manoj told his friend that he is very angry with him.
C) Manoj told his friend that he was very angered by him. D) Manoj told his friend that he is very angered by him.
 
Answer & Explanation Answer: A) Manoj told his friend that he was very angry with him.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

2 1733
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.

 

Another major difference

X-seven planets around the star
Y-system is the tight packing of the
Z-in comparison with the solar

 

A) ZYX B) ZXY
C) YZX D) YXZ
 
Answer & Explanation Answer: A) ZYX

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1733
Q:

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

 

Preserve a right, tradition, or idea in a form that ensures it will be protected and respected

A) Profane B) Sacrilege
C) Enshrine D) Blaspheme
 
Answer & Explanation Answer: C) Enshrine

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1733
Q:

In the following question the 1st and the last part of the sentence/passage are numbered 1 and 6. The rest of the sentence/ passage is split into four parts and named P, Q, R and S. These four parts are not given in their proper order. Read the sentence/passage and find out which of the four combinations is correct.

 

1. I can't stand here and promise that your future path is going to be wonderful.
P. Whatever one feels like doing today is set up as moral.
Q. People don't even pretend to care about what is right.
R. Instead, it might be very difficult, because our time is different than some other eras in human history.
S. If you look around, you can see that, little by little, it is a path leading to our destruction.
6. I am afraid that this legacy of freedom is facing an uncertain future.

 

A) PSRQ B) RQPS
C) QSRP D) PQRS
 
Answer & Explanation Answer: B) RQPS

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1733
Q:

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

A substance easily evaporated at normal temperatures

A) Volatile B) Steadfast
C) Enduring D) Definite
 
Answer & Explanation Answer: A) Volatile

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1733
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

Rise and shine

A) Work hard and succeed in life B) An expression used when waking someone up
C) Try harder to overcome life's problems D) Be of spotless character
 
Answer & Explanation Answer: B) An expression used when waking someone up

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1733
Q:

In the following question, a sentence / a part of sentence is underlined. Below are given alternatives to the underlined part which may improve the
sentence. Choose the correct alternative. In case no improvement is required, choose "No Improvement" option.

 

I think so she will come to the party.

A) So I think she will come to the party. B) I am thinking she will come to the party.
C) I think she will come to the party. D) No improvement
 
Answer & Explanation Answer: C) I think she will come to the party.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1733