CET_TARDE - MTA Software Development Fundamentals 2

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

Resource summary

Question 1

Question
How should you configure an application to consume a Web service?
Answer
  • Add the Web service to the development computer.
  • Add a reference to the Web service in the application.
  • Add a reference to the application in the Web service.
  • Add the Web service code to the application.

Question 2

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
  • functional
  • dynamic
  • in-browser
  • server-side

Question 3

Question
You are developing an application to display track and field race results. The application must display the race results twice. The first time it must display only the winner and runner-up. The second time it must display all participants. The code used to display results is shown below.
Answer
  • 1-break
  • 1-yield return
  • 1-return
  • 2-yield return
  • 1-yield break
  • 2-break
  • 3-yield return
  • 2-return
  • 3-break
  • 3-return
  • 2-yield break
  • 3-yield break

Question 4

Question
A data warehouse database is designed to:
Answer
  • Enable business decisions by collecting, consolidating, and organizing data.
  • Support a large number of concurrent users.
  • Support real-time business operations.
  • Require validation of incoming data during real-time business transactions.

Question 5

Question
Which language was designed for the primary purpose of querying data, modifying data, and managing databases in a Relational Database Management System?
Answer
  • Java
  • SQL
  • C++
  • Visual Basic

Question 6

Question
This question requires that you evaluate the underlined text to determine if it is correct. Converting a value type to a reference type in an object is called boxing. 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
  • unboxing
  • interfacing
  • mapping

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 your student directory database, the Students table contains the following fields: firstName lastName emailAddress telephoneNumtoer You need to retrieve the data from the firstName, lastName, and emailAddress fields for all students listed in the directory. The results must be in alphabetical order according to lastName and then firstName. Which statement should you use?

Question 9

Question
You plan to create an application for your company. The application will run automated routines and write the results to a text-based log file. Little or no user interaction is required. Security requirements on the host computers prevent you from running applications on startup, and users must be able to see the status easily on the screen. The host computers also have limited memory and monitors that display only two colors. These computers will have no network connectivity. Which type of application should you use for this environment?
Answer
  • Directx
  • Windows Service
  • console-based
  • Windows Store app

Question 10

Question
You are developing an application that tracks tennis matches. A match is represented by the following class:
Answer
  • 0
  • 1
  • 2
  • 3

Question 11

Question
You have a Windows Service running in the context of an account that acts as a non-privileged user on the local computer. The account presents anonymous credentials to any remote server. What is the security context of the Windows Service?
Answer
  • LocalSystem
  • User
  • NetworkService
  • LocalService

Question 12

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

Question 13

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

Question 14

Question
You are creating a variable for an application. You need to store data that has the following characteristics in this variable: ✑ Consists of numbers and characters ✑ Includes numbers that have decimal points Which data type should you use?
Answer
  • String
  • Float
  • Char
  • Decimal

Question 15

Question
In which order do the typical phases of the Software Development Life Cycle occur?
Answer
  • Development, design, requirements gathering, and testing
  • Design, requirements gathering, development, and testing
  • Design, development, requirements gathering, and testing
  • Requirements gathering, design, development, and testing

Question 16

Question
Which service can host an ASP.NET application?
Answer
  • Internet Information Services
  • Cluster Services
  • Remote Desktop Services
  • Web Services

Question 17

Question
You have a website that includes a form for usemame and password. You need to ensure that users enter their username and password. The validation must work in all browsers. Where should you put the validation control?
Answer
  • in both the client-side code and the server-side code
  • in the client-side code only
  • in the Web.config file
  • in the server-side code only

Question 18

Question
You are creating an application for a help desk center. Calls must be handled in the same order in which they were received. Which data structure should you use?
Answer
  • Binary tree
  • Stack
  • Hashtable
  • Queue

Question 19

Question
Which programming language is characterized as client-side, dynamic and weakly typed?
Answer
  • JavaScript
  • HTML
  • ASP.NET
  • C#

Question 20

Question
You are creating a database for a student directory. The Students table contains the following fields:
Answer
  • WHERE Students SELECT *
  • SELECT firstName, lastName, telephoneNumber FROM Students
  • SELECT firstName, lastName, telephoneNumber IN Students
  • SELECT * FROM Students
  • WHERE Students SELECT firstName, lastName, telephoneNumber

Question 21

Question
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 "No change is needed'' if the underlined text makes the statement correct.
Answer
  • No change is needed
  • String Array
  • StoredProcedureCollection
  • Dictionary

Question 22

Question
You create an object of type ANumber. The class is defined as follows.
Answer
  • Null
  • 0
  • 3
  • 7

Question 23

Question
Your application must pull data from a database that resides on a separate server. Which action must you perform before your application can retrieve the data?
Answer
  • Configure the network routers to allow database connections.
  • Install the database on each client computer.
  • Create a routine that bypasses firewalls by using Windows Management Instrumentation (WMI).
  • Establish a connection to the database by using the appropriate data provider.

Question 24

Question
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?

Question 25

Question
The Dog class and the Cat class inherit from the Animal class. The Animal class includes a breathe() method and a speak() method. If the speak() method is called from an object of type Dog, the result is a bark. If the speak() method is called from an object of type Cat, the result is a meow. Which term is used to describe this object-oriented concept?
Answer
  • multiple inheritance
  • polymorphism
  • data hiding
  • encapsulation

Question 26

Question
How many parameters can a default constructor have?
Answer
  • 0
  • 1
  • 2
  • 3 or more

Question 27

