CET_TARDE - MTA Software Development Fundamentals 3

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
230
0

Resumen del Recurso

Pregunta 1

Pregunta
What are the three basic states that a Windows service can be in? (Choose three.)
Respuesta
  • halted
  • running
  • stopped
  • paused
  • starting

Pregunta 2

Pregunta
The following functions are defined:
Respuesta
  • 210
  • 211
  • 2101
  • 2121

Pregunta 3

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 4

Pregunta
The purpose of the Catch section in an exception handler is to:
Respuesta
  • Break out of the error handler.
  • Conclude the execution of the application.
  • Execute code only when an exception is thrown.
  • Execute code regardless of whether an exception is thrown.

Pregunta 5

Pregunta
You have a stack that contains integer values. The values are pushed onto the stack in the following order: 2,4,6,8. The following sequence of operations is executed: Pop Push 3 Pop Push 4 Push 6 Push 7 Pop Pop Pop What is the value of the top element after these operations are executed?
Respuesta
  • 2
  • 3
  • 6
  • 7

Pregunta 6

Pregunta
You are creating an application that presents users with a graphical interface. Users will run this application from remote computers. Some of the remote computers do not have the . NET Framework installed. Users do not have permissions to install software. Which type of application should you choose?
Respuesta
  • Windows Forms
  • Windows Service
  • ASP. NET
  • Console-based

Pregunta 7

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 8

Pregunta
In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase?
Respuesta
  • PostBack
  • Postlnit
  • Load
  • Render

Pregunta 9

Pregunta
The throw keyword is used to perform which two actions? (Choose two.)
Respuesta
  • stop processing of the code
  • move error handling to a separate thread
  • raise exceptions
  • re-throw exceptions as a different type

Pregunta 10

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?
  • DateTime
  • SByte
  • DateTimeOffset?

Pregunta 11

Pregunta
Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:
Respuesta
  • Analyzing requirements
  • Prototyping
  • Software testing
  • Flowcharting

Pregunta 12

Pregunta
Which language uses Data Definition Language (DDL) and Data Manipulation Language (DML)?
Respuesta
  • SQL
  • C++
  • Pascal
  • Java

Pregunta 13

Pregunta
A table named Student has columns named ID, Name, and Age. An index has been created on the ID column. What advantage does this index provide?
Respuesta
  • It reorders the records alphabetically.
  • It speeds up query execution.
  • It minimizes storage requirements.
  • It reorders the records numerically.

Pregunta 14

Pregunta
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?
Respuesta
  • Window.break();
  • Glass.break();
  • this.break();
  • base.break();

Pregunta 15

Pregunta
You are developing a web application. You need to create the following graphic by using Cascading Style Sheets (CSS):
Respuesta
  • linear-gradient(to top,green, black);
  • linear-gradient(to bottom,green, black);
  • radial-gradient(green, black);
  • repeating-linear-gradient(green, black);
  • 10px;
  • 10px, 10px, 10px;
  • inherit;
  • initial;

Pregunta 16

Pregunta
You need to debug a Windows Service application by using breakpoints. What should you do?
Respuesta
  • 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.

Pregunta 17

Pregunta
This question requires that you evaluate the underlined text to determine if it is correct. The default entry point for a console application is the Class method. 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
  • Main
  • Program
  • Object

Pregunta 18

Pregunta
You are creating an application that presents the user with a Windows Form. Which event is triggered each time the Windows Form receives focus?
Respuesta
  • Enter
  • Paint
  • Load
  • Activated

Pregunta 19

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

Pregunta 20

Pregunta
You are creating an application that presents the user with a Windows Form. You need to configure the application to display a message box to confirm that the user wants to close the form. Which event should you handle?
Respuesta
  • Deactivate
  • Leave
  • FormClosed
  • FormClosing

Pregunta 21

