Quiz
CET_TARDE - MTA Software Development Fundamentals 4
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (50)
1You create an application that uses Simple Object Access Protocol (SOAP).
Which technology provides information about the application's functionality to other applications?- AWeb Service Description Language (WSDL)
- BExtensible Application Markup Language (XAML)
- CCommon Intermediate Language (CIL)
- DUniversal Description, Discovery, and Integration (UDDI)
2You execute the following code:
for (int i = 0; i <=10; i+= 2)
{
Console.WriteLine ("Hello");
}
How many times will the word Hello be printed?- A5
- B6
- C10
- D12
3Which of the following must exist to inherit attributes from a particular class?
- APublic properties
- BA has-a relationship
- CAn is-a relationship
- DStatic members
4What does the Console.Error property do within a console-based application?
- Asets the standard error input stream
- Bgets the standard error output stream
- Cgets the standard error input stream
- Dsets the standard error output stream
5You 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?
- AConnection timeouts
- BNamed pipes
- CNormalization
- DConnection pooling
6Which term is used to describe small units of text that are stored on a client computer and retrieved to maintain state?
- Atrace
- Bcookie
- Cserver transfer
- Dcross-page post
7You 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?
- AWindows Forms
- BWindows Service
- CWeb-based
- DConsole-based
8For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

- AYES
- BNO
- CYES
- DNO
- EYES
- FNO
9Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application?
- AScript a SELECT statement to a file.
- BQuery a database view.
- CCall a stored procedure.
- DReference an index in the database.
10You are creating a Windows Store application that uses the following gesture:
- Amoving
- Bpushing
- Csliding
- Dswiping
- Eapp bar
- Fcanvas
- Gcharms
- Hcontext menu
11How does a console-based application differ from a Windows Forms application?
- AConsole-based applications require the XNA Framework to run.
- BWindows Forms applications do not provide a method for user input.
- CWindows Forms applications can access network resources.
- DConsole-based applications do not display a graphical interface.
12You are creating an application for computers that run Windows XP or later. This application must run after the computer starts. The user must not be aware that the application is running.
The application performs tasks that require permissions that the logged-in user does not have.
Which type of application allows this behavior?- AWindows Service application
- BWindows Forms application
- CDOS batch file
- DTerminate-and-stay-resident (TSR) program
13This 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 "No change is needed'' if the underlined text makes the statement correct.- ANo change is needed
- BUser acceptance
- CSystem
- DIntegration
14You run the following code:
int a = 10;
int b = 20;
int c = 30;
int result = 0;
if (a <= b || c > a)
{
result = 10;
}
else if (a <= b || c <= a)
{
result = 20;
}
else
{
result = 30;
}- A0
- B10
- C20
- D30
15You are creating an ASP. NET Web application.
Which line of code should you use to require a control to process on the computer that hosts the application?- AdefaultRedirect="ServerPage. htm"
- Bredirect="HostPage. htm"
- CAutoEvencWireup="true"
- Drunat="server"
16You have the following flowchart:

- A20
- B100
- C300
- D400
- E20
- F30
- G70
- H330
17An application presents the user with a graphical interface. The interface includes buttons that the user clicks to perform tasks. Each time the user clicks a button, a method is called that corresponds to that button.
Which term is used to describe this programming model?- AFunctional
- BService oriented
- CStructured
- DEvent driven
18In the application life cycle, the revision of an application after it has been deployed is referred to as:
- AUnit testing
- BIntegration
- CMaintenance
- DMonitoring
19You 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?- AINSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese', 0)
- BINSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 1)
- CINSERT INTO ITEMS (10, Description, Completed) VALUES (NEWID(), 'Cheese', 6)
- DINSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0)
20You need to create a property in a class. Consumers of the class must be able to read the values of the property. Consumers of the class must be prevented from writing values to the property.
Which property procedure should you include?- AReturn
- BGet
- CSet
- DLet
21Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area differently. Which term is used to describe this object-oriented concept?
- Apolymorphism
- Bencapsulation
- Csuperclassing
- Doverloading
22You are developing a database that other programmers will query to display race results.
You need to provide the ability to query race results without allowing access to other information in the database.
What should you do?- ADisable implicit transactions.
- Bplace the query into a stored procedure.
- CCreate an index on the result table.
- DAdd an AFTER UPDATE trigger on the result table to reject updates.
23You are designing a class for an application. You need to restrict the availability of the member variable accessCount to the base class and to any classes that are derived from the base class.
Which access modifier should you use?- AInternal
- BProtected
- CPrivate
- DPublic
24The ASP.NET MVC page lifecycle is shown in the following graphic:
- AView
- BRoute
- CController
- DHTTP Handler
- EView
- FRoute
- GController
- HHTTP Handler
25This question requires that you evaluate the underlined text to determine if it is correct.
The duplication of code so that modifications can happen in parallel is known as separating.
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.- ANo change is needed
- Bbranching
- Cmerging
- Dsplitting
26This 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.- ANo change is needed
- Bcan be overridden with its own implementation by a derived class
- Cmust be overridden in any non-abstract class that directly inherits from that class
- Dcannot be overridden with its own implementation by a derived class
27This question requires that you evaluate the underlined text to determine if it is correct.
To minimize the amount of storage used on the hard drive by an application that generates many small files, you should make the partition as small as possible.
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.- ANo change is needed
- Bfile allocation table
- Cblock size
- Dfolder and file names
28You have a SQL Server database named MyDB that uses SQL Server Authentication.
Which connection string should you use to connect to MyDB?- AData Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
- BData Source=MyDB; Integrated Security=SSPI; Initial Catalog=Sales
- CData Source=MyDB; Integrated Security=True; Initial Catalog=Sales
- DData Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales
29You are reviewing the following class that is used to manage the results of a 5K race:
public class Player
{
private string _name;
public const string key = "player";
public bool MatchName(string searchTerm)
{
return _name.ToLower() == searchTerm;
}
public void SetResult(int rank, string name)
{
if (_name != null)
{
return ;
}
Ranking = rank;
_name = name;
}
public int Ranking { get; private set; }
}
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
- AYES
- BNO
- CYES
- DNO
- EYES
- FNO
30This question requires that you evaluate the underlined text to determine if it is correct.
Internet Information Services (IIS) must be installed on the client computers in order to run a deployed ASP.NET application.
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.- ANo change is needed
- Bcomputer that hosts the application
- Ccomputer that you plan to deploy from
- DApplication Layer Gateway Service
31When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.)
- Aa stub
- Ba.wsdl file
- Ca proxy
- Da .disco file
32This question requires that you evaluate the underlined text to determine if it is correct.
To improve performance, a SQL SELECT statement should use indexes.
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.- ANo change is needed
- Bjoins
- Cgrouping
- Dordering
33This question requires that you evaluate the underlined text to determine if it is correct.
Converting an object to a more general type is called upcasting.
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.- ANo change is needed
- Bdowncasting
- Cinterfacing
- Dflexing
34You open the Internet Information Services 7.5 Manager console as shown in the following exhibit:

