Quiz
Software Development Fundamentals: 98-361 parte 4
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (43)
1You 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
2An 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?- AEvent driven
- BStructured
- CService oriented
- DFunctional
3How does a console-based application differ from a Windows Forms application?
- AConsole-based applications do not display a graphical interface.
- BWindows Forms applications can access network resources.
- CConsole-based applications require the XNA Framework to run.
- DWindows Forms applications do not provide a method for user input.
4Which type of Windows application presents a parent window that contains child windows?
- AMultiple-document interface (MDI)
- BCommand-line interface (CLI)
- CSingle-document interface (SDI)
- DApplication programming interface (API)
5The purpose of the Catch section in an exception handler is to:
- AExecute code only when an exception is thrown.
- BConclude the execution of the application.
- CBreak out of the error handler.
- DExecute code regardless of whether an exception is thrown.
6You 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?- AFalse
- B0
- C4
- DNull
- ETrue
7You 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?- AString
- BDecimal
- CChar
- DSingle
8What 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. )
- AFor
- BWhile
- CDo. . . While
- DIf
9The purpose of a constructor in a class is to:
- AInitialize an object of that class.
- BInherit from the base class.
- CRelease the resources that the class holds.
- DCreate a value type.
10You 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?- APrivate
- BProtected
- CPublic
- DFriend
11You need to allow a consumer of a class to modify a private data member.
What should you do?- AProvide a public function that assigns a value to the data member.
- BCreate global variables in the class.
- CAssign a value directly to the data member.
- DProvide a private function that assigns a value to the data member.
12Which term is used to describe a class that inherits functionality from an existing class?
- ADerived class
- BSuperclass
- CBase class
- DInherited class
13A 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?- AInheritance
- Bdata modeling
- Cdata hiding
- DEncapsulation
14Two 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
15You are creating an application that presents users with a graphical interface in which they computers that do not have network connectivity.
Which type of application should you choose?- AWindows Forms
- BClickOnce
- CWindows Service
- DConsole-based
16The elements of an array must be accessed by:
- AUsing an integer index.
- BCalling the item that was most recently inserted into the array.
- CUsing a first-in, last-out (FILO) process.
- DCalling the last item in the memory array.
17Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:
- ASoftware testing
- BPrototyping
- CFlowcharting
- DAnalyzing requirements
18You 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?- A3
- B2
- C6
- D7
19You 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?- AASP. NET
- BConsole-based
- CWindows Service
- DWindows Forms
20You 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 programm- Aserver-side
- Bclient-side
- Cbatch processing
- Dmultithreaded
21Which term is used to describe small units of text that are stored on a client computer and retrieved to maintain state?
- Acookie
- Btrace
- Ccross-page post
- Dserver transfer
22Which function does Simple Object Access Protocol (SOAP) provide when using Web services?
- Acommunications protocol
- Bmodel for describing Web services
- Cdirectory of registered Web services
- Dsecurity model
23Where must Internet Information Services (IIS) be installed in order to run a deployed ASP.NET application?
- Aon the computer that hosts the application
- Bon the computer that you plan to deploy from
- Con the client computers
- Don the Application Layer Gateway Service
24You 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?- AHosting
- BDeploying
- CVirtualization
- DCasting
25You 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?- AUse a Cascading Style Sheet (CSS).
- BUse an Extensible Markup Language (XML) schema.
- CUse inline styles.
- DUse a WebKit.
26You 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 pooling
- BNamed pipes
- CNormalization
- DConnection timeouts
27QUESTION 181
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?- AEstablish a connection to the database by using the appropriate data provider.
- BCreate a routine that bypasses firewalls by using Windows Management Instrumentation (WMI).
- CInstall the database on each client computer.
- DConfigure the network routers to allow database connections.
28Your database administrators will not allow you to write SQL code in your application.
How should you retrieve data in your application?- ACall a stored procedure.
- BReference an index in the database.
- CQuery a database view.
- DScript a SELECT statement to a file.
29You 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?- AGet
- BSet
- CLet
- DReturn
30Which of the following must exist to inherit attributes from a particular class?
- AAn is-a relationship
- BPublic properties
- CA has-a relationship
- DStatic members
31How many parameters can a default constructor have?
- A0
- B1
- C2
- D3 or more
32You 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?- AMybase.brake ()
- BTruck.brakef)
- CVehicle.brake()
- DMe.brake ()
33Which type of function can a derived class override?
- AA Protected Overridable member function
- BA Shared function
- CA Private Overridable function
- DA non-overridable public member function
34The purpose of the Finally section in an exception handler is to:
- AExecute code regardless of whether an exception is thrown.
- BExecute code only when an exception is thrown.
- CBreak out of the error handler.
- DConclude the execution of the application.
35You 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?- ADouble
- BDecimal
- CSingle
- DByte
36You 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?- ADo-While
- BFor-Each
- CFor
- DWhile
37You cannot create a graphical interface for this application.
Which type of application should you create?- AWeb-based
- BWindows Service
- CWindows Forms
- Dconsole-based
38You 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?- AFormClosing
- BDeactivate
- CFormClosed
- DLeave
39Which 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- AWindows Service
- BConsole-based
- CWindows Forms
- DBatch file
40You 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?- AQueue
- BHashtable
- CStack
- DBinary tree
41In which order do the typical phases of the Software Development Life Cycle occur?
- ARequirements gathering, design, development, and testing
- BDevelopment, design, requirements gathering, and testing
- CDesign, requirements gathering, development, and testing
- DDesign, development, requirements gathering, and testing
42You need to create an application that processes data on a last-in, first-out (LIFO) basis.
Which data structure should you use?- AStack
- BArray
- CTree
- DQueue
43In the application life cycle, the revision of an application after it has been deployed is referred to as:
- AMaintenance
- BMonitoring
- CUnit testing
- DIntegration
Information
- Description
- Quiz on Software Development Fundamentals: 98-361 parte 4, created by Carlos Serôdio on 30/09/2017.
- Author
- Carlos Serôdio
- Language
- Português
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz