Which term is used to describe a class that inherits functionality from an existing class?A . Base classB . Inherited classC . Derived classD . Superclass View Answer Answer: C Explanation: Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the...
Continue readingThe purpose of a constructor in a class is to:
The purpose of a constructor in a class is to:A . Initialize an object of that class.B . Release the resources that the class holds.C . Create a value type.D . Inherit from the base class. View Answer Answer: A Explanation: Each value type has an implicit default constructor that initializes the default value...
Continue readingWhat 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. )
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. )A . IfB . Do. . . WhileC . ForD . While View Answer Answer: CD Explanation: For and While constructs check at the...
Continue readingWhich event should you handle?
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?A . DeactivateB . LeaveC . FormClosedD . FormClosing View Answer Answer: D Explanation: The Closing...
Continue readingWhich term is used to describe the process of making the application available for client computers to access?
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?A . CastingB . DeployingC . HostingD . Virtualization View Answer Answer: C Explanation: You host...
Continue readingWhich action must you perform before your application can retrieve the data?
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?A . Configure the network routers to allow database connections.B . Install the database on each client computer.C . Create a routine that bypasses firewalls by using Windows Management...
Continue readingWhat should you do?
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?A . Use a Cascading Style Sheet (CSS).B . Use inline styles.C . Use an Extensible Markup Language (XML) schema.D . Use a WebKit. View Answer Answer:...
Continue readingHow should you retrieve data in your application?
Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application?A . Script a SELECT statement to a file.B . Query a database view.C . Call a stored procedure.D . Reference an index in the database. View Answer Answer: C Explanation: The SQL...
Continue readingWhich term is used to describe small units of text that are stored on a client computer and retrieved to maintain state?
Which term is used to describe small units of text that are stored on a client computer and retrieved to maintain state?A . traceB . cookieC . server transferD . cross-page post View Answer Answer: B Explanation: HTTP is a stateless protocol. This means that user data is not persisted from one Web page...
Continue readingHOTSPOT You are developing a web application.
HOTSPOT You are developing a web application. You need to create the following graphic by using Cascading Style Sheets (CSS): Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point. View Answer Answer:...
Continue reading