- A0
- B1
- C5
- D13
- E0
- F1
- G5
- H13
35You 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?- AIsolation
- BNormalization
- CIntegration
- DResolution
36Which function does Simple Object Access Protocol (SOAP) provide when using Web services?
- Adirectory of registered Web services
- Bcommunications protocol
- Csecurity model
- Dmodel for describing Web services
37Which three items are benefits of encapsulation? (Choose three.)
- Amaintainability
- Bflexibility
- Crestricted access
- Dinheritance
- Eperformance
38This 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 "No change is needed" if the underlined text makes the statement correct.- ANo change is needed
- BUser acceptance
- CSystem
- DIntegration
39This question requires that you evaluate the underlined text to determine if it is correct.
The duplication of code so that modifications can happen in parallel is known as separating.
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.- ANo change is needed
- Bbranching
- Cmerging
- Dsplitting
40Which three are valid SQL keywords? (Choose three.)
- AGET
- BFROM
- CSELECT
- DWHAT
- EWHERE
41You execute the following code:
For i = 0 to 10 Step 2
Console.WriteLine ("Hello")
Next
How many times will the word Hello be printed?- A5
- B6
- C10
- D12
42How should you configure an application to consume a Web service?
- AAdd the Web service to the development computer.
- BAdd a reference to the application in the Web service.
- CAdd a reference to the Web service in the application.
- DAdd the Web service code to the application.
43You execute the following code:
Dim beakerFull As Boolean = True
Dim flameOn As Boolean = False
Dim iResult As Integer
Select Case beakerFull
Case True
Select Case flameOn
Case True
iResult = 1
Case False
iResult = 2
End Select
Case False
Select Case flameOn
Case False
iResult = 3
Case True
iResult = 4
End Select
End Select
What will the variable result be?- A1
- B2
- C3
- D4
44For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

- AYES
- BNO
- CYES
- DNO
- EYES
- FNO
45You are creating an application for computers that run Windows XP or later. This application must run after the computer starts. The user must not be aware that the application is running.
The application performs tasks that require permissions that the logged-in user does not have.
Which type of application allows this behavior?- AWindows Forms application
- BDOS batch file
- CTerminate-and-stay-resident (TSR) program
- DWindows Service application
46You are migrating several HTML pages to your website. Many of these pages contain HTML <center> and <font> tags.
Which XHTML document type declaration should you use?- AOption A
- BOption B
- COption C
- DOption D
47You have a class with a property.
You need to ensure that consumers of the class can write to the value of the property.
Which keyword should you use?- AAdd
- Bvalue
- CSet
- DGet
48You are building a web application that enables international exchange students to schedule phone calls with their prospective schools.
The application allows students to indicate a preferred date and time for phone calls.
Students may indicate no preferred time by leaving the date and time field empty. The application must support multiple time zones.
Which data type should you use to record the student's preferred date and time?- AuLong?
- BDateTimeOffset?
- CSByte
- DDate
49You execute the following code:
Dim beakerFull As Boolean = True
Dim flameOn As Boolean = False
Dim iResult As Integer = 0
if beakerFull = True Then
if flameOn = True Then
iResult = 1
else
iResult = 2
End if
Else
iResult = 3
End if
What will the variable result be?- A0
- B1
- C2
- D3
50You have a Microsoft ASP.NET web application.
You need to store a value that can be shared across users on the server.
Which type of state management should you use?- Asession
- Bapplication
- Ccookies
- DViewState
Informationen
- Beschreibung
- Software Development Fundamentals Quizzes preparing to certification https://www.exam-labs.com/exam/98-361#!
- Autor
- Hawerth Castro
- Sprache
- Português
- Aufrufe
- 235
- Verlauf
- Erstellt am 30 Sep 2017 · aktualisiert am 7 Mär 2018
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz