Question

In: Computer Science

Check off the equations below that are accurate A , B, C are numeric variables A...

Check off the equations below that are accurate

A , B, C are numeric variables

A = 3, B= 2, C = 1

note , the symbol == means a test for equality, not assignment..

3 * 5 > 2 * 6 is True

A > B  or  A  < C is True

3 + 5 > 2 + 6 is True

A > B and  not ( A  < C)   is True

A < 5 or A == 5 or A >5   is True

3 > 1 or 3 == 1   is True

Solutions

Expert Solution

Given A=3, B=2 and C=1

a) 3* 5 > 2* 6

Sol: 3 *5 > 2* 6

-> 15 > 12

-> true

3 * 5 > 2 * 6 is TRUE

-----------------------------------------

b) A > B or A < C

-> here A= 3, B= 2 and C=1

-> 3 > 2 or 3 < 1

->true or false

-> TRUE

A > B  or A <C is TRUE

--------------------------------------------

c) 3 + 5 > 2 + 6

-> 3+5 > 2 + 6

-> 8 > 8

-> False

3 + 5 > 2 + 6 is FALSE

--------------------------------------------

d) A > B and not (A<c)

-> A > B and not(A < C)

-> 3 > 2 and !(3 < 1)

-> 3 > 2 and !(False) !(false) = true and !(true) = false

-> 3>2 and True

-> true and true

-> True

A > B and not(A <C) is TRUE

------------------------------------

e) A < 5 or A == 5 or A > 5

-> 3 < 5 or 3 == 5 or 3 > 5

-> true or false or false

-> TRUE

A < 5 or A == 5 or A > 5 is TRUE

-----------------------------------------

f) 3 > 1 or 3 == 1

-> true or false

-> true

3 > 1 or 3 == 1 is TRUE

---------------------------------------


Related Solutions

If A, B, and C events are independent, check if B and A \ C events...
If A, B, and C events are independent, check if B and A \ C events are independent or not.
The below provides information about the dataset. Input variables (based on physicochemical tests) Fixed acidity Numeric...
The below provides information about the dataset. Input variables (based on physicochemical tests) Fixed acidity Numeric Volatile acidity Numeric Citric acid Numeric Residual sugar Numeric Chlorides Numeric Free sulfur dioxide Numeric Total sulfur dioxide Numeric Density Numeric pH Numeric Sulphates Numeric Alcohol Numeric (%) Wine Type red or white Output variable (based on sensory data) Quality Score between 0 and 10 in ordinal Data set fixed acidity volatile acidity citric acid residual sugar chlorides free sulfur dioxide total sulfur dioxide...
1 For each of the following variables, identify the type of variable (numeric or categorical) and...
1 For each of the following variables, identify the type of variable (numeric or categorical) and level of measurement (nominal, ordinal, interval, or ratio). a. Business size (micro, small, medium, large) b. Airplane ticket price 2 Consider the following sample of data: 1.2 28.4 32.6 17.0 13.5 2.2 38.0 41.4 1.9 14.4 21.8 23.8 a. Calculate the quartiles. b. Calculate the average c. Calculate the standard deviation. 3  Given the following five-number summary, are there any outliers in the data? Min:...
Assume that: float a, b, c, d, f; and variables b, c, d, f are initialized....
Assume that: float a, b, c, d, f; and variables b, c, d, f are initialized. Write a line of c++ code that calculates the formula below and stores the result to the variable a:
why is regression mainly connected to models and equations while correlation is mainly connected to numeric...
why is regression mainly connected to models and equations while correlation is mainly connected to numeric variables? Could it be used differently ?
Consider the system of equations 2x-5y=a 3x+4y=b 2x- 4y=c where a, b, c are constants. Because...
Consider the system of equations 2x-5y=a 3x+4y=b 2x- 4y=c where a, b, c are constants. Because there are 3 equations and 3 unknowns, there are no possible values of a, b and c for which the system of equations has a unique solution. True or false?
why is it important to provide a thorough and accurate hand off report to the nurse...
why is it important to provide a thorough and accurate hand off report to the nurse who will be assuming care of the patient?
A, B, C, D. An employer is better off by hiring workers who are dedicated to...
A, B, C, D. An employer is better off by hiring workers who are dedicated to their employer in the long run. Separately answering as parts A, B, C and D, give and briefly explain four different methods that employers use to employ workers who will be committed to their employer.
Write the balanced complete ionic and net ionic equations for Reaction A, B and C. For...
Write the balanced complete ionic and net ionic equations for Reaction A, B and C. For reaction A calculate the heat of neutralization, in kJ / mol, for reaction B and C calculate the heat of reaction, in kJ / mol.. 1. Reaction A : Aqueous sodium hydroxide, a strong electrolyte, reacts with aqueous hydrochloric acid, a strong electrolyte. Contains: 25.0 mL 1.0 M HCl and  25.0 mL 1.0 M NaOH Ti:25.0 C Tf: 31.67 C 2. Reaction B: Solid sodium...
Write the balanced complete ionic and net ionic equations for Reaction A, B and C. For...
Write the balanced complete ionic and net ionic equations for Reaction A, B and C. For reaction B and C calculate the heat of reaction, in kJ / mol.. 2. Reaction B: Solid sodium hydroxide, a strong electrolyte, dissolves in aqueous hydrochloric acid. Contains: 50.0 mL 0.50 M HCl and 1 gram sodium hydroxide solid Ti: 25.0 C Tf: 36.97 C 3. Reaction C: Solid sodium hydroxide, a strong electrolyte, dissolves in water to form an aqueous solution. Contains: 50.0...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT