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

This five letter word becomes shorter when you add two letters to it. What is the word?

Answer

The required five letters word is SHORT, and when you add the two letters 'ER' it becomes SHORTER.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: Bank Exams

9 1740
Q:

In each of the following questions, a question is followed by information given in them Statements I, II and III. You have to study the question along with the statements and decide the information given in which or the statements/ is necessary to answer the question. 

What is the cost of flooring the rectangular hall?

I. Length and the breadth of the hall are in the ratio of 3:2

II. Length of the hall is 48 m and cost of flooring is ₹ 850 Per sq.m.

III. Perimeter of the hall is 160 m and cost of flooring is ₹ 850 per sq m

A) I and II B) I and III
C) Only III D) I and either II or III
 
Answer & Explanation Answer:

Explanation:

From I and II,
Length = 3x = 48 m
∴ x = 16
Breath = 2x = 32 m
Hence, Area of floor = 48 × 32
Cost of flooring = 48 × 32 × 850 = ₹ 1305600
From I and III, 2(l +b) = 160
2(3x + 2x) = 160
10x = 160
∴ x = 16
∴ Length = 3 × 16 = 48 m
Breadth = 2x = 32m
Cost of flooring = (48 × 32) × 850 = ₹ 1305600
Similarly, from II and III, we can find
l = 48 m
b = 32 m
and Total cost of flooring = ₹ 1305600

Report Error

View Answer Report Error Discuss

1 1740
Q:

Atomic number of which of the following elements is greater than that of Zinc

A) Copper B) Iron
C) Chromium D) Bromine
 
Answer & Explanation Answer: D) Bromine

Explanation:
Report Error

View Answer Report Error Discuss

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

0 1740
Q:

In each of the questions given below, a passage has been given which are either situational based or describes a scenario. Below each passage, a question has been given which is framed to make you to infer something out of it. Mark out the correct inference as your answer.

Set in the glittering balls of genteel rural society of 18th century England and verdant landscape of the idyllic Pemberley, “Pride and Prejudice” is the story of young Elizabeth Bennett whose
property is entailed to the nearest male heir.
What can be said about the position of young Elizabeth Bennett in the rural society of 18th century England?

A) Marginal B) Immaterial
C) Unrelated D) Extraneous
 
Answer & Explanation Answer: B) Immaterial

Explanation:

Marginal means to be of questionable or minimal quality.
Immaterial means to be of no importance or relevance especially to a law case.
Unrelated means lacking a logical or causal relation.
Extraneous means something that is not pertinent to the matter under consideration.
Academic means marked by a narrow focus on or display of learning especially its trivial aspects.
Despite being young, Bennett's property was already entailed to the male heir. This means that she did not have a significant place in the rural society of 18th century England.
Hence, the correct answer is 2.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

0 1740
Q:

The Preventive Detention Act curtailed

A) Right to Freedom B) Right to Equality
C) Right to Property D) Education Right
 
Answer & Explanation Answer: A) Right to Freedom

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 1740
Q:

Which of the following cannot be used for making lenses?

A) Plastic B) Soil
C) Glass D) Water
 
Answer & Explanation Answer: B) Soil

Explanation:
Report Error

View Answer Report Error Discuss

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

1 1740
Q:

Which one of the following does not signify a battle tank?

A) T-55 B) T-155
C) T-72 D) T-90
 
Answer & Explanation Answer: B) T-155

Explanation:

T-55, T-72 and T-90 battle are USSR/Russian origin battle tanks and are respectively based on first, second and third generation battle tank technologies.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 1740