CET_TARDE - MTA Software Development Fundamentals 3

Description

Software Development Fundamentals Quizzes preparing to certification https://www.exam-labs.com/exam/98-361#!
Hawerth Castro
Quiz by Hawerth Castro, updated more than 1 year ago
Hawerth Castro
Created by Hawerth Castro over 7 years ago
234
0

Resource summary

Question 1

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

Question 2

Question
The following functions are defined:
Answer
  • 210
  • 211
  • 2101
  • 2121

Question 3

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

Question 4

Question
The purpose of the Catch section in an exception handler is to:
Answer
  • 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.

Question 5

Question
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?
Answer
  • 2
  • 3
  • 6
  • 7

Question 6

Question
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?
Answer
  • Windows Forms
  • Windows Service
  • ASP. NET
  • Console-based

Question 7

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

Question 8

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

Question 9

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

Question 10

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

Question 11

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

Question 12

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

Question 13

Question
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?
Answer
  • It reorders the records alphabetically.
  • It speeds up query execution.
  • It minimizes storage requirements.
  • It reorders the records numerically.

Question 14

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

Question 15

Question
You are developing a web application. You need to create the following graphic by using Cascading Style Sheets (CSS):
Answer
  • 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;

Question 16

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

Question 17

Question
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.
Answer
  • No change is needed
  • Main
  • Program
  • Object

Question 18

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

Question 19

Question
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.
Answer
  • YES
  • no
  • YES
  • NO
  • YES
  • NO

Question 20

Question
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?
Answer
  • Deactivate
  • Leave
  • FormClosed
  • FormClosing

Question 21

Question
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.
Answer
  • YES
  • NO
  • YES
  • NO
  • YES
  • NO

Question 22

Question
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?
Answer
  • Console-based
  • Windows Forms
  • Windows Service
  • ClickOnce

Question 23

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

Question 24

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

Question 25

Question
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?
Answer
  • 0
  • 4
  • 5
  • False
  • Null
  • True

Question 26

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

Question 27

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

Question 28

Question
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.
Answer
  • No change is needed
  • succeeds or fails as a unit
  • finishes as quickly as possible
  • can be completed concurrently with other transactions

Question 29

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

Question 30

Question
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?
Answer
  • Casting
  • Deploying
  • Hosting
  • Virtualization

Question 31

Question
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?
Answer
  • 49
  • 50
  • 51
  • 100

Question 32

Question
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?
Answer
  • 0
  • 1
  • 2
  • 3

Question 33

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

Question 34

Question
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?
Answer
  • client-side
  • server-side
  • multithreaded
  • batch processing

Question 35

Question
The elements of an array must be accessed by:
Answer
  • 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.

Question 36

Question
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.
Answer
  • No change is needed
  • merge
  • library
  • insertion

Question 37

Question
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?
Answer
  • For
  • While
  • Do„While
  • For. „Each

Question 38

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

Question 39

Question
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.)
Answer
  • current.Time
  • 1-current.Slower
  • 1-current.Faster
  • current.Race
  • 2-current.Slower
  • 2-current.Faster

Question 40

Question
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.
Answer
  • No change is needed
  • protocol
  • host header
  • port

Question 41

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

Question 42

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

Question 43

Question
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?
Answer
  • Session
  • ViewState
  • Application
  • Cookies

Question 44

Question
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.
Answer
  • No change is needed
  • serialization
  • decoding
  • encoding

Question 45

Question
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?
Answer
  • Encapsulation
  • Data modeling
  • Inheritance
  • Data hiding

Question 46

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

Question 47

Question
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. )
Answer
  • Field
  • Attribute
  • Property
  • Entity

Question 48

Question
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?
Answer
  • only m3, m4
  • only m2, m3
  • only ml, m3
  • m1, m3, m3
  • m2, m3, m4
  • m1, m2, m3

Question 49

Question
Extensible Markup Language (XML)
Answer
  • Extensible Markup Language (XML)
  • Cascading Style Sheets (CSS)
  • Hypertext Markup Language (HTML)
  • JavaScript (JS)

Question 50

Question
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?
Answer
  • 2
  • 3
  • 4
  • 5
Show full summary Hide full summary

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