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
charle [14.2K]
3 years ago
12

In a situation where you want to perform one action when a Boolean expression evaluates as true and an alternate action when it

evaluates as false, otherwise known as a dual-alternative decision, what sort of statement should you use?
Social Studies
1 answer:
Ghella [55]3 years ago
8 0

Answer:

if-else

Explanation:

Based on the information provided within the question it can be said that the best statement to use in this situation is an if-else statement. Like mentioned, this is a statement that outputs two different results depending on whether or not the input meets a predefined set of rules.

For Example: Input is 17

if (hour < 18) {

 greeting = "Good day";

} else {

 greeting = "Good evening";

}

Output would be "Good evening" in this situation

You might be interested in
Inmates can be released from prison for:_______.a) expiration of their term. b) commutation of their sentence. c) court orders t
max2010maxim [7]

Answer:

d) all of these choices.

Explanation:

- expiration of their term.

This happens when the inmates has finished the total years of punishment  required by the judge during the verdict.

- commutation of their sentence.

This happens when the total of inmate's punishment is reduced by the court due to good behaviors that the inmate showed during the prison time.

- court orders to relieve over-crowded prisons

This happens when the government do not have enough fund to take care more inmates so they let go a couple of old inmates to make rooms for the new one.

4 0
4 years ago
Why are personality disorders controversial in modern clinical practice?
tekilochka [14]

The answer is Science – Practitioner Gap. This is because there is a division between psychologists who believe that it should be primary science versus those who believe that clinical practice should be primary be an art. The Gap into science practitioner sometimes can make chaos to its modern clinical practice.

5 0
3 years ago
Some of the adaptations of desert animals include being nocturnal, burrowing, and camouflage.
Bingel [31]

Answer:

true

Explanation:

because you need to adapt so you don't die or get eaten

6 0
3 years ago
Read 2 more answers
Leila is a person who describes herself as open to change. she reports that she is happily involved with her family life and her
fenix001 [56]
The correct answer would be "hardiness".

Hardiness in Psychology is described as a blend of three states of mind (responsibility, control, and test) that together give the valor and inspiration expected to divert distressing conditions from potential disasters into open doors for self-awareness. In the given situation, Leila feels control over her life  and feels happy though there are present bumps in her life, which is the main description of Hardiness.
7 0
4 years ago
When Judy's professor failed to recognize that Judy had her hand raised to answer a question, Judy began to think her professor
mart [117]

Answer:

belief perseverance.                                

Explanation:

Belief perseverance: In psychology, the term belief perseverance is referred to as a tendency of a person to be clingy on his or her earlier belief instead of receiving a piece of other information that leads to display contradictions or disconfirmations of the person's earlier belief.

An individual who is dealing with belief perseverance holds a thinking-pattern that led him to believe that whatever he or she thinks is true and deny or ignores the evidence.

In the question above, Judy's reaction best illustrates the belief perseverance.

3 0
3 years ago
Other questions:
  • Who was responsible for turning 150 million acres of government-owned timberland into forest reserves?
    6·2 answers
  • Which one of the following is a product of an acid-base reaction?
    14·1 answer
  • What is the region of origin for the monotheistic religions?
    11·1 answer
  • A retrieval cue: A. All of these choices are correct. B. is something outside your head in the surrounding environment that is r
    8·1 answer
  • write the name of each of the four native american cultures in or on this timeline. below the name of each group, write a descri
    9·1 answer
  • Government helps us in both tangible and intangible ways. True False
    12·2 answers
  • A category within biology that deals with the physical and chemical functions
    11·1 answer
  • What does this quote mean? "Many have come to prefer the company of men over women, and they live to escape the so-called real w
    9·1 answer
  • I have no questions but can you tell me some stories on TV.
    7·1 answer
  • Why do Christians need to be skilled at cultural evalution, even if they never become involved in Foreign Missions.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!