Question
Which term is used to describe a class that inherits functionality from an existing class?
Answer
  • Base class
  • Inherited class
  • Derived class
  • Superclass

Question 28

Question
You need to allow a consumer of a class to modify a private data member. What should you do?
Answer
  • Assign a value directly to the data member.
  • Provide a private function that assigns a value to the data member.
  • Provide a public function that assigns a value to the data member.
  • Create global variables in the class.

Question 29

Question
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?
Answer
  • value
  • add
  • get
  • set

Question 30

Question
This question requires that you evaluate the underlined text to determine if it is correct. The Response.Redirect method is used to transfer processing of the current page to a new page, and then return processing back to the calling page once processing of the new page has completed. 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
  • Server.Transfer method
  • Server.Execute method
  • meta http-equiv="refresh" tag

Question 31

Question
All objects in .NET inherit from which item?
Answer
  • the System.Object class
  • a value type
  • a reference type
  • the System.Type class

Question 32

Question
This question requires that you evaluate the underlined text to determine if it is correct. A data dictionary that describes the structure of a database is called metadata. 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
  • normalization
  • a database management system (DBMS)
  • metacontent

Question 33

Question
You are reviewing a design for a database. A portion of this design is shown in the exhibit. Note that you may choose to view 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
  • many-to-many
  • one-to-many
  • one-dimensional
  • one-to-one
  • multi-dimensional

Question 34

Question
You need to group all the style settings into a separate file that can be applied to all the pages in a Web application. What should you do
Answer
  • Use a Cascading Style Sheet (CSS).
  • Use inline styles.
  • Use an Extensible Markup Language (XML) schema.
  • Use a WebKit.

Question 35

Question
This question requires that you evaluate the underlined text to determine if it is correct. A table whose attributes depend only on the primary key must be at least second normal form. 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
  • first
  • third
  • fourth

Question 36

Question
This question requires that you evaluate the underlined text to determine if it is correct. A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a ViewState. 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
  • cookie
  • form post
  • QueryString

Question 37

Question
You are extending an application that stores and displays the results of various types of foot races. The application contains the following definitions: public interface IDisplayResult { void Display(); } public class Race { public int Seconds; public virtualvoid Display() { Console.WhiteLine(Seconds); } } The following code is used to display the result for a race: var r1 = new FootRace(); var r2 = r1 as IDisplayResult; r1.Seconds = 99; r2.Display(); r1.Display(); r1.DisplayRaw(); The contents of the console must be as follows: You need to implement the FootRace class. Match the method declaration to the method body, (To answer, drag the appropriate declaration from the column on the left to its body on the right. Each declaration may be used once, more than once, or not at all. Each correct match is worth one point.)
Answer
  • public override void Display()
  • public void DisplayRaw()
  • void IDisplayResult.Display()
  • private void Display()

Question 38

Question
You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck class implementation of the brake () method?
Answer
  • Vehicle. brake ();
  • This. brake ();
  • MyBase. brake();
  • Truck. brake ();

Question 39

Question
Which two types of information should you include in an effective test case? (Choose two.)
Answer
  • the expected result from testing the case
  • multiple actions combined as a single step to test the case
  • any pre-conditions necessary to test the case
  • the stakeholders who originated the test case

Question 40

Question
Where must Internet Information Services (IIS) be installed in order to run a deployed ASP.NET application?
Answer
  • on the computer that you plan to deploy from
  • on the computer that hosts the application
  • on the Application Layer Gateway Service
  • on the client computers

Question 41

Question
You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics: ✑ Consists of numbers ✑ Includes numbers that have decimal points ✑ Requires more than seven digits of precision You need to use a data type that will minimize the amount of memory that is used. Which data type should you use?
Answer
  • decimal
  • double
  • byte
  • float

Question 42

Question
What are two methods that can be used to evaluate the condition of a loop at the start of each iteration? (Each correct answer presents a complete solution. Choose two. )
Answer
  • If
  • Do. . . While
  • For
  • While

Question 43

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 44

Question
You are designing a Windows Store application. You need to design the application so that users can share content by connecting two or more devices by physically tapping the devices together. Which user experience (UX) guideline for Windows Store applications should you use?
Answer
  • Share and data exchange
  • location-awareness
  • device-awareness
  • proximity gestures

Question 45

Question
What is displayed when you attempt to access a Web service by using a Web browser?
Answer
  • a listing of methods that are available in the Web service
  • a directory listing of the Web service's application structure
  • an error page explaining that you have accessed the Web service incorrectly
  • a visual depiction of your preliminary connection to the Web service

Question 46

Question
In this XHTML code sample, what will cause an error?
Answer
  • All tags are not in uppercase.
  • The body tag is missing a background attribute.
  • The line break tag is incorrectly formatted.
  • The HTML tags do not read XHTML.

Question 47

Question
You are creating an application for a priority help desk center. The most recent call must be handled first. Which data structure should you use?
Answer
  • queue
  • hashtable
  • stack
  • binary tree

Question 48

Question
You execute the following code.
Answer
  • 1
  • 2
  • 3
  • 4

Question 49

Question
You need to create a stored procedure that passes in a person's name and age. Which statement should you use to create the stored procedure?
Answer
  • Option A
  • Option B
  • Option C
  • Option D

Question 50

Question
You are reviewing the architecture for a system that allows race officials to enter the results of 5K race results. The results are then made available to students using a web application. The architecture is shown below:
Answer
  • satellite link
  • student computer
  • race official computer
  • web application server
  • satellite link
  • race officials
  • results servers
  • web application servers
Show full summary Hide full summary

Similar

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