Question 1(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = 2. 02;


2

2. 0

2. 02

0. 0

Error: incompatible types

Question 2(Multiple Choice Worth 1 points)

What is the value of the variable?


int iNum = 55/100;


0. 55

0. 6

0

0. 0

Error: incompatible types

Question 3(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = (int)2. 5 * 3;


6. 0

7. 0

7. 5

9. 0

Error: incompatible types

Question 4(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = 7;


7

7. 0

0

0. 0

Error: incompatible types

Question 5(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = (int)15. 89;


15

15. 0

15. 98

16

Error: incompatible types

Question 6(Multiple Choice Worth 1 points)

What is the value of the variable?


int iNum = 14/5;


2

2. 0

2. 8

4

Error: incompatible types

Question 7(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = 45/100. 0;


0. 45

0. 5

0

0. 0

Error: incompatible types

Question 8(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = 55/100;


0. 55

0. 6

0

0. 0

Error: incompatible types

Question 9(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = (double)(14/5);


2

2. 0

2. 8

4

Error: incompatible types

Question 10(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = (int)(2. 5 * 3);


6. 0

7. 0

7. 5

9. 0

Error: incompatible types

Question 11(Multiple Choice Worth 1 points)

What is the value of the variable?


int iNum = 2. 02;


2

2. 0

2. 02

0. 0

Error: incompatible types

Question 12(Multiple Choice Worth 1 points)

What is the value of the variable?


int iNum = (int)15. 89;


15

15. 0

15. 98

16

Error: incompatible types

Question 13(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = (double)10/3;


3

3. 0

3. 33333

1

Error: incompatible types

Question 14(Multiple Choice Worth 1 points)

What is the value of the variable?


double dNum = 14/5;


2

2. 0

2. 8

4

Error: incompatible types

Question 15(Multiple Choice Worth 1 points)

What is the value of the variable?


int iNum = 5;


5

5. 0

0

0. 0

Error: incompatible types

Answers

Answer 1

The values of the variables are computed and listed below

Evaluating the values of the variables

As a general rule of variable definiton, we have

data-type variable = value

This means that the value of the variable "variable" is value

Using the above as a guide, we have the following:

Value of dNum is 2.02Value of iNum is 0 i.e. integer of 55/100 is 0Value of dNum is 6.0 i.e. integer of 2.2 multiplied by 3 is 6Value of dNum is 7.0Value of dNum is 15.0 i.e. integer of 15.89 is 15Value of iNum is 2 i.e. integer of 14/5 is 2Value of dNum is 0.45Value of dNum is 0.55Value of dNum is 2Value of dNum is 7.0Value of iNum is 2Value of iNum is 15Value of dNum is 3.3333Value of dNum is 2Value of iNum is 5

Read more about programs at

https://brainly.com/question/26497128

#SPJ1


Related Questions

a large coal fired fire electric power plant produces 12 million kilowatt-hours of electricity each day. assume that an input of 10,000 BTUs of heat is required to produce an output of 1 kWh of electricity
a. calculate the number of BTUs of heat needed to generate the electricity produced by the power plant each day
b. calculate the number of pounds of coal consumed by the power plant each day, assuming that one pound of coal yields 5,000 BTUs of heat
c. calculate the number of pounds of sulfur released by the power plant each day, assuming that the coal contains one percent sulfur by weight

Answers

Note that the power plant releases 240,000 pounds of sulfur each day.

How is this so ?

a.  inorder to to produce 1 kWh of electricity, 10,000 BTUs of heat are required. Thus for 12 million KWh

12 million kWh x 10,000 BTUs/kWh

= 120 billion BTUs

So, 120 billion BTUs of heat are needed to generate the electricity produced by the power plant each day.

b. One pound of coal yields 5,000 BTUs of  heat

Thus:

120 billion BTUs / 5,000 BTUs /pound

= 24 million pounds of coal

Hence, the power plant consumes 24 million pounds of coal every day

c. If the coal contains one percent sulfur by weight, then the amount of sulfur released each day can be calculated as

24 million pounds of coal x 0.01

=  240,000 pounds of sulfur

Hence it is correct to state that, the power plant releases 240,000 pounds of sulfur each day.

Learn more about power plant:
https://brainly.com/question/7413587
#SPJ1

Cienna gets paid weekly on Thursdays, and on Friday she checks her bank account to make sure the money is there. Cienna's behavior is BEST described as being influenced by which type of reinforcement schedule?

Answers

fixed-interval reinforcement schedule, she is payed after a specific period of time not based on the amount of work completed.

Which feature displays certain data in a database?

Answers

The feature of a database that displays data in a certain sequence, such as alphabetical order is Filter.

What is the filter?

Filter may be a common include of a database that organizes the information in a specific arrangement , such as in sequential order arrange, numerical arrange, or chronological arrange.

This include is valuable after you need to discover a particular record, compare the information completely different records, or analyze the data in a particular arrange. By Filter of the  the information, you'll be able effectively recognize designs, patterns, and connections which will not be unmistakable in an unsorted list.

Learn more about Filter from

https://brainly.com/question/3198358

#SPJ1

Which feature of a database displays data in a certain sequence, such as alphabetical order? Chart Filter Search Sort

Using the data in the table and the scoring criteria, explain ONE reason for the difference in scores between London and Washington D.C.

Answers

The difference is that The Business activity category comprises 30% of the score, and London is a global business hub, whereas the political engagement category comprises 10% and Washington, D.C., is a national capital with global influence.

How to explain the information

It should be noted that because of the internet and things like online shopping and online music sites, people no longer need to travel to cities and experience the culture. It prohibit that diffusion of a globalized culture becuase people can stay in their bubble while experiencing the things they would have to travel for without the internet.

The Business activity category comprises 30% of the score, and London is a global business hub, whereas the political engagement category comprises 10% and Washington, D.C., is a national capital with global influence.

Learn more about London on

https://brainly.com/question/3114857

#SPJ1

How to answer this? The question is in the photo down below

Answers

The answer is (Option D). the cost of an input needed to manufacture the item rises. When the price of an input used to produce the good rises, the absolute value of the price elasticity of demand for that good rises.

Why is this so?

The price elasticity of demand for an item is a measurement of how sensitive the amount sought is to its price. When prices rise, the quantity demanded for almost any good falls, but it falls more for some than for others.

Price inelasticity is extremely advantageous to organizations and is critical in knowing how to design their pricing strategy.

Learn more about  price elasticity of demand  at:

https://brainly.com/question/30465432

#SPJ1

. The absolute value of the price elasticity of demand for a good increases when

the good has fewer substitutes

the good becomes a necessity

consumers spend greater portion of their

budget on the goocq

the price Of an input used to produce the good

increases

the good must be purchased immediately

What informal powers and/or roles of the president apply ? to scenairo 5 The us supreme court strikes down oklahoma

Answers

The informal powers and/or roles of the president applied to the scenario 5  of the us supreme court strikes down Oklahoma are Chief Legislator, Commander-inChief, Party leader, Chief diplomat and Crisis manager.

Full details about the informal power of the president

In Scenario 5 where the US Supreme Court strikes down Oklahoma, the President of the United States have several informal powers and/or roles that apply and I will be explaining them below.

Chief Legislator: As the Chief Legislator, the President has the power to influence the legislative process by proposing bills, lobbying Congress, and negotiating with lawmakers. In this scenario, the President could use their influence to push for legislative changes that address the issue raised by the Supreme Court's decision, such as amending Oklahoma state law or proposing federal legislation to address the issue.Commander-in-Chief: As Commander-in-Chief of the armed forces, the President has the power to direct military action and respond to threats to national security. While this power may not directly apply to the scenario, the President may need to respond to any potential fallout from the Supreme Court's decision, such as protests or civil unrest.Party Leader: As the leader of their political party, the President has the power to shape the party's agenda, mobilize support for policies, and build coalitions with other lawmakers. In this scenario, the President could work with other members of their party to address the issue raised by the Supreme Court's decision, such as rallying support for legislative changes or proposing alternative solutionsChief Diplomat: As the Chief Diplomat, the President has the power to negotiate with foreign governments, represent the United States on the world stage, and shape foreign policy. While this power may not directly apply to the scenario, the President may need to address any international implications of the Supreme Court's decision, such as potential diplomatic fallout with other countries or international organizations.Crisis Manager: As the nation's leader, the President has the responsibility to respond to crises and manage emergency situations. While this power may not directly apply to the scenario, the President may need to respond to any potential fallout from the Supreme Court's decision, such as protests or civil unrest, and work to ensure public safety and order.

Learn more about informal power here:

https://brainly.com/question/30160956

#SPJ1

a short-term loan to shore up the value of the mexican peso would most likely be funded by
A. a foreign direct investment
B. an IDA loan
C. an IBRD loan
D. an individual broker
E. an IMF loan

Answers

A short-term loan that would most likely be used in this situatis called:

E. An IMF loan

What is a Short-term Loan?

A type of borrowing, typically requiring repayment within a year or less, is known as a short-term loan, while the IMF is a financial organization that offers assistance to its member countries facing balance of payment challenges, such as currency crises, which could lead to the Mexican government seeking a loan from the IMF accompanied by certain policy reforms to tackle the underlying economic issues.

Therefore, in this scenario stated above, the Mexican government would most likely request a loan from the IMF in order to stabilize the peso's value. This  loan would be accompanied with some conditions, such as policy reforms, in order to address the underlying economic issues.

Learn more about short-term loan on:

https://brainly.com/question/29734245

#SPJ1

By 1830 an English textile worker was already producing with his mechanical spinning machine 350 to 400 times as much yarn per hour as an Indian craftsman with his traditional spinning wheel. The consequences for Indian textile production were fatal. In 1814 India
imported one million meters of English textiles, in 1820 it imported 1 million and in 1890 more than two billion. British rule in India gave the British manufacturers free rein and made the protection of indigenous producers impossible. It stands to reason that Karl Marx
condemned the driving force behind British expansion in India by calling it the 'millocracy [meaning rule by the owners of textile mills).


To be sure, the immense productivity of English textile workers from the early nineteenth century on made this branch British industry superior to all of its former competitors, colonial and noncolonial alike. But while other countries could shield themselves from this danger
by introducing protectionist tariffs, such protection did not exist in the British colonies. So here, in the case of the destruction of Indian textile industry, we see the importance of the colonial situation, namely the colonies' political dependence on the West, in arresting their
economic development.



Wesseling's argument in the second paragraph best illustrates which of the following important distinctions within the practice of imperialism in the nineteenth century?


A.The difference between European and non-European imperialism

B.The difference between land-based imperial expansion and overseas or maritime imperial expansion

C.The difference between the economic costs of imperialism and its economic benefits

D.The difference between the economic effects of direct and indirect imperialism

Answers

D. The difference between the economic effects of direct and indirect imperialism.

difference between “ find the intergral “ & “ definite intergral “

Answers

Answer:

Explanation:

"Find the integral" and "definite integral" are two concepts in calculus that are related, but they have different meanings.

"Finding the integral" refers to the process of finding the antiderivative of a function. An antiderivative of a function is another function whose derivative is equal to the original function. The symbol used to represent the antiderivative is the integral symbol without limits:

∫ f(x) dx

Here, f(x) is the function to be integrated and dx represents the variable of integration.

The antiderivative of a function is not unique and can differ by a constant of integration. Therefore, when finding the antiderivative, we usually add a constant of integration, denoted by "+ C", to indicate that there are infinitely many antiderivatives of a given function.

On the other hand, a "definite integral" is a numerical value obtained by integrating a function between two specified limits. The definite integral of a function is denoted by the integral symbol with limits:

∫ a to b f(x) dx

Here, a and b are the lower and upper limits of integration, respectively. The definite integral represents the area under the curve of the function f(x) between the limits of integration. The definite integral is a number, unlike the indefinite integral, which represents a family of functions.

In summary, "finding the integral" refers to the process of finding the antiderivative of a function, while "definite integral" refers to a numerical value obtained by integrating a function between two specified limits.

PLS MARK ME BRAINLIEST

The main difference between "finding the integral" and "definite integral" is that the former refers to the process of finding the antiderivative of a function, while the latter refers to the process of finding the area under a curve between two points.

Finding the integral of a function involves finding the antiderivative of that function, which is a function whose derivative is equal to the original function. This process is also known as integration. The antiderivative of a function is not unique, as it can differ by a constant value.

On the other hand, the definite integral of a function involves finding the area under the curve of that function between two specific points. This process is also known as integration, but with the addition of specific limits of integration. The definite integral is a number, not a function, and represents the area between the function and the x-axis over the interval specified by the limits of integration.

In summary, finding the integral refers to the process of finding the antiderivative of a function, while the definite integral refers to the process of finding the area under a curve between two points.

Which of the following best describes the relationship between the author’s quotation of Coates in the middle of the first paragraph (“But I think . . . half as much”) and her discussion of the My Brother’s Keeper initiative that follows it?

Answers

Answer:

The author's quotation of Coates in the middle of the first paragraph is used to introduce and support her discussion of the My Brother's Keeper initiative that follows it. The quotation sets up the argument that the initiative is inadequate in addressing the systemic issues faced by black men and boys in America, and the subsequent discussion provides evidence to support this claim. The author is using Coates' words to highlight the need for a more comprehensive approach to addressing the challenges faced by black men and boys, which the My Brother's Keeper initiative alone cannot provide. Therefore, the quotation of Coates serves as a lens through which the author analyzes and critiques the My Brother's Keeper initiative.

1. At 298 K and 1 atm, Br2

is a liquid with a high vapor pressure, and Cl2

is a gas. Those observations

provide evidence that under the given conditions, the
A
forces among Br2

molecules are stronger than those among Cl2

molecules

B
forces among Cl2

molecules are stronger than the Cl−Cl bond

C
Br−Br bond is stronger than the Cl−Cl bond

D
Cl−Cl bond is stronger than the Br−Br bond

Answers

The observations provide evidence that under the given conditions, the Br-Br bond is stronger than the Cl-Cl bond. option C

How to find the evidence right observation provided under the given conditions

At 298 K and 1 atm, Br2 is a liquid with a high vapor pressure, while Cl2 is a gas. This indicates that the intermolecular forces among Br2 molecules are stronger than those among Cl2 molecules.

The strength of the intermolecular forces is determined by the nature of the bonds between the atoms in the molecule.

Bromine (Br2) has a covalent bond between two identical atoms, and the bond strength is determined by the attractive force between the two atoms.

Therefore, the correct answer is Br-Br bond is stronger than the Cl-Cl bond.

Learn more about intermolecular forces at https://brainly.com/question/12243368

#SPJ1

How does someone throwing their cigarette butt out of the car window demonstrate the tragedy of the commons in terms of pollution?

Answers

The tragedy of the commons illustrates how individualistic behavior can result in the overconsumption and depletion of shared resources.

What is the explanation for the above response?

The issue of pollution serves as a prime example, wherein individuals who selfishly litter or improperly dispose their waste in public areas disregard the negative externalities that their actions have on the environment and community at large.

Recklessly throwing cigarette butts out of car windows exemplifies such behavior, which leads to environmental degradation, wildlife harm, and impacts the health of others who share the same ecosystem. The necessity for joint effort and accountable conduct is emphasized in tackling shared predicaments such as contamination.

Learn more about pollution at:

https://brainly.com/question/28519286

#SPJ1

Other Questions
determine the range of k for which the closed-loop systems (see fig. 6.18) are stable for each of the cases below by making a bode plot for k Stephanie received her tax refund for the tax year 20X1 in November of 20X2. Because there was a delay in issuing the refund, the IRS paid Stephanie $50 interest. How should Stephanie report the interest on her 20X2 tax return? Companies are interested in the demographics of dose who listen to the radio programs they poor. A radio station has determined that only 20% of listeners phoning into a program are male. During a particular week, 200 calls are received by this program.a, What is the probability that at least 50 of these 200 callers are male?b, What is the probability that more than half of these 200 callers are female why did the defenders of the alamo choose to stay and fight even though it was obvious that they were vastly outnumbered? Derive the equations for and find vo the following circuit assuming that all diodes are ideal 10k 15 true/false. revise the following sentence to present the bad news with passive-voice verbs. write your answer in the text box below. due to the covid-19 crisis, american airlines is suspending all hiring procedures until the end of the fiscal year. an 27.0 gram sample of an unknown hydrocarbon was burned in excess oxygen toform 88.0 grams of carbon dioxide and 27.0 grams of water. what is a possiblemolecular formula for the hydrocarbon?a) ch4 b) c2h2 c) c4h3 d) c4h6 e) c4h10 A ____________ is an election used either to narrow the field of candidates for a given elective office or to determine the nominees for political parties in advance of a general election. please help me on this The AZ Digital Library is a free, online library that offers databases and other resources to elementaryand high school students in Arizona.True or False In an electrocardiogram ______ is responsible for the R and the delay between P and R is caused by the ______. Simple linear regression: a regression analysis for which any one unit change in the independent variable, x, is assumed to result in the same change in the dependent variable, y. When volatility of the underlying stock price increases, theprice of callsrisesfallsis unchangedmay rise or fall depending on the stock value Which teens were discussed in the Frontline video? a) Teens who are addicted to drugs b) Teens who are victims of cyberbullyingc) Teens who are struggling with mental health issues Pregnant womanHeavy bleedingLow BPDiagnosis?NBS? A(n) ________________ is the ending of a story that reveals what happens to the characters 6. Which is a true statement about the two rectangular prisms shown below?A. Prism A's surface area is 20 units2 less than Prism B's.B. Prism A's surface area is 20 units more than Prism B's.C. Prism A's surface area is 10 units2 more than Prism B's.D. Prism A and Prism B have the same surface area.182A152B1320 A double stranded molecule with the sequence shown here produces, in vivo, a polypeptide that is five amino acids long. TAC ATG ATC ATT TCA CGG AAT TTC TAG CAT GTA ATG TAC TAG TAA AGT GCC TTA AAG ATC GTA CAT i. Write the sequence of the mRNA transcript and label the strands. ii. Write the sequence of animo acids produced if the translation of the gene occurs Which of the following thermodynamic quantities are state functions: heat (q), work (w), enthalpy change (H), and/or internal energy change (U)?a.U onlyb.w onlyc.H onlyd.q only Write a simile using the word my friend