CET_TARDE - MTA Software Development Fundamentals 4

Descripción

Software Development Fundamentals Quizzes preparing to certification https://www.exam-labs.com/exam/98-361#!
Hawerth Castro
Test por Hawerth Castro, actualizado hace más de 1 año
Hawerth Castro
Creado por Hawerth Castro hace más de 6 años
194
0

Resumen del Recurso

Pregunta 1

Pregunta
You create an application that uses Simple Object Access Protocol (SOAP). Which technology provides information about the application's functionality to other applications?
Respuesta
  • Web Service Description Language (WSDL)
  • Extensible Application Markup Language (XAML)
  • Common Intermediate Language (CIL)
  • Universal Description, Discovery, and Integration (UDDI)

Pregunta 2

Pregunta
You execute the following code: for (int i = 0; i <=10; i+= 2) { Console.WriteLine ("Hello"); } How many times will the word Hello be printed?
Respuesta
  • 5
  • 6
  • 10
  • 12

Pregunta 3

Pregunta
Which of the following must exist to inherit attributes from a particular class?
Respuesta
  • Public properties
  • A has-a relationship
  • An is-a relationship
  • Static members

Pregunta 4

Pregunta
What does the Console.Error property do within a console-based application?
Respuesta
  • sets the standard error input stream
  • gets the standard error output stream
  • gets the standard error input stream
  • sets the standard error output stream

Pregunta 5

Pregunta
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?
Respuesta
  • Connection timeouts
  • Named pipes
  • Normalization
  • Connection pooling

Pregunta 6

Pregunta
Which term is used to describe small units of text that are stored on a client computer and retrieved to maintain state?
Respuesta
  • trace
  • cookie
  • server transfer
  • cross-page post

Pregunta 7

Pregunta
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?
Respuesta
  • Windows Forms
  • Windows Service
  • Web-based
  • Console-based

Pregunta 8

Pregunta
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Respuesta
  • YES
  • NO
  • YES
  • NO
  • YES
  • NO

Pregunta 9

Pregunta
Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application?
Respuesta
  • Script a SELECT statement to a file.
  • Query a database view.
  • Call a stored procedure.
  • Reference an index in the database.

Pregunta 10

Pregunta
You are creating a Windows Store application that uses the following gesture:
Respuesta
  • moving
  • pushing
  • sliding
  • swiping
  • app bar
  • canvas
  • charms
  • context menu

Pregunta 11

Pregunta
How does a console-based application differ from a Windows Forms application?
Respuesta
  • Console-based applications require the XNA Framework to run.
  • Windows Forms applications do not provide a method for user input.
  • Windows Forms applications can access network resources.
  • Console-based applications do not display a graphical interface.

Pregunta 12

Pregunta
You 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?
Respuesta
  • Windows Service application
  • Windows Forms application
  • DOS batch file
  • Terminate-and-stay-resident (TSR) program

Pregunta 13

Pregunta
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 "No change is needed'' if the underlined text makes the statement correct.
Respuesta
  • No change is needed
  • User acceptance
  • System
  • Integration

Pregunta 14

Pregunta
You 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; }
Respuesta
  • 0
  • 10
  • 20
  • 30

Pregunta 15

Pregunta
You 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?
Respuesta
  • defaultRedirect="ServerPage. htm"
  • redirect="HostPage. htm"
  • AutoEvencWireup="true"
  • runat="server"

Pregunta 16

Pregunta
You have the following flowchart:
Respuesta
  • 20
  • 100
  • 300
  • 400
  • 20
  • 30
  • 70
  • 330

Pregunta 17

Pregunta
An 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?
Respuesta
  • Functional
  • Service oriented
  • Structured
  • Event driven

Pregunta 18

Pregunta
In the application life cycle, the revision of an application after it has been deployed is referred to as:
Respuesta
  • Unit testing
  • Integration
  • Maintenance
  • Monitoring

Pregunta 19

Pregunta
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?
Respuesta
  • INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese', 0)
  • INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 1)
  • INSERT INTO ITEMS (10, Description, Completed) VALUES (NEWID(), 'Cheese', 6)
  • INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0)

Pregunta 20

Pregunta
You 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?
Respuesta
  • Return
  • Get
  • Set
  • Let

Pregunta 21

Pregunta
Two 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?
Respuesta
  • polymorphism
  • encapsulation
  • superclassing
  • overloading

Pregunta 22

Pregunta
You 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?
Respuesta
  • Disable implicit transactions.
  • place the query into a stored procedure.
  • Create an index on the result table.
  • Add an AFTER UPDATE trigger on the result table to reject updates.

Pregunta 23

Pregunta
You 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?
Respuesta
  • Internal
  • Protected
  • Private
  • Public

Pregunta 24

Pregunta
The ASP.NET MVC page lifecycle is shown in the following graphic:
Respuesta
  • View
  • Route
  • Controller
  • HTTP Handler
  • View
  • Route
  • Controller
  • HTTP Handler

