1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kvv77 [185]
3 years ago
15

Which of these is a subdirectory? HTTPS /FAQ .org WWW

Computers and Technology
1 answer:
Katyanochek1 [597]3 years ago
8 0

Answer:

/FAQ

Explanation:

You might be interested in
Question 2 In this question you are asked to calculate probabilties for the discrete uniform and exponential distribution. Make
sasho [114]

Answer:

Hi there! The question is asking to make changes to the H3_Q2.java program however there is no such program attached. Nevertheless, the requirements in the question can be addressed in a new H3_Q2.java program that i've listed below.

Explanation:

We can use the Scanner util in Java for prompting user input. The method nextInt() and nextDouble() allow only values of types "int" and "double" respectively. I have used the "switch" statement to direct the program based on user selection of menu item. The checks are printed with the "System.out.println" command and the program exits in case of error or invalid input. Finally, the calculation of probability simply requires you to replace the comment with the formula for the probability calculation based on the method chosen.

H3_Q2.java

import java.util.Scanner;

public class H3_Q2 {

 public static void main(String args[]) {

   // print main menu for user selection

   System.out.println("Please type 1 to select 'discrete uniform' or 2 to select 'exponential'");

   Scanner scan = new Scanner(System.in);

   int selection = scan.nextInt();

   switch(selection) {

     case 1:

       // discrete uniform

       System.out.println("Please enter a lower bound value a: ");

       int a = scan.nextInt();

       System.out.println("Please enter a upper bound value b: ");

       int b = scan.nextInt();

       System.out.println("Please enter a value x: ");

       int x = scan.nextInt();

       if (b <= a) {

         System.out.println("The upper bound value b should be greater than the lower bound value a");

         System.exit(0);

       }

       if (a > x) {

         System.out.println("The value x should be greater than the lower bound value b");

         System.exit(0);

       }

       if (b < x) {

         System.out.println("The value x should be greater than the lower bound value b");

         System.exit(0);

       }

       break;

     case 2:

       // exponential

       System.out.println("Please enter a lambda value for exponential: ");

       double lambda = scan.nextDouble();

       System.out.println("Please enter a value x: ");

       double d_x = scan.nextDouble();

       if (d_x <= 0.0) {

         System.out.println("The value x should be greater than 0");

         break;

       } else {

         // calculate P(X = x) and P(X ≤ x)

         // result = calculateExponential()

         System.out.println("The calculation for the exponential method given the lambda value " + lambda + " and the value of x " + d_x + " is: ");

       }

       break;

     default:

       System.out.println("Invalid input. Exiting..");

       break;

   }

 }

}

7 0
3 years ago
We can successfully manage influences in our lives by
Natalija [7]

Answer:

D

Explanation:

8 0
3 years ago
6. What is the correct way to write 340,000,000 in scientific notation? (1 point
givi [52]

Answer:3.4X10^8

Explanation:

4 0
3 years ago
1) What are 3 important skills for teamwork and collaboration that you learned in the text and videos of this lesson?
Irina18 [472]

Answer:

1) contributing

2) accepting the agreement

3) negotiating the win-win problem-related answers for attaining the goal of your team.

Well, however, there can be many that you need to follow while working in a team or collaboration. Please check the explanation.

Explanation:

Interactive indicators comprise: -

Construction and Preserving Relationships

Give and accept criticism from aristocracies or additional team associates in command to accomplish the job.

Segment credit for decent thoughts with various others.

Recognize others cleverness, involvement, originality, and contributes

Keep the ears wide open while others speak, accept the thoughts and discover intent, opinions, as well as other member's ideas.

Spread and make better the idea of the experts or other colleagues.

Etc. Please go through your prescribed book for more details.

6 0
3 years ago
A ________ is a small text file passed to a web browser on a user's computer by a web server.
Aleksandr-060686 [28]
Its called a Cookie.
7 0
3 years ago
Other questions:
  • Analyze a software application that enables people to purchase prescription drugs on the internet. briefly describe this applica
    14·1 answer
  • PLEASE HELP ASAP i will mark brilliant
    12·2 answers
  • Which kind of image is indispensable and needs added text to go with it
    7·1 answer
  • Mika forgot to put in the function name in his function header for the code below. What would be the best function
    12·1 answer
  • A superscope is a special type of scope that allows a dhcp server to service multiple ipv4 subnets on multiple physical networks
    7·1 answer
  • Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have alre
    6·1 answer
  • When using the Internet, it is important to know the validity of web page you are using. How can you know if the information is
    5·1 answer
  • HELP AASAP BRAINLIEST JUST HELP
    13·1 answer
  • Phoebe is a Counselor who is trying to schedule a meeting with one of her patients. Which best describes an inappropriate locati
    10·2 answers
  • Which of the following is opened when the Find command is clicked? Question 9 options: Navigation Pane Insert Hyperlink dialog b
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!