Question: In C#, you must declare a variable in a program before you can use it to store data.

Answer Options:

True
False

Answer: True

 

Question: Because decimal is the preferred data type for storing monetary amounts, remembering that “m” stands for “money” might help you to remember that decimal literals must end with the letter m or n.

Answer Options:

True
False

Answer: False

 

Question: Which one of the following statements initializes the color variable with the string “red”?

Answer Options:

<font face=”Courier New”>color = “&quotred&quot”;</font>
<font face=”Courier New”>string color = &quotred&quot;</font>
<font face=”Courier New”>color = &quotred&quot;</font>
<font face=”Courier New”>string color = &quotred&quot;</font>

Answer: <font face=”Courier New”>string color = &quotred&quot;</font>

 

Question: The process of dropping a number’s fractional part is called __________.

Answer Options:

rounding
diminution
reduction
truncation

Answer: truncation

 

Question: In code, if you want to retrieve the data that has been typed into a TextBox, you simply retrieve the contents of the control’s __________ property.

Answer Options:

Output
String
Text
Data

Answer: Text

 

Question: Defining the rights of organizational members to information in the organization is called

Answer Options:

Installation
User management
Access control
Configuration

Answer: User management

 

Question: Listening and/or recording the activities of a system to maintain performance and security is called

Answer Options:

Monitoring
Configuration
Access control
User management

Answer: Monitoring

 

Question: The types of monitoring include

Answer Options:

Penetration testing and access control
Reactive monitoring and pro-active testing
Health checking and log monitoring
Nagios and log monitoring

Answer: Reactive monitoring and pro-active testing

 

Question: A part of a system whose failure will stop the entire system from working is a

Answer Options:

Single point of failure
Nagios
Availability
Redundancy

Answer: Single point of failure

 

Question: A hot spare is a

Answer Options:

Popular component purchased when it is on sale
Single point of failure
Spare components used to replace failed components as quickly as possible
Redundant component that can replace a failed component with no downtime

Answer: Redundant component that can replace a failed component with no downtime

 

Question: A cold spare is a

Answer Options:

Spare components used to replace failed components as quickly as possible
Redundant component that can replace a failed component with no downtime
Popular component purchased when it is on sale
Single point of failure

Answer: Spare components used to replace failed components as quickly as possible

 

Question: Common functions offered by system utilities in the Windows world include

Answer Options:

Automating and auditing the installation and maintenance of software
Replacing failed components with minimal downtime
Automating the collection of music and other multimedia information
Providing surplus capacity to improve availability

Answer: Automating and auditing the installation and maintenance of software

 

Question: Redundancy is

Answer Options:

Availability of choices
Managing users in a domain
Availability of multiple versions of a software
Surplus capacity, used to improve the reliability of a system

Answer: Surplus capacity, used to improve the reliability of a system

 

Question: The domain controller in Active Directory

Answer Options:

Implements the active directory rules in the domain
Serves web pages in the domain
Installs updates on all computers in the domain
Bills users in the domain

Answer: Implements the active directory rules in the domain

 

Question: Active Directory

Answer Options:

Improves search features in Windows computers
Adds icons to directories in Windows Explorer
Provides centralized user management and access control for computers
Encourages computer users to perform physical activities throughout the day

Answer: Provides centralized user management and access control for computers

 

Question: You cannot declare two variables with the same __________ in the same scope.

Answer Options:

lifetime
data type
name
value

Answer: name

 

Question: Which one of the following statements declares the string variables city, state, and zip using a single declaration statement?

Answer Options:

<font face=”Courier New”>string city, state, zip;</font>
<font face=”Courier New”>string city; string state; string zip;</font>
<font face=”Courier New”>string city state zip;</font>
<font face=”Courier New”>string city; string state; string zip;</font>

Answer: <font face=”Courier New”>string city, state, zip;</font>

 

Question: You cannot assign a double or a decimal value to an int variable because such an assignment could result in __________.

Answer Options:

buffer overflow
complex parse errors
a loss of data
value sharing conflicts

Answer: a loss of data