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
Vera_Pavlovna [14]
3 years ago
11

Explain what Event-Driven Programs are (Use all of the following words in your description: Call-back function, on-events, algor

ithms, event handling, event listener, UI element). Give an example of an event-driven program
Mathematics
1 answer:
ASHA 777 [7]3 years ago
4 0

Answer:

Step-by-step explanation:

An event driven programs are process of programming by which an algorithm is written by programming on a UI element, placing an event listener such that it handled when triggered by calling a call-back function.

E.g is a click event on a button which is a UI element. An event listener example, mouse down can placed on it, and if a user mouse down on it, it is handled by calling a call-back function which might be to open a new page on website.

You might be interested in
Clarinex is a drug used to treat asthma. In clinical tests of this drug, 1655 patients were treated with 5- mg doses of Clarinex
bagirrra123 [75]

Answer:

z=\frac{0.021 -0.012}{\sqrt{\frac{0.012(1-0.012)}{1655}}}=3.363  

p_v =P(z>3.363)=0.00039  

So the p value obtained was a very low value and using the significance level given \alpha=0.01 we have p_v so we can conclude that we have enough evidence to reject the null hypothesis, and we can said that at 1% of significance the proportion of interest is significantly higher than 0.012 (1.2%)

Step-by-step explanation:

Data given and notation

n=1655 represent the random sample taken

\hat p=0.021 estimated proportion of interest

p_o=0.012 is the value that we want to test

\alpha=0.01 represent the significance level

Confidence=99% or 0.99

z would represent the statistic (variable of interest)

p_v represent the p value (variable of interest)  

Concepts and formulas to use  

We need to conduct a hypothesis in order to test the claim that true proportions is higher than 0.012.:  

Null hypothesis:p \leq 0.012  

Alternative hypothesis:p > 0.012  

When we conduct a proportion test we need to use the z statisitic, and the is given by:  

z=\frac{\hat p -p_o}{\sqrt{\frac{p_o (1-p_o)}{n}}} (1)  

The One-Sample Proportion Test is used to assess whether a population proportion \hat p is significantly different from a hypothesized value p_o.

Calculate the statistic  

Since we have all the info requires we can replace in formula (1) like this:  

z=\frac{0.021 -0.012}{\sqrt{\frac{0.012(1-0.012)}{1655}}}=3.363  

Statistical decision  

It's important to refresh the p value method or p value approach . "This method is about determining "likely" or "unlikely" by determining the probability assuming the null hypothesis were true of observing a more extreme test statistic in the direction of the alternative hypothesis than the one observed". Or in other words is just a method to have an statistical decision to fail to reject or reject the null hypothesis.  

The significance level provided \alpha=0.01. The next step would be calculate the p value for this test.  

Since is a right tailed test the p value would be:  

p_v =P(z>3.363)=0.00039  

So the p value obtained was a very low value and using the significance level given \alpha=0.01 we have p_v so we can conclude that we have enough evidence to reject the null hypothesis, and we can said that at 1% of significance the proportion of interest is significantly higher than 0.012 (1.2%)

3 0
3 years ago
A hot air ballon begins its descent at a rate of 22 1/2 feet per minute. How long will it take for the balloon's elevation
Semmy [17]
The descent of the balloon would take 14 minutes
To find the answer to this problem, take the elevation change (315) and then divide it by the rate of descent (22.5)
5 0
3 years ago
Read 2 more answers
What is the factored form of x^3-1
polet [3.4K]

Answer:

the factors of x^3-1 are x^3 -1 = (x-1) (x^2 +x+1)\\

Step-by-step explanation:

We need to find factors of x^3 -1

x^3-1 \\(x)^3 -(1)^3\\We \,\, know\,\, a^3 -b^3 = (a-b) (a^2 +ab + y^2) \\So, \,\, using\,\, the \,\, formula\,\,\\Here\,\, a= x \,\,and\,\, b= 1\\(x)^3 -(1)^3 = (x-1) (x^2 +x+1)\\

So, the factors of x^3-1 are x^3 -1 = (x-1) (x^2 +x+1)\\

7 0
3 years ago
{{{WILL MARK AS BRANLIEST AND WORTH 18 POINTS!!!}}
blsea [12.9K]
7.1 ×
10^{2}
5 0
3 years ago
Read 2 more answers
Someone pleaseeee answer
svet-max [94.6K]

Answer:

A

Step-by-step explanation:

We cannot take the square root of a negative number without using complex numbers. Because of this, both 5x and x+3 must be non-negative in order for the product to be defined.

  • 5x ≥ 0 implies that x ≥ 0
  • x + 3 ≥ 0 implies that x ≥ -3

Both of these are satisfied if and only if x ≥ 0 (note that if x ≥ 0, then x is automatically greater than or equal to -3). Therefore, the correct answer is x ≥ 0.

4 0
2 years ago
Other questions:
  • What’s in between 80 and 81
    6·1 answer
  • 20% of 4hours 20 minutes
    9·2 answers
  • Point P(3,1) lies on the directed line segment LM. the endpoints are L(-2,-4) and M(x,y). What are the coordinates of point M su
    6·1 answer
  • A____ is a fixed position in space and has no dimensions or size. hins​
    11·2 answers
  • Find what n equals 8(2n-2) = 4 - 4n (explanation please)
    14·2 answers
  • Please help me quick please solve in inequality form
    15·1 answer
  • What is the correct rule for y, in terms of x?
    7·2 answers
  • I NEED THIS RN AS FAST AS POSSIBLE! Your teacher decides to split the class into four equal groups with no more than five studen
    14·1 answer
  • A penny is tossed 650 times and heads came up 200 times. What is the experimental probability of tossing tails?
    8·1 answer
  • Elena received a 25 dollar gift card to a fun center she drives a race car which costs 0.75 she also wants to use the grift card
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!