Answer:
Following are the code in the C language .
int max(int x) // function definition
{
static int largest=0; // variable declaration
if (x>largest) // checking the condition
largest=x; // assign the value of input in the largest variable
return largest; // return the largest number
}
Explanation:
Following are the description of code .
- Decalred a function max of int type which hold a parameter x of int datatype.
- In this function compared the number x with the largest .If this condition is true then largest number hold the value of x variable
- Finally return the largest number .
Corrected or Complet Question
The ____ operator executes one of two expressions based on the results of a conditional expression.
a. .
b. ( )
c. ,
d. ?:
Answer:
(d) ? :
Explanation:
The ternary operator (? :) is an operator that executes one out of two expressions based on the results of a conditional expression. It is a faster or shorthand way of writing an if ... else statement. The operator checks the conditional expression and depending on whether it is true or false, one of its two statements will be executed. For example:
String correct = (4 < 5) ? "yes" : "no" ;
In the code above,
i. the conditional statement is (4 < 5) and this will be tested for to return true or false.
ii. the first expression (the one after the ?) is "yes" which will be executed if the conditional statement returns true.
iii. and the second expression (the one after the : ) is "no" which will be executed if the conditional statement returns false.
Therefore, since the conditional expression returns true for 4 < 5, the first expression will be executed. i.e "yes". This means that the String variable <em>correct </em> will have a value of "yes".
Answer:
The correct answer to the following question will be Group Box.
Explanation:
Group Box:
- A type container that contains many types of controls that are usually related to each other in the form.
- It usually provides the identified grouping for other controls.
- used for the subdivision of the forms.
- Separation of the controls can be done with the help of grouping by group box.
Answer:
System/Application Domain and LAN-to-WAN Domain.
Explanation:
The Gramm-Leach-Bliley-Act is also referred to as the Financial Services Modernization Act of 1999. It was enacted by the 106th Congress of the United States of America and it requires that financial institutions explain to their customers the information sharing policies and ensure that customer sensitive data (privacy) is safeguarded.
This, under the Gramm-Leach-Bliley-Act (GLBA), banks must protect customer privacy.
In this scenario, a given bank has just implemented its online banking solution that allows customers to access their accounts and perform transactions via their computers or personal digital assistant (PDA) devices.
Hence, online banking servers and their public Internet hosting would fall within the System/Application Domain and LAN-to-WAN Domain.
In an IT infrastructure, there are seven main domains and these are the: User Domain, Workstation Domain, LAN Domain, LAN-to-WAN Domain, Remote Access Domain, WAN Domain, and System/Application.
Answer:
Proxy Server.
Explanation:
An administrator was given the responsibility of customizing Internet connection for around the numbers of computer systems. He stated the admin that those Internet connections need to go through a system connected to the internet because otherwise inbound and outbound traffic can still be examined but only that systems should have a Web address identified.
So, the admin configured Proxy Server because only certain systems have been identified the following address to the internet.