<< Prev Question Next Question >>

Question 57/160

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

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (160q)
Question 1: HOTSPOT For each of the following statements, select Yes if ...
Question 2: You execute the following code. (Exhibit) How many times wil...
Question 3: The following functions are defined: (Exhibit) What does the...
Question 4: You need to debug a Windows Service application by using bre...
Question 5: You are creating a Web application. The application will be ...
Question 6: Simulating the final design of an application in order to en...
Question 7: What are two advantages of normalization in a database? (Cho...
Question 8: You are creating an application for a help desk center. Call...
Question 9: You are designing a Windows Store application. You need to d...
Question 10: Which language uses Data Definition Language (DDL) and Data ...
Question 11: HOTSPOT For each of the following statements, select Yes if ...
Question 12: The purpose of a constructor in a class is to:...
Question 13: What are two possible options for representing a Web applica...
Question 14: HOTSPOT You are creating a Windows Store application that us...
Question 15: This question requires that you evaluate the underlined text...
Question 16: This question requires that you evaluate the underlined text...
Question 17: How many parameters can a default constructor have?...
Question 18: You need to evaluate the following expression: (A&gt;B) AND ...
Question 19: You run the following code: (Exhibit) What is the value of r...
Question 20: You execute the following code. (Exhibit) How many times wil...
Question 21: The purpose of the Catch section in an exception handler is ...
Question 22: HOTSPOT You have a base class named Tree with a friend prope...
Question 23: DRAG DROP You are developing an application to display track...
Question 24: In which order do the typical phases of the Software Develop...
Question 25: You have a class with a property. You need to ensure that co...
Question 26: This question requires that you evaluate the underlined text...
Question 27: Which term is used to describe a class that inherits functio...
Question 28: This question requires that you evaluate the underlined text...
Question 29: An application presents the user with a graphical interface....
Question 30: What are the three basic states that a Windows service can b...
Question 31: You are writing a Web application that processes room reserv...
Question 32: This question requires that you evaluate the underlined text...
Question 33: You need to allow a consumer of a class to modify a private ...
Question 34: This question requires that you evaluate the underlined text...
Question 35: A table named Student has columns named ID, Name, and Age. A...
Question 36: This question requires that you evaluate the underlined text...
Question 37: HOTSPOT You are reviewing the following class that is used t...
Question 38: This question requires that you evaluate the underlined text...
Question 39: You are creating a variable for an application. You need to ...
Question 40: You have a SQL Server database named MyDB that uses SQL Serv...
Question 41: Which language was designed for the primary purpose of query...
Question 42: This question requires that you evaluate the underlined text...
Question 43: You are creating a variable for an application. You need to ...
Question 44: You are reviewing a design for a database. A portion of this...
Question 45: You are creating the necessary variables for an application....
Question 46: You run the following code: (Exhibit) What is the value of r...
Question 47: Which type of Windows application presents a parent window t...
Question 48: You are creating the necessary variables for an application....
Question 49: What is displayed when you attempt to access a Web service b...
Question 50: You are developing an application that tracks tennis matches...
Question 51: You create an object of type ANumber. The class is defined a...
Question 52: The throw keyword is used to perform which two actions? (Cho...
Question 53: You are writing a Web application that processes room reserv...
Question 54: DRAG DROP You are extending an application that stores and d...
Question 55: You are creating an ASP. NET Web application. Which line of ...
Question 56: Which type of function can a derived class override?...
Question 57: You are designing a class for an application. You need to re...
Question 58: You have a class named Glass that inherits from a base class...
Question 59: Which type of application has the following characteristics ...
Question 60: You execute the following code. (Exhibit) How many times wil...
Question 61: You are creating an application that presents users with a g...
Question 62: This question requires that you evaluate the underlined text...
Question 63: In the life cycle of an ASP. NET Web page, which phase follo...
Question 64: You need to create a property in a class. Consumers of the c...
Question 65: You need to create an application that processes data on a l...
Question 66: You are building a web application that enables internationa...
Question 67: In your student directory database, the Students table conta...
Question 68: Which term is used to describe small units of text that are ...
Question 69: You have a server that limits the number of data connections...
Question 70: You create an application that uses Simple Object Access Pro...
Question 71: In this XHTML code sample, what will cause an error? (Exhibi...
Question 72: You create an object of type ANumber. The class is defined a...
Question 73: HOTSPOT For each of the following statements, select Yes if ...
Question 74: A class named Manager is derived from a parent class named E...
Question 75: You plan to create an application for your company. The appl...
Question 76: HOTSPOT You are developing a web application. You need to cr...
Question 77: Which two types of information should you include in an effe...
Question 78: You execute the following code. (Exhibit) What will the vari...
Question 79: HOTSPOT The ASP.NET MVC page lifecycle is shown in the follo...
Question 80: DRAG DROP You are extending an application that stores and d...
Question 81: You need to group all the style settings into a separate fil...
Question 82: Class C and Class D inherit from Class B. Class B inherits f...
Question 83: You are designing a class for an application. You need to re...
Question 84: You are developing a webpage that enables students to manage...
Question 85: This question requires that you evaluate the underlined text...
Question 86: This question requires that you evaluate the underlined text...
Question 87: You are developing a database that other programmers will qu...
Question 88: You are creating an application for computers that run Windo...
Question 89: You have a class named Glass that inherits from a base class...
Question 90: Your database administrators will not allow you to write SQL...
Question 91: You are creating an application that accepts input and displ...
Question 92: You create an object of type ANumber. The class is defined a...
Question 93: Which three items are benefits of encapsulation? (Choose thr...
Question 94: HOTSPOT You are reviewing the architecture for a system that...
Question 95: You execute the following code. (Exhibit) How many times wil...
Question 96: All objects in .NET inherit from which item?...
Question 97: You run the following code. (Exhibit) What will the value of...
Question 98: You are creating an application that presents users with a g...
Question 99: HOTSPOT You have the following flowchart: (Exhibit) Use the ...
Question 100: HOTSPOT You are reviewing the following code that saves uplo...
Question 101: This question requires that you evaluate the underlined text...
Question 102: Which service can host an ASP.NET application?...
1 commentQuestion 103: The Dog class and the Cat class inherit from the Animal clas...
Question 104: HOTSPOT For each of the following statements, select Yes if ...
Question 105: When a web service is referenced from a client application i...
Question 106: The elements of an array must be accessed by:...
Question 107: Two classes named Circle and Square inherit from the Shape c...
Question 108: You are creating an application for a priority help desk cen...
Question 109: Where must Internet Information Services (IIS) be installed ...
Question 110: This question requires that you evaluate the underlined text...
Question 111: You need to ensure the data integrity of a database by resol...
Question 112: What are two methods that can be used to evaluate the condit...
Question 113: You have a Windows Service running in the context of an acco...
Question 114: HOTSPOT You are reviewing the following class that is used t...
Question 115: A data warehouse database is designed to:...
Question 116: This question requires that you evaluate the underlined text...
Question 117: You are creating an application that presents the user with ...
Question 118: This question requires that you evaluate the underlined text...
Question 119: You execute the following code. (Exhibit) What will the vari...
Question 120: You have a website that includes a form for usemame and pass...
Question 121: You need to create a stored procedure that passes in a perso...
Question 122: Class C and Class D inherit from Class B. Class B inherits f...
Question 123: The following functions are defined: (Exhibit) What does the...
Question 124: You have a stack that contains integer values. The values ar...
Question 125: You are creating a routine that will perform calculations by...
Question 126: You are creating a database for a student directory. The Stu...
Question 127: This question requires that you evaluate the underlined text...
Question 128: Which three are valid SQL keywords? (Choose three.)...
Question 129: This question requires that you evaluate the underlined text...
Question 130: You are migrating several HTML pages to your website. Many o...
Question 131: Which function does Simple Object Access Protocol (SOAP) pro...
Question 132: You are creating a routine that will perform calculations by...
Question 133: HOTSPOT You are reviewing the following code that saves uplo...
Question 134: DRAG DROP You are developing an application to display track...
Question 135: What does the Console.Error property do within a console-bas...
Question 136: You have a class named Truck that inherits from a base class...
Question 137: HOTSPOT You open the Internet Information Services 7.5 Manag...
Question 138: How does a console-based application differ from a Windows F...
Question 139: You have a table named ITEMS with the following fields: ID (...
Question 140: DRAG DROP You are developing an application that displays a ...
Question 141: You have a table named ITEMS with the following fields: ID (...
Question 142: Your application must pull data from a database that resides...
Question 143: You are creating an application that presents the user with ...
Question 144: In the application life cycle, the revision of an applicatio...
Question 145: You have a class named Truck that inherits from a base class...
Question 146: Which of the following must exist to inherit attributes from...
Question 147: You are developing an application that tracks tennis matches...
Question 148: HOTSPOT For each of the following statements, select Yes if ...
Question 149: How should you configure an application to consume a Web ser...
Question 150: Which three phrases are advantages of connection pooling? (C...
Question 151: Which language allows you to dynamically create content on t...
Question 152: How does a console-based application differ from a Windows S...
Question 153: You are reviewing a design for a database. A portion of this...
Question 154: Which type of function can a derived class override?...
Question 155: You have a Microsoft ASP.NET web application. You need to st...
Question 156: Which programming language is characterized as client-side, ...
Question 157: You execute the following code. (Exhibit) What will the vari...
Question 158: HOTSPOT For each of the following statements, select Yes if ...
Question 159: You execute the following code. (Exhibit) What will the vari...
Question 160: HOTSPOT For each of the following statements, select Yes if ...