What connections do you see between variables and what you learned about the Input-Output-Store-Process model of a computer?

Answers

Answer 1

Answer:

h

Explanation:


Related Questions

A new computer virus attacks a folder consisting of 200 files. Each file gets damaged with probability 0.2 independently of other files. What is the probability that fewer than 50 files will get damaged? g

Answers

Answer:

0.95345

Explanation:

Given that :

Number of files (n) = 200

Probability of getting damaged (p) = 0.2

q = 1 - p = 1 - 0.2 = 0.8

using normal approximation:

Mean (m) = np = 200 * 0.2 = 40

Standard deviation (s) = √n*p*q= √(200 * 0.2 * 0.8) = 5.6568542

P(X < 50)

X = 50 - 0.5 = 49.5

Find the standardized score :

Z = (x - m) / s

Z = (49.5 - 40) / 5.6568542

Z = 9.5 / 5.6568542

Zscore = 1.6793786

P(Z < 1.6793) = 0.95345 ( using Z probability calculator)

Write a program that asks the user to enter 2 words, then prints "Great!" if the two words are identical, "Close enough" if they are the same length and all but the last letter matches, and "Try again" otherwise.

java, desperate fr

Answers

Answer:

 System.out.println("Enter 2 strings:");

   Scanner scan = new Scanner(System.in);

   String a = scan.nextLine();

   String b = scan.nextLine();

   int c = a.length();

   int d = b.length();

   String e =  a.substring(0, a.length()-1);

   String f = b.substring(0, b.length()-1);

   if (a.equals(b)){

     System.out.println("Great!");

   }

   else if (c== d && e.equals(f)){

     System.out.println("Close enough");

   }

   else{

     System.out.println("Try again");

   }

 }

 

}

Explanation:

Following are the java program to comparing the words:

Program Explanation:

Import package.Defining the main class.Defining the main method.Inside the main method two string "f,s" is declared that uses input method to input value.After input value multiple conditional statement is declared that checks inputs value.In the if block, it checks first string value equal to second value, if it is true it will print a message "Great!".In the else if block it checks string value that has same length, for this it uses "l" variable that checks length value, and the print the message "Close enough".In the else block, it will print the message "Try again".

Program:

import java.util.*;//import package public class Main //defining a class {    public static void main(String[] ars) //defining main method    {        String f,s;//defining String variable        Scanner obc=new Scanner(System.in);//creating Scanner class object        System.out.print("Enter First word: ");//print message        f=obc.next();//input value        System.out.print("Enter Second word: ");//print message        s=obc.next();//input value        if(f.equals(s))//use if to check input string value are equal            System.out.println("Great!");//print message        else if(f.length()==s.length())//using else if block that checks string value has same length         {            int c=0;//defining integer variable             int l=f.length();//defining integer variable l that holds first string length value            for(int i=0;i<l;i++) //using for loop to compare string value            {                if(f.charAt(i)==s.charAt(i))//use if to compare string by using charAt method                    c++;//incrementing c value            }            if(c==l-1 && f.charAt(l-1)!=s.charAt(l-1)) //comparing string            {                System.out.println("Close enough");//print message            }        }        else //defining else        {            System.out.println("Try again");//print message        }    } }

Output:

Please find the attached file.

Learn more:

brainly.com/question/20875119

bvbmb

what are output devices ?
name them​

Answers

Answer:

Monitor.

Printer.

Headphones.

Computer Speakers.

Projector.

GPS.

Sound Card.

Video Card.

Explanation:

Other Questions
Which has a slope of -2? Which of these expressions is equivalent to -2(x - 5)?a.- 2x - 5b.-2x +5C.-2x + 10d.-2x - 10 Answer? Im confused The coefficients corresponding to k=0,1,2, ...,6 in the expansion of (x + y)^6 are ___.A. 0, 1, 6, 15, 15, 6, 1, 0B. 1, 6, 15, 20, 15, 6, 1C. 0, 6, 15, 20, 15, 6, 0D. 1, 6, 15, 15, 6, 1 Es la expresin que representa un binomio al cuadrado Which of the following gave the League of Nations its authority? a) Collective Securtiy b) The Assembly c) The Council d) The Covenant of the League of Nations What is the value of the expression shown below?Please use the photo for whole question, it shows the answers. The nationwide results of the Implicit Association Tests revealed that most people, regardless of their race or ethnicity, have ... a. a slight, moderate or strong preference for black people over white people b. a slight, moderate or strong preference for their own race over the other race c. no preference for one race over another d. a slight, moderate or strong preference for white people over black people HELPP!!!!!Which piece of evidence would directly support the following claim?The White House helps and supports women in business.More than $13.6 billion in payments of $250 each were provided to seniors and veterans as part of the Recovery Act, a substantial percentage of which went to women.More than 16,000 federal loans totaling more than $4.5 billion were granted to women-owned small businesses.An estimated 4.9 million women were kept out of poverty in 2010 because of expansions in refundable tax credits such as the Earned Income Tax Credit and Child Tax Credit.9.4 million students and families have benefited from the American Opportunity Tax Credit to help pay for college. What part of speech is the word first used in the sentence below?The FIRST pioneers on the Great Plains encountered many kinds of dangerous animals. Select the sentence/statement from paragraph 1 of Passage 1 that offers younger teens hope for finding a job for the summer.Well, think for a second about how awesome it would be to have a job."Not only would you earn money, but you'd also learn about how the world works, and who knows you might even find your life's passion (or realize that you never, ever want to sit at a desk all day, even if you were president of the entire company)."Many employers hire teens as young as 14-or even younger for more informal gigs, like babysitting, errand running, or yard work."So read on to find out what you need to know about taking that big leap from being a kid on the couch to a gainfully employed teen."] whats the slope of the line y-9=15 x-5 Let f be a function such that f(2) f(x) for all values of x in the interval (0, 3). Does f(2) represent a relative minimum or a relative maximum? Which organisms inhaled CO2 and exhaled 02 to 100s of millions of years, increasing the amount of O2 in the atmosphere? what would be the slope intercept form? Describe a personal or professional obstacle Steinbeck faced The pair figures are similar.find the missing side Why do (not to be rude or offensive or anything) but why do old people put their teeth in cups of water when they go to bed? Ray EF is the bisector of angle AET. Find the measure of angle FEA.* 70 E A Your answer What is the opposite integer of (7)?