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 1702
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".

Navinder and his wife departed for London by Air India yesterday.

A) to B)  towards
C) toward D) No improvement
 
Answer & Explanation Answer: D) No improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1702
Q:

The sentences given with blanks are to be filled with an appropriate word(s). Four alternatives are suggested for each question. For each question, choose the correct alternative and click the button corresponding to it.

The aim of a Peace Council is ________ rather than cure.

A) salvation B) preservation
C) maintenance D) cultivation
 
Answer & Explanation Answer: B) preservation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1702
Q:

The Regent (released Voltaire) P (having discovered that he had imprisoned) Q (Ran innocent man and gave him a pension) S

The correct sequence should be

A) P Q R S B) P R S Q
C) Q R S P D) Q R P S
 
Answer & Explanation Answer: D) Q R P S

Explanation:

Since, the starting statement carries a subject; the next statement will carry a verb i.e. Q follows as it mentioned the discovery of the Regent. R will bethe continuing statement which states what he actually discovered. P follows next as it talked about the reaction of the Regent after the discovery. And S would be the concluding statement and thus form a coherent paragraph.

The correct formation would be, ‘The Regent having discovered that he had imprisoned an innocent man released Voltaire and gave him a pension.’

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1702
Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

The philosophy of putting another's welfare above one's own.

A) Agnosticism B) Polytheism
C) Altruism D) Iconoclasm
 
Answer & Explanation Answer: C) Altruism

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1702
Q:

A sentence has been given in Active/Passive Voice. Out of the four given alternatives, select the one which best expresses the same sentence inPassive/Active Voice.

The cat teased the rat.

A) The rat is teased by the cat. B) The rat was teased by the cat.
C) The rat got tease by the cat. D) The rat was subject to teasing by the cat.
 
Answer & Explanation Answer: B) The rat was teased by the cat.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1702
Q:

In Microsoft Word, under character formatting ___________ is used to superscript and subscript.

A) Font style B) Underline
C) Effects D) Size
 
Answer & Explanation Answer: C) Effects

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

4 1702
Q:

When was the first general election held in Independent India?

A) 1948-49 B) 1953-54
C) 1951-52 D) 1947-48
 
Answer & Explanation Answer: C) 1951-52

Explanation:

The first general election in Independent India was held in 25th October 1951 to 27th March 1952.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

5 1701