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

In the following passage some of the words have been left out. Read the passage carefully and select the correct answer for the given blank out of the four alternatives.

India’s motto has been Vasudeva Kutumbakam or that the whole world is _____ community. There are a _____ of pillars upon which India’s policy of living in peace with and _____ peace among nations of the world rests. Policies of non-alignment, peaceful co-existence, economic and cultural cooperation disarmament and peaceful _____ of nuclear energy, _____ of International disputes through negotiations and peaceful means are some of the salient features that give credence to India’s commitment to world peace.

_____ of International disputes through negotiations and peaceful means are some of the salient features

A) urge B)  requirement
C) settlement D) enactment
 
Answer & Explanation Answer: C) settlement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1864
Q:

In the following question, out of the four alternatives, select the word similar in meaning to the word given.
Haste

A) Burden B) Expect
C) Hurry D) Sight
 
Answer & Explanation Answer: C) Hurry

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1864
Q:

In each of the questions, four alternatives are given for the Idiom/Phrase. Choose the alternative which best expresses the meaning of the Idiom/Phrase and click the button corresponding to it.

Be down with

A) Suffering from B) In grief with
C) In pain with D) Aching with
 
Answer & Explanation Answer: A) Suffering from

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1864
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 friend said to me, "I am willing to help you on a condition."

A) My friend said to me that he is willing to help me on a condition. B) My friend said to me that he has had been willing to help me on a condition.
C) My friend said to me that he has been willing to help me on a condition. D) My friend said to me that he was willing to help me on a condition.
 
Answer & Explanation Answer: D) My friend said to me that he was willing to help me on a condition.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 1863
Q:

Which Indian state is the largest in terms of the total area covered ?

A) Maharashtra B) Madhya Pradesh
C) Rajasthan D) Tamil Nadu
 
Answer & Explanation Answer: C) Rajasthan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT

0 1863
Q:

Who was given the title of "The Ambassador of Hindu – Muslim Unity" for being the architect and mastermind of the historic Lucknow Pact?

A) Sir Sayyad Ahmad Khan B) Fazl-ul-Haq
C) Syed Mohammad Sharfuddin Quadri D) Muhammad Ali Jinnah
 
Answer & Explanation Answer: D) Muhammad Ali Jinnah

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

2 1863
Q:

A, B and C invest to start a restaurant. The total investment was Rs 3 lakhs. B invested Rs 50,000 more than A and C invested Rs 25,000 less than B. If the profit at the end of the year was Rs 14,400 then what is C's share of the profit (in Rs)?

A) 3600 B) 4800
C) 6000 D)  7200
 
Answer & Explanation Answer: B) 4800

Explanation:
Report Error

View Answer Report Error Discuss

0 1863