There are convertors online for this but the answer is 5
<span />
Answer:
The correct answer to the following question will be "_msdcs".
Explanation:
Msdcs directory known as Microsoft Domain Controller Catalog requires SRV documents that are used to identify domain controller for certain operations.
- It automatically generated subdomain keeps all Microsoft-hosted resources SRV data, so it's the correct answer.
- It includes common SRV documents, documents of LDAP, documents of Kpass, CNAME, etc.
Answer:
float avg = 23.5;
Explanation:
Given
The declarative statements
Required
Determine which of them is invalid
<em>Analyzing them one after the other;</em>
int zebraCnt = 40000;
This statement is valid as zebraCnt is correctly declared as type integer
<em></em>
long birdCnt = 222_222_222_222_222L;
This statement is valid as birdCnt is correctly declared as type long
float avg = 23.5;
This statement is invalid as avg is incorrectly declared as type float.
<em>To correctly declare avg, you either change the datatype to double: as follows;</em>
double avg = 23.5;
or <em>append f to the declaration; as follows</em>
float avg = 23.5f;
double avg = 98.32121;
This statement is valid as avg is correctly declared as type double
Hence, the incorrect declarative statement is float avg = 23.5;
Answer:
if (pH<7.0){
neutral=0;
base=0;
acid=1;
}
else if (pH>7.0){
neutral=0;
base=1;
acid=0;
}
else if (pH==7.0){
neutral=1;
base=0;
acid=0;
}
Explanation:
As required by the question, if and else statements have been used to test the value of the pH and assign the apropriate values to the variables neutral, base and acid.
The code snippet below can be used to prompt the user to enter values for pH
<em>import java.util.Scanner;</em>
<em>public class pHTest {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner scr = new Scanner(System.in);</em>
<em> System.out.println("Enter a value for the pH");</em>
<em> int neutral, base, acid;</em>
<em> double pH = scr.nextDouble();</em>
<em> if (pH<7.0){</em>
<em> neutral=0;</em>
<em> base=0;</em>
<em> acid=1;</em>
<em> }</em>
<em> else if (pH>7.0){</em>
<em> neutral=0;</em>
<em> base=1;</em>
<em> acid=0;</em>
<em> }</em>
<em> else if (pH==7.0){</em>
<em> neutral=1;</em>
<em> base=0;</em>
<em> acid=0;</em>
<em> }</em>
<em>} }</em>
approvals necessary to bypass the policy