Software Development Fundamentals
Question No: 161 – (Topic 2)
This question requires that you evaluate the underlined text to determine if it is correct.
Unit testing is the final set of tests that must be completed before a feature or product can be considered finished.
Select the correct answer if the underlined text does not make the statement correct. Select quot;No change is neededquot; if the underlined text makes the statement correct.
No change is needed
Explanation: User acceptance testing (UAT) is the last phase of the software testing process. During UAT, actual software users test the software to make sure it can handle required tasks in real-world scenarios, according to specifications.
UAT is one of the final and critical software project procedures that must occur before newly developed software is rolled out to the market.
UAT is also known as beta testing, application testing or end user testing.
Question No: 162 – (Topic 2)
You have a class named Glass that inherits from a base class named Window. The Window class includes a protected method named break().
How should you call the Glass class implementation of the break() method?
Question No: 163 – (Topic 2)
How should you configure an application to consume a Web service?
Add the Web service to the development computer.
Add a reference to the application in the Web service.
Add a reference to the Web service in the application.
Add the Web service code to the application.
Explanation: Start by adding a Service Reference to the project. Right-click the ConsoleApplication1 project and choose “Add Service Reference”:
Question No: 164 – (Topic 2)
The following functions are defined:
What does the console display after the following line? Printer(2)
Question No: 165 – (Topic 2)
This question requires that you evaluate the underlined text to determine if it is correct. Arguments are passed to console applications as a Hashtable object.
Select the correct answer if the underlined text does not make the statement correct. Select quot;No change is needed#39;#39; if the underlined text makes the statement correct.
No change is needed
Explanation: Arguments are passed to console applications as a String Array object.
Question No: 166 – (Topic 2)
You need to debug a Windows Service application by using breakpoints. What should you do?
Write all events to an event log.
Set the Windows Service status to Paused.
Implement the Console.WriteLine method throughout the Windows Service.
use the Attach to Process menu in Microsoft Visual Studio.
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.
Question No: 167 HOTSPOT – (Topic 2)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Question No: 168 – (Topic 2)
You are creating a database for a student directory. The Students table contains the following fields:
Which statement will retrieve only the first name, last name, and telephone number for every student listed in the directory?
Explanation: Use SELECT…FROM and list the fields you want to retrieve.
Question No: 169 – (Topic 2)
You have a SQL Server database named MyDB that uses SQL Server Authentication. Which connection string should you use to connect to MyDB?
Data Source=MyDB; Integrated Security=SSPf; Initial Catalog=Sales
Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales
Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales
Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
Explanation: Integrated Security Integrated Security is by default set to false.
When false, User ID and Password are specified in the connection.
not C: Windows Authentication (Integrated Security = true) remains the most secure way to
log in to a SQL Server database.
Question No: 170 – (Topic 2)
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?
Explanation: In software engineering, a connection pool is a cache of database connections maintained so that
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|