98-361 Exam - Microsoft MTA Software Development Fundamentals

certleader.com

Q1. You are planning to develop a new software system for your organization. You need to review the system’s technical blueprint. Which of the following participants is responsible for providing the technical blueprint? 

A. user interface designer 

B. developer 

C. architect 

D. technical writer 

Answer:

Q2. You are developing a new application that optimizes the processing of a warehouse’s operations. When the products arrive, they are stored on warehouse racks. To minimize the time it takes to retrieve an item, the items that arrive last are the first to go out. You need to represent the items that arrive and leave the warehouse in a data structure. Which data structure should you use to represent this situation? 

A. array 

B. linked list 

C. stack 

D. queue 

Answer:

Q3. You are writing code for a business application by using C#. Write the following statement to declare an array: 

int[] numbers = { 1, 2, 3, 4, 5, }; 

Now, you need to access the second item in this array (the number 2). Which of the following expression should you use? 

A. numbers[0] 

B. numbers[1] 

C. numbers[2] 

D. numbers[3] 

Answer:

Q4. Your application includes a SqlDataAdapter object named sqlDataAdapter that connects to the Employees table. You use the Fill method to retrieve the data from the Employees table. The SqlDataAdapter's Connection property is set to a valid connection to the SQL Server database, but the connection is in the closed state. Which of the following statements is true about the working of the Fill method? 

A. The Fill method will throw an exception because the connection is closed. 

B. The Fill method will open the connection, read the data, and leave the connection open. 

C. The Fill method will open the connection, read the data, and leave the connection closed. 

D. The Fill method will return an emptyresult setbecause the connection is closed. 

Answer:

Q5. You are developing an ASP.NET Wep page that displays status of a shipment. You need to write some code that will change the Web page's appearance and assign values to some controls. Where should you put this code? 

A. In the InitializeComponent method 

B. In a method that handles the Load event 

C. In a method that handles the Init event 

D. In a method that handles the PreRender event 

Answer:

Q6. You need to provide printing functionality to several of your classes. Each class’s algorithm for printing will likely be different. Also, not all the classes have an “is-a” relationship with each other. How should you support this functionality? 

A. Add the print functionality to a base class with the public access modifier. 

B. Have all classes inherit from an abstract base class and override the base-class method to provide their own print functionality. 

C. Have all the classes inherit from a base class that provides the print functionality. 

D. Create a common interface that all classes implement. 

Answer:

Q7. You are developing an application that uses a double dimensional array. You use the following code to declare the array: 

int[,] numbers = new int[,] 

{ 11, 7, 50, 45, 27 }, 

{ 18, 35, 47, 24, 12 }, 

{ 89, 67, 84, 34, 24 }, 

{ 67, 32, 79, 65, 10 } 

}; 

Next, you refer to an array element by using the expression numbers[2, 3]. What will be the return value of this expression? 

A. 47 

B. 84 

C. 24 

D. 34 

Answer:

Q8. The application you are developing needs to write data to a flat file that include items such as a five-digit integer key, followed by a 20-character customer name, followed by two date and time fields. Your solution should be as fast as possible and should create smallest size data file. Which of the following classes should you use? 

A. FileStream 

B. StreamWriter 

C. BinaryWriter 

D. DataWriter 

Answer:

Q9. You are planning to develop a new software system for your organization. You need to review the plan for packaging, deployment, delivery, and support for the software. Which of the following should you contact? 

A. quality assurance manager 

B. release manager 

C. technical architect 

D. database administrator 

Answer:

Q10. You are designing a database for your company and are reviewing the normalization for the database tables. 

You review the following Customer table: 

Which of the following statements is true? 

A. The highest normal form of the Customer table is the first normal form. 

B. The highest normal form of the Customer table is the second normal form. 

C. The highest normal form of the Customer table is the third normal form. 

D. The Customer table is not normalized. 

Answer: