It is impossible to pass Microsoft 98-361 exam without any help in the short term. Come to Examcollection soon and find the most advanced, correct and guaranteed Microsoft 98-361 practice questions. You will get a surprising result by our Down to date Microsoft MTA Software Development Fundamentals practice guides.
Online 98-361 free questions and answers of New Version:
NEW QUESTION 1
The elements of an array must be accessed by:
- A. Calling the item that was most recently inserted into the array.
- B. Using a first-in, last-out (FILO) process.
- C. Using an integer index.
- D. Calling the last item in the memory array.
Answer: C
NEW QUESTION 2
DRAG DROP
You are extending an application that stores and displays the results of various types of foot races. The application contains the following definitions:
The following code is used to display the result for a race:
The contents of the console must be as follows:
✑ 99 seconds
✑ 1.65 minutes
✑ 99
You need to implement the FootRace class.
Match the method declaration to the method body, (To answer, drag the appropriate declaration from the column on the left to its body on the right. Each declaration may be used once, more than once, or not at all. Each correct match is worth one point.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
NEW QUESTION 3
Which type of function can a derived class override?
- A. a non-virtual public member function
- B. a private virtual function
- C. a protected virtual member function
- D. a static function
Answer: C
Explanation:
You can override virtual functions defined in a base class from the Visual Studio.
The override modifier is required to extend or modify the abstract or virtual implementation of an inherited method, property, indexer, or event.
NEW QUESTION 4
Which type of application has the following characteristics when it is installed?
✑ Runs continuously in the background by default when the startup type is set to automatic
✑ Presents no user interface
- A. Console-based
- B. Windows Forms
- C. Windows Service
- D. Batch file
Answer: C
Explanation:
A Windows service runs in the background and has no interface.
NEW QUESTION 5
You have a SQL Server database named MyDB that uses SQL Server Authentication. Which connection string should you use to connect to MyDB?
- A. Data Source=MyDB; Integrated Security=SSPf; Initial Catalog=Sales
- B. Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales
- C. Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales
- D. Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
Answer: D
Explanation:
Integrated Security Integrated Security is by default set to false.
When false, User ID and Password are specified in the connection.
Incorrect:
not C: Windows Authentication (Integrated Security = true) remains the most secure way to log in to a SQL Server database.
NEW QUESTION 6
The throw keyword is used to perform which two actions? (Choose two.)
- A. stop processing of the code
- B. move error handling to a separate thread
- C. raise exceptions
- D. re-throw exceptions as a different type
Answer: CD
Explanation:
* The Throw statement throws an exception that you can handle with structured exception-handling code (Try...Catch...Finally) or unstructured exception- handling code (On Error GoTo). You can use the Throw statement to trap errors within your code because Visual Basic moves up the call stack until it finds the appropriate exception- handling code.
* This example throws an ApplicationException exception. Throw New ApplicationException
NEW QUESTION 7
You are creating an application that accepts input and displays a response to the user. You cannot create a graphical interface for this application.
Which type of application should you create?
- A. Windows Forms
- B. Windows Service
- C. Web-based
- D. Console-based
Answer: C
NEW QUESTION 8
Which two types of information should you include in an effective test case? (Choose two.)
- A. the expected result from testing the case
- B. multiple actions combined as a single step to test the case
- C. any pre-conditions necessary to test the case
- D. the stakeholders who originated the test case
Answer: AB
Explanation:
You can create manual test cases using Microsoft Test Manager that have both action and validation test steps. You can also share a set of common test steps between multiple test cases called shared steps. This simplifies maintenance of test steps if your application under test changes.
NEW QUESTION 9
You need to ensure the data integrity of a database by resolving insertion, update, and deletion anomalies.
Which term is used to describe this process in relational database design?
- A. Normalization
- B. Integration
- C. Isolation
- D. Resolution
Answer: A
Explanation:
Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database using the defined relationships.
NEW QUESTION 10
This question requires that you evaluate the underlined text to determine if it is correct.
When a base class declares a method as virtual, the method is hidden from implementation bv a derived class.
Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct.
- A. No change is needed
- B. can be overridden with its own implementation by a derived class
- C. must be overridden in any non-abstract class that directly inherits from that class
- D. cannot be overridden with its own implementation by a derived class
Answer: B
NEW QUESTION 11
HOTSPOT
You have a base class named Tree with a friend property named color and a protected property named NumberOfLeaves. In the same project, you also have a class named Person.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
NEW QUESTION 12
The purpose of a constructor in a class is to:
- A. Initialize an object of that class.
- B. Inherit from the base class.
- C. Release the resources that the class holds.
- D. Create a value type.
Answer: A
Explanation:
Each value type has an implicit default constructor that initializes the default value of that type.
NEW QUESTION 13
HOTSPOT
You are reviewing the following code that saves uploaded images.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
NEW QUESTION 14
You need to debug a Windows Service application by using breakpoints. What should you do?
- A. Write all events to an event log.
- B. Set the Windows Service status to Paused.
- C. Implement the Console.WriteLine method throughout the Windows Service.
- D. Use the Attach to Process menu in Microsoft Visual Studio.
Answer: D
Explanation:
* Because a service must be run from within the context of the Services Control Manager rather than from within Visual Studio, debugging a service is not as straightforward as debugging other Visual Studio application types. To debug a service, you must start the service and then attach a debugger to the process in which it is running.
* To debug a service Install your service.
Start your service, either from Services Control Manager, Server Explorer, or from code. In Visual Studio, choose Attach to Process from the Debug menu.
Etc.
NEW QUESTION 15
All objects in .NET inherit from which item?
- A. a reference type
- B. the System.Type class
- C. a value type
- D. the System.Object class
Answer: D
Explanation:
The System.Object class supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
NEW QUESTION 16
You have a table named ITEMS with the following fields:
✑ ID (integer, primary key. auto generated)
✑ Description (text)
✑ Completed (Boolean)
You need to insert the following data in the table: "Cheese", False
Which statement should you use?
- A. INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 1)
- B. INSERT INTO ITEMS (ID, Description, Completed) VALUES (NEWID(), 'Cheese', 0)
- C. INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese", 0)
- D. INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0)
Answer: D
Explanation:
The string values TRUE and FALSE can be converted to bit values: TRUE is converted to 1 and FALSE is converted to 0.
Incorrect:
Not B, not C: ID is autogenerated and should not be specified.
NEW QUESTION 17
Which type of Windows application presents a parent window that contains child windows?
- A. Application programming interface (API)
- B. Single-document interface (SDI)
- C. Multiple-document interface (MDI)
- D. Command-line interface (CLI)
Answer: C
Explanation:
A multiple document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Such systems often allow child windows to embed other windows inside them as well, creating complex nested hierarchies. This contrasts with single document interfaces (SDI) where all windows are independent of each other.
NEW QUESTION 18
You have a server that limits the number of data connections.
What should you use to optimize connectivity when the number of users exceeds the number of available connections?
- A. Named pipes
- B. Normalization
- C. Connection timeouts
- D. Connection pooling
Answer: D
Explanation:
In software engineering, a connection pool is a cache of database connections maintained so that
NEW QUESTION 19
You need to create a stored procedure that passes in a person's name and age. Which statement should you use to create the stored procedure?
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: B
Explanation:
Example (nvarchar and int are best here):
The following example creates a stored procedure that returns information for a specific employee by passing values for the employee's first name and last name. This procedure accepts only exact matches for the parameters passed.
CREATE PROCEDURE HumanResources.uspGetEmployees
@LastName nvarchar(50),
@FirstName nvarchar(50) AS
SET NOCOUNT ON;
SELECT FirstName, LastName, JobTitle, Department FROM HumanResources.vEmployeeDepartment
WHERE FirstName = @FirstName AND LastName = @LastName; GO
NEW QUESTION 20
What does the Console.Error property do within a console-based application?
- A. sets the standard error input stream
- B. gets the standard error output stream
- C. gets the standard error input stream
- D. sets the standard error output stream
Answer: B
Explanation:
The Console.Error property gets the standard error output stream.
NEW QUESTION 21
......
Thanks for reading the newest 98-361 exam dumps! We recommend you to try the PREMIUM Surepassexam 98-361 dumps in VCE and PDF here: https://www.surepassexam.com/98-361-exam-dumps.html (276 Q&As Dumps)