Answer:
See explaination
Explanation:
import java.util.Scanner;
public class Word
{
public static void main(String args[])
{
Scanner read=new Scanner(System.in);
char repeat='Y';
String phrase=null;
int index=0;
while(repeat=='Y')
{
System.out.println("enter a phrase :");
phrase=read.nextLine();
while(index<=0)
{
System.out.println("enter an index greater than 0");
index=Integer.parseInt(read.nextLine());
}
String s;
int spaces = phrase == null ? 0 : phrase.length() - phrase.replace(" ", "").length();
int numofwords=spaces+1;
if(index>numofwords)
{
index=numofwords;
}
System.out.println("word is: "+ getWord(phrase,index));
System.out.println("do you want to repeat (Y/N)");
repeat=read.nextLine().charAt(0);
index=0;
}
read.close();
}
private static String getWord(String phrase, int index) {
// TODO Auto-generated method stub
Scanner in =new Scanner(phrase);
String word=null;
int wordindex=0;
while(wordindex!=index)
{
word=in.next();
wordindex++;
}
in.close();
return word;
}
}
Check attachment screenshot
Answer and Explanation:
The benefit of circuit switching is that it has a specialized circuit without exchanging (guaranteed performance). Packet-Converting uses either TDM or FMD. TDM has the added benefit of being able to use most of the (multiplexing) bandwidth.
- It is the most recognizable method used to create a communication over network is circuit switching.
- It can be used for regular phone conversations.
- This enables people to share devices and circuits for conversation.
- Through network utilization, every user has an exclusive connection to a circuit.
Answer:
The correct answer is option A. "True".
Explanation:
Key management could either be manual or automated. The automated key distribution approach is more flexible and dynamic than the manual key distribution approach, because it is better at responding to changing requirements in the system. Additionally, the automated key distribution approach is faster and more economic as well as observable and auditable.
Answer:
- The graph of the function is attached below.
- The x-intercepts will be: (2, 0), (-2, 0)
- The y-intercept will be: (-20, 0)
Explanation:
Given the function

As we know that the x-intercept(s) can be obtained by setting the value y=0
so

switching sides

Add 20 to both sides


Dividing both sides by 5





so the x-intercepts will be: (2, 0), (-2, 0)
we also know that the y-intercept(s) can obtained by setting the value x=0
so



so the y-intercept will be: (-20, 0)
From the attached figure, all the intercepts are labeled.