Pregunta
You are reviewing the following code that saves uploaded images. struct ImageInfo { public byte[] Data; public int Length; public Guid Id; } void Post() { var uploaded = PostedImage(); var newImage = new ImageInfo(); newImage.Data = uploaded; newImage.Length = uploaded.Length; newImage.Id = Guid.NewGuid(); } 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 22

Pregunta
You are creating an application that presents users with a graphical interface in which they can enter data. The application must run on computers that do not have network connectivity. Which type of application should you choose?
Respuesta
  • Console-based
  • Windows Forms
  • Windows Service
  • ClickOnce

Pregunta 23

Pregunta
The purpose of a constructor in a class is to:
Respuesta
  • Initialize an object of that class.
  • Release the resources that the class holds.
  • Create a value type.
  • Inherit from the base class.

Pregunta 24

Pregunta
You need to create an application that processes data on a last-in, first-out (LIFO) basis. Which data structure should you use?
Respuesta
  • Queue
  • Tree
  • Stack
  • Array

Pregunta 25

Pregunta
You need to evaluate the following expression: (A>B) AND (C<D) What is the value of this expression if A=3, B=4, C=4, and D=5?
Respuesta
  • 0
  • 4
  • 5
  • False
  • Null
  • True

Pregunta 26

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 27

Pregunta
Which type of Windows application presents a parent window that contains child windows?
Respuesta
  • Application programming interface (API)
  • Single-document interface (SDI)
  • Multiple-document interface (MDI)
  • Command-line interface (CLI)

Pregunta 28

Pregunta
This question requires that you evaluate the underlined text to determine if it is correct. The benefit of using a transaction when updating multiple tables is that the update cannot fail. 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
  • succeeds or fails as a unit
  • finishes as quickly as possible
  • can be completed concurrently with other transactions

Pregunta 29

Pregunta
What are two advantages of normalization in a database? (Choose two)
Respuesta
  • prevents data inconsistencies
  • reduces schema limitations
  • minimizes impact of data corruption
  • decreases space used on disk

Pregunta 30

Pregunta
You are creating a Web application. The application will be consumed by client computers that run a variety of Web browsers. Which term is used to describe the process of making the application available for client computers to access?
Respuesta
  • Casting
  • Deploying
  • Hosting
  • Virtualization

Pregunta 31

Pregunta
You execute the following code. for (int i = 0; i <= 100; i++) { if (i % 2 != 0) { Console.WriteLine("Hello"); } } How many times will the word Hello be printed?
Respuesta
  • 49
  • 50
  • 51
  • 100

Pregunta 32

Pregunta
bool beakerFull = true; bool flameOn = false; int iResult = 0; if (beakerFull) { if (flameOn) { iResult = 1; } else { iResult = 2; } } else { iResult = 3; } What will the variable result be?
Respuesta
  • 0
  • 1
  • 2
  • 3

Pregunta 33

Pregunta
What are two possible options for representing a Web application within Internet Information Services (IIS)? Each correct answer presents a complete solution. (Choose two. )
Respuesta
  • Web site
  • Web directory
  • Virtual directory
  • Application server
  • Application directory

Pregunta 34

Pregunta
You are writing a Web application that processes room reservation requests. You need to verify that the room that a guest has selected is not already reserved by another guest. Which type of programming should you use to determine whether the room is still available when the request is made?
Respuesta
  • client-side
  • server-side
  • multithreaded
  • batch processing

Pregunta 35

Pregunta
The elements of an array must be accessed by:
Respuesta
  • Calling the item that was most recently inserted into the array.
  • Calling the last item in the memory array.
  • Using an integer index.
  • Using a first-in, last-out (FILO) process.

Pregunta 36

Pregunta
This question requires that you evaluate the underlined text to determine if it is correct. The bubble sort algorithm steps through the list to be sorted, comparing adjacent items and swapping them if they are in the wrong order. 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
  • merge
  • library
  • insertion

Pregunta 37