Pregunta 25

Pregunta
This 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.
Respuesta
  • No change is needed
  • branching
  • merging
  • splitting

Pregunta 26

Pregunta
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.
Respuesta
  • No change is needed
  • can be overridden with its own implementation by a derived class
  • must be overridden in any non-abstract class that directly inherits from that class
  • cannot be overridden with its own implementation by a derived class

Pregunta 27

Pregunta
This 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.
Respuesta
  • No change is needed
  • file allocation table
  • block size
  • folder and file names

Pregunta 28

Pregunta
You have a SQL Server database named MyDB that uses SQL Server Authentication. Which connection string should you use to connect to MyDB?
Respuesta
  • Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
  • Data Source=MyDB; Integrated Security=SSPI; Initial Catalog=Sales
  • Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales
  • Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales

Pregunta 29

Pregunta
You 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.
Respuesta
  • YES
  • NO
  • YES
  • NO
  • YES
  • NO

Pregunta 30

Pregunta
This 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.
Respuesta
  • No change is needed
  • computer that hosts the application
  • computer that you plan to deploy from
  • Application Layer Gateway Service

Pregunta 31

Pregunta
When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.)
Respuesta
  • a stub
  • a.wsdl file
  • a proxy
  • a .disco file

Pregunta 32

Pregunta
This 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.
Respuesta
  • No change is needed
  • joins
  • grouping
  • ordering

Pregunta 33

Pregunta
This 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.
Respuesta
  • No change is needed
  • downcasting
  • interfacing
  • flexing

Pregunta 34

Pregunta
You open the Internet Information Services 7.5 Manager console as shown in the following exhibit:
Respuesta
  • 0
  • 1
  • 5
  • 13
  • 0
  • 1
  • 5
  • 13

Pregunta 35

Pregunta
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?
Respuesta
  • Isolation
  • Normalization
  • Integration
  • Resolution

Pregunta 36

Pregunta
Which function does Simple Object Access Protocol (SOAP) provide when using Web services?
Respuesta
  • directory of registered Web services
  • communications protocol
  • security model
  • model for describing Web services

Pregunta 37

Pregunta
Which three items are benefits of encapsulation? (Choose three.)
Respuesta
  • maintainability
  • flexibility
  • restricted access
  • inheritance
  • performance

Pregunta 38

Pregunta
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 "No change is needed" if the underlined text makes the statement correct.
Respuesta
  • No change is needed
  • User acceptance
  • System
  • Integration

Pregunta 39

Pregunta
This 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.
Respuesta
  • No change is needed
  • branching
  • merging
  • splitting

Pregunta 40

Pregunta
Which three are valid SQL keywords? (Choose three.)
Respuesta
  • GET
  • FROM
  • SELECT
  • WHAT
  • WHERE

Pregunta 41

Pregunta
You execute the following code: For i = 0 to 10 Step 2 Console.WriteLine ("Hello") Next How many times will the word Hello be printed?
Respuesta
  • 5
  • 6
  • 10
  • 12

Pregunta 42

Pregunta
How should you configure an application to consume a Web service?
Respuesta
  • 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.

Pregunta 43

Pregunta
You 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?
Respuesta
  • 1
  • 2
  • 3
  • 4

Pregunta 44

Pregunta
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Respuesta
  • YES
  • NO
  • YES
  • NO
  • YES
  • NO

Pregunta 45

Pregunta
You 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?
Respuesta
  • Windows Forms application
  • DOS batch file
  • Terminate-and-stay-resident (TSR) program
  • Windows Service application

Pregunta 46

Pregunta
You 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?
Respuesta
  • Option A
  • Option B
  • Option C
  • Option D

Pregunta 47

Pregunta
You 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?
Respuesta
  • Add
  • value
  • Set
  • Get

Pregunta 48

Pregunta
You 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?
Respuesta
  • uLong?
  • DateTimeOffset?
  • SByte
  • Date

Pregunta 49

Pregunta
You 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?
Respuesta
  • 0
  • 1
  • 2
  • 3

Pregunta 50

Pregunta
You 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?
Respuesta
  • session
  • application
  • cookies
  • ViewState
Mostrar resumen completo Ocultar resumen completo

Similar

CET_TARDE - MTA Software Development Fundamentals 3
Hawerth Castro
Etapas de Modelos de Processos de Software
thiagocarvalhojp
Processos de desenvolvimento de software
Thiago Palandrani
2- Qualidade de Produto de Software
Pedro Marcal
CET_TARDE - MTA Software Development Fundamentals 1
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 2
Hawerth Castro
CET_TARDE - MTA HTML5 Application Development Fundamentals 2
Hawerth Castro
CET_TARDE - MTA Mobility and Devices Fundamentals 1
Hawerth Castro
CET_TARDE - MTA HTML5 Application Development Fundamentals 1
Hawerth Castro
Desenvolvimento De Software Educacional
Caio Araujo0868