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
Gwar [14]
3 years ago
12

Assume a program has the following variable defenition: int a, b =2; float c = 4.2; and the following statement: a = b * c; What

will be stored in a? A. 8.4 B. 8 C. 0 D. None of the above
Mathematics
1 answer:
Vladimir [108]3 years ago
5 0

Answer:

The correct option is B.

Step-by-step explanation:

In a program the variables are defined as

int a, b =2;

float c = 4.2;

The given statement is

a = b * c

a = 2 * 4.2

a = 8.4

It is given that variable a is an integer. So, only integer value can be stored in a.

a ≈ 8

It means 8 will be stored in a. Therefore the correct option is B.

You might be interested in
Find the equation of the axis of symmetry.<br>equation of axis of symmetry:​
sleet_krkn [62]

9514 1404 393

Answer:

  x = -4

Step-by-step explanation:

The axis of symmetry is the vertical line through the vertex. The vertex is the turning point, or minimum, of the function. It is (x, y) = (-4, 0). The x-coordinate there is -4, so the equation of the axis of symmetry is ...

  x = -4

5 0
3 years ago
HELP ME PLEASE!!!!!!!
mylen [45]

Answer:

Step-by-step explanation:

left skewed

4 0
2 years ago
Read 2 more answers
Two random samples were taken to determine how often people in a community listen to the local radio station each month.
Dvinal [7]

Answer:

1 2 4 6. Tell me if im wrong.

Step-by-step explanation:

7 0
3 years ago
I need the answers for number 9 and 10
Sladkaya [172]
Number 9 is yes, they are congruent.

number 10 is no, they are not congruent because x=3, so segment xy=3(3)+5 which is 14 and segment yz=9(3)/2 which is 13.5
8 0
2 years ago
Thirty percent of all telephones of a certain type are submitted for service while under warranty. Of these, 70% can be repaired
Varvara68 [4.7K]

Answer:

X \sim Binom(n=10, p=0.3)

And for this case we want to find this probability:

P(X =2)

And we can use the probability mass function and we got:

P(X=2)=(10C2)(0.3)^2 (1-0.3)^{10-2}=0.233

Step-by-step explanation:

Previous concepts

A Bernoulli trial is "a random experiment with exactly two possible outcomes, "success" and "failure", in which the probability of success is the same every time the experiment is conducted". And this experiment is a particular case of the binomial experiment.

The binomial distribution is a "DISCRETE probability distribution that summarizes the probability that a value will take one of two independent values under a given set of parameters. The assumptions for the binomial distribution are that there is only one outcome for each trial, each trial has the same probability of success, and each trial is mutually exclusive, or independent of each other".

The probability mass function for the Binomial distribution is given as:  

P(X)=(nCx)(p)^x (1-p)^{n-x}  

Where (nCx) means combinatory and it's given by this formula:  

nCx=\frac{n!}{(n-x)! x!}  

Solution to the problem

Let X the random variable of interest, on this case we now that:

X \sim Binom(n=10, p=0.3)

And for this case we want to find this probability:

P(X =2)

And we can use the probability mass function and we got:

P(X=2)=(10C2)(0.3)^2 (1-0.3)^{10-2}=0.233

4 0
3 years ago
Other questions:
  • Joseph says that the number 9999999 all the digits have the same value
    7·2 answers
  • A circle with radius of 2cm sits inside a 11cm×12cm rectangle.
    8·2 answers
  • What is the reciprocal of each mixed number? Drag and drop the answer into the box to match each number.
    13·1 answer
  • A square has sides of length s. A rectangle is 6 inches shorter and 1 inch longer than the square. Which of the following expres
    11·2 answers
  • How many solutions are there to the following system of equations?
    10·2 answers
  • If a bag of potatoes weighs 5.6 pounds how much does 0.7 bag of potatoes weigh
    15·2 answers
  • An urn contains six red balls numbered 1, 2, 3, 4, 5, 6, two white balls numbered 7, 8, and two black balls numbered 9, 10. A ba
    14·1 answer
  • Which one is the right one?
    7·1 answer
  • Help pls don't get it wrong I have an election tmr to see if I have good grades pls help​
    6·2 answers
  • The midpoint of AB is M (5,5). If the coordinates of A are (7, 8), what are the
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!