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?
Windows Service application
Windows Forms application
DOS batch file
Terminate-and-stay-resident (TSR) program
Windows Store app
Correct answer: A
Question 2
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?
Functional
Service oriented
Structured
Event driven
Correct answer: D
Question 3
The purpose of a constructor in a class is to:
Initialize an object of that class.
Release the resources that the class holds.
Create a value type.
Inherit from the base class.
Correct answer: A
Explanation:
Each value type has an implicit default constructor that initializes the default value of that type.
Each value type has an implicit default constructor that initializes the default value of that type.