Your success in Microsoft 98 361 software development fundamentals is our sole target and we develop all our mta 98 361 braindumps in a way that facilitates the attainment of this target. Not only is our mta 98 361 study material the best you can find, it is also the most detailed and the most updated. software development fundamentals mta exam 98 361 Practice Exams for Microsoft MTA software development fundamentals mta exam 98 361 are written to the highest standards of technical accuracy.
Q1. You are developing a Web page for a medium-sized business. You want to separate the formatting and layout of the page from its content. Which of the following technologies should you use to define the formatting and layout of the page content?
A. Cascading Style Sheet (CSS)
B. Hypertext Markup Language (HTML)
C. JavaScript
D. Hypertext Transmission Protocol (HTTP)
Answer: A
Q2. You are invoking a Web service method that returns an ArrayList object. The client application is written is C#, whereas the Web service is written in Visual Basic. The Web service is outside your corporate firewall. You receive an "object not found" error when you call the method that returns the ArrayList object but can call other methods successfully from the same Web service. What could be the problem?
A. The client and the Web service are not written in the same programming language.
B. The firewall is blocking all SOAP calls.
C. The client project does not contain a reference to the System.Collection namespace.
D. The ArrayList class cannot be serialized.
Answer: C
Q3. You are updating an existing Windows Forms application. The form hosts a DateTimePicker control named dateTimePicker1. You need to write code that executes when the value of the dateTimePicker1 control is changed. You write a method, ProcessValueChanged, that contains the code you want to execute. What code should you write to invoke the ProcessValueChanged method? Any code that your write must not affect existing functionality of the application.
A. dateTimePicker1.ValueChanged += new System.EventHandler( ProcessValueChanged);
B. dateTimePicker1.ValueChanged = new System.EventHandler( ProcessValueChanged);
C. dateTimePicker1.Value += new System.EventHandler( ProcessValueChanged);
D. dateTimePicker1.Value = new System.EventHandler( ProcessValueChanged);
Answer: A
Q4. You have created a new Web service that provides mapping data. You are working in a Visual Studio environment and use C# as your programming language. You need to test the Web service to ensure that it is returning correct results. What is the easiest way to test your new Web service?
A. Copy and paste the Web service code into ASP.NET Web Applications. Run the Web application to see theresults.
B. Invoke the Web service from an ASP.NET client. Run the Web application to see the results.
C. Run the Web services project from within Visual Studio and use the test page that is displayed in the Webbrowser.
D. Have a large number of beta testers usetheWeb service and check for incorrect results.
Answer: C
Q5. You are writing a C# program that needs to iterate a fixed number of times. You need to make sure that your code is easy to understand and maintain even when the loop body contains complex code. Which of the following C# statements provide the best solution for this requirement?
A. while
B. for
C. for each
D. do-while
Answer: B
Q6. You are developing a C# program. You write the following code:
int i = 6;
do
{
if (i == 3)
break;
Console.WriteLine("The value of i = {0}", i);
i++;
}
while (i <= 5);
How many times will the control enter the while loop?
A. 0
B. 1
C. 2
D. 3
Answer: B
Q7. You are developing a new Web page. You need to create hyperlinks that point to other pages on the World Wide Web. Which of the following methods should you use to create these hyperlinks on your Web page?
A. the SRC attribute of the <IMG> tag
B. the HREF attribute of the <A> tag
C. the HREF attribute of the <LINK> tag
D. the XMLNS attribute of the <HTML> tag
Answer: B
Q8. You need to develop a C# program that exports the contents of the Customers table to an XML file. The exported data must be in the following format:
<Customer CustomerID="ALFKI" ContactName="Maria Anders" Phone="030-007-4321" />
<Customer CustomerID="ANATR" ContactName="Ana Trujillo" Phone="(5) 555-4729" />
Which of the following code segments should you use to export the Customers table to the specified XML format?
A. foreach(DataColumn c in dataset1.tables["Customers"].Columns)
{
B. ColumnMapping = MappingType.Attribute;
}
dataSet1.WriteXml("Customers.xml");
C. foreach(DataColumn c in dataset1.tables["Customers"].Columns)
{
D. ColumnMapping = MappingType.Element;
}
dataSet1.WriteXml("Customers.xml");
E. foreach(DataColumn c in dataset1.tables["Customers"].Columns)
{
F. ColumnMapping = MappingType.Attribute;
}
dataSet1.WriteXml("Customers.xml", XmlWriteMode.WriteSchema);
G. foreach(DataColumn c in dataset1.tables["Customers"].Columns)
{
H. ColumnMapping = MappingType.Element;
}
dataSet1.WriteXml("Customers.xml", XmlWriteMode.WriteSchema);
Answer: A
Q9. Suppose that you are a new C# developer and are reviewing object-oriented programming fundamentals.
Which of the following statements is not true?
A. A class is a concrete instance of an object.
B. A class defines the template for an object.
C. A class is a definition of a new data type.
D. A constructor is used to initialize the data members of the object.
Answer: A
Q10. You are designing database for a new Web application. You need to identify appropriate relational database structure to satisfy business requirements. Which of the following activities should you not perform as part of the design process?
A. Identify tables and columns.
B. Choose primary keys for the tables.
C. Identify table relationships.
D. Apply the normalization process.
E. Write stored procedures.
Answer: E