Pregunta
You are creating a routine that will perform calculations by using a repetition structure. You need to ensure that the entire loop executes at least once. Which looping structure should you use?
Respuesta
  • For
  • While
  • Do„While
  • For. „Each

Pregunta 38

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

Pregunta 39

Pregunta
You are developing an application that displays a list of race results. The race results are stored in the following class: public class RaceSpeedRecord { public RaceSpeedRecord Faster; public RaceSpeedRecord Slower; public string Race; public double Time; } The code that manages the list as follows: pubic class Results { pubic Results() { CurrentOlympicRecord = new RaceSpeedRecord(); } public RaceSpeedRecord CurrentOlympicRecord; public void AddRace(string raceName, double time) { } } You need to implement the Add Race method. Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right, Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.)
Respuesta
  • current.Time
  • 1-current.Slower
  • 1-current.Faster
  • current.Race
  • 2-current.Slower
  • 2-current.Faster

Pregunta 40

Pregunta
This question requires that you evaluate the underlined text to determine if it is correct. When creating a site to utilize message queuing, the "IP address" must be configured to MSMQ. 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
  • protocol
  • host header
  • port

Pregunta 41

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 42

Pregunta
Which three phrases are advantages of connection pooling? (Choose three.)
Respuesta
  • reduces time to create a connection
  • requires no configuration
  • reduces load on the server
  • improved scalability
  • improved performance

Pregunta 43

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
  • ViewState
  • Application
  • Cookies

Pregunta 44

Pregunta
This question requires that you evaluate the underlined text to determine if it is correct. The process of transforming compiled C# code into an XML string for a web service is known as deserialization. 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
  • serialization
  • decoding
  • encoding

Pregunta 45

Pregunta
A class named Manager is derived from a parent class named Employee. The Manager class includes characteristics that are unique to managers. Which term is used to describe this object-oriented concept?
Respuesta
  • Encapsulation
  • Data modeling
  • Inheritance
  • Data hiding

Pregunta 46

Pregunta
Which type of function can a derived class override?
Respuesta
  • a non-virtual public member function
  • a private virtual function
  • a protected virtual member function
  • a static function

Pregunta 47

Pregunta
You are reviewing a design for a database. A portion of this design is shown in the exhibits. Note that you may choose either the Crow's Foot Notation or Chen Notation version of the design. (To view the Crow's Foot Notation, click the Exhibit A button. To view the Chen Notation, click the Exhibit B button. )
Respuesta
  • Field
  • Attribute
  • Property
  • Entity

Pregunta 48

Pregunta
Class C and Class D inherit from ClassB. Class B inherits from Class A. The classes have the methods shown in the following table. All methods have a protected scope. Which methods does Class C have access to?
Respuesta
  • only m3, m4
  • only m2, m3
  • only ml, m3
  • m1, m3, m3
  • m2, m3, m4
  • m1, m2, m3

Pregunta 49

Pregunta
Extensible Markup Language (XML)
Respuesta
  • Extensible Markup Language (XML)
  • Cascading Style Sheets (CSS)
  • Hypertext Markup Language (HTML)
  • JavaScript (JS)

Pregunta 50

Pregunta
You are developing a webpage that enables students to manage races. The webpage will display two lists: past races and upcoming races. The page also contains a sidebar with contact information and a panel with social media settings that can be edited. Race results can be shared on social media. How many components will be on the webpage?
Respuesta
  • 2
  • 3
  • 4
  • 5
Mostrar resumen completo Ocultar resumen completo

Similar

CET_TARDE - MTA Software Development Fundamentals 1
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 2
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 4
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 Mobility and Devices Fundamentals 1
Hawerth Castro
CET_TARDE - MTA HTML5 Application Development Fundamentals 2
Hawerth Castro
Desenvolvimento De Software Educacional
Caio Araujo0868
ESW - Qualidade de Software e Testes
Raphael Luiz Fonseca