subject
Mathematics, 11.11.2019 19:31 mallorywoods8

The two most common types of errors made by programmers are syntax errors and errors in logic. for a simple language such as basic the number of such errors is usually small. let x denote the number of syntax errors and y the number of errors in logic made on the first run of a basic program. the sample space for x is {0, 1, 2, 3} and the sample space for y is {0, 1, 2, 3, 4, 5}. assume that the joint density for (x, y) is shown in the following table:

x

y

0

1

2

3

0

.400

.100

.020

.005

1

.300

.040

.010

.004

2

.040

.010

.009

.003

3

.009

.008

.007

.003

4

.008

.007

.005

.002

5

.005

.002

.002

.001

(5 points) find the probability that a randomly selected program will have neither of these types of errors.

(5 points) find the probability that a randomly selected program will contain at least one syntax error and at most one error in logic.

(5 points) find the marginal densities for x and y.

(5 points) find the probability that a randomly selected program contains at least two syntax errors.

(5 points) find the probability that a randomly selected program contains one or two errors in logic.

(5 points) are x and y independent?

(10 points) find e[x], e[y], e[xy], and cov(x, y)

(10 points) find var(x), var(y), and rhoxy

(10 points) find the condition density of y given that x = 2, and the conditional mean of y given that x = 2.

ansver
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 19:00, Lindy1862
You give a $4 tip for a meal that cost $22. approximately what percent of the bill was your tip?
Answers: 1
image
Mathematics, 21.06.2019 20:30, aprilwilson3p8711m
For the quadratic function [tex]y=(x+4)^2-1[/tex] , do the following: a) rewrite the function in the standard form, b) rewrite the function in intercept form, c) find the vertex, d) find the y-intercept, e) find the x-intercepts.
Answers: 1
image
Mathematics, 21.06.2019 22:10, ansonferns983
Given: ae ≅ ce ; de ≅ be prove: abcd is a parallelogram. we have that ab || dc. by a similar argument used to prove that △aeb ≅ △ced, we can show that △ ≅ △ceb by. so, ∠cad ≅ ∠ by cpctc. therefore, ad || bc by the converse of the theorem. since both pair of opposite sides are parallel, quadrilateral abcd is a parallelogram.
Answers: 1
image
Mathematics, 21.06.2019 22:40, kevon9008
Suppose you are choosing a 6-digit personal access code. this code is made up of 4 digits chosen from 1 to 9, followed by 2 letters chosen from a to z. any of these digits or letters can be repeated. find the total number of personal access codes that can be formed. 492,804 341,172 39,917,124 4,435,236
Answers: 1
You know the right answer?
The two most common types of errors made by programmers are syntax errors and errors in logic. for a...

Questions in other subjects: