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
kozerog [31]
3 years ago
8

While writing a program to regulate the speed of a self-driving car, you find that your software sometimes miscalculates the ide

al car speed for city streets to be over 1500 MPH (nearly twice the speed of sound), when it should be approximately 30 MPH. Which of the following strategies would be most efficient to employ in debugging your program?
A) At the very end of the speed calculations, add an additional line of code that divides the calculated speed by 50 so that the program never produces such high speeds
B) After each calculation within your program, insert a temporary statement that displays the most recently calculated value. When running your program, compare the displayed values with the expected values to identify where in the program the error is being introduced.
C) Starting at the end of your program and working backwards, systematically delete each line of code that relates to calculating and re-run the program after each deletion to identify where in the program the error is being introduced
D) Delete all of the code relating to speed calculations and rewrite it again
Social Studies
1 answer:
anygoal [31]3 years ago
3 0

Answer:

A)

Explanation:

The answer would be (A) because if you read the other choices it doesn't make sense. (well to me?)

I'm truly sorry if I got you wrong.

You might be interested in
Sarah wants to do well in class because she is earning credit toward graduation, which is her goal. Joe wants to do well in clas
8090 [49]

Answer:

Extrinsic, Intrinsic

Explanation:

In everyday life, we all motivated by our motivation level. The motivation sometimes could be intrinsic and sometimes it could be extrinsic. We get up in the morning. Sometime we get up early and do our work, exercise meditation but sometimes we feel very lazy. These all happened because of our motivation level. Thus there is a different type of motivation that paly an important role in our life.

<u>Intrinsic motivation: </u>

This type is related to your internal motivation. To fulfill your desire when a person gets motivated internally is called intrinsically motivated.  

<u>Extrinsic motivation:</u>

This type of motivation is related to external resources that motivated a person such as a good incentive plays the role of external motivation for a person at a workplace.

5 0
4 years ago
A network of people and services with which we share ties and which provide support is.
yaroslaw [1]

A network of people and services with which we share ties and which provide support is social support.

Social support: It is a type of support that we get from the individuals of society. Social supports make our life easy in society. We receive as well as provide social support to people in society also.

The necessity of social support can be understood through the quote of the father of political science Artistole who described "Man is a social animal". Hence to live and survive in the state man need social support,

Social support can be described in the four dimensions such as :

  1. Emotional support
  2. Communicational support
  3. Material support
  4. Social solidarity

hence social support is necessary for a person.

To learn more about social support please click on the link brainly.com/question/2124487

#SPJ4

7 0
2 years ago
If the scores from an intelligence test are normally distributed, then you would predict that the FEWEST number of people would
xenn [34]

Answer:

The fewest or the minority of the population scores below 70 in an intelligence test.

Explanation:

Intelligence Quotient is a type of test which is designed to estimate the human intelligence. It is the sum of the scores of various standardized tests.

Therefore in an IQ test, about two-third of the majority population scores between 85-115. Whereas, about 2.5 percent of the minority population scores above 130 or below 70.

4 0
4 years ago
Cual es la lógica que establece criterios rigurosos para identificar los argumentos correctos y distinguirlos de de los incorrec
Ivanshal [37]

La lógica formal es la ciencia que establece criterios rigurosos para identificar los argumentos correctos y distinguirlos de los incorrectos.

El objetivo de la lógica formal es diferenciar los conceptos de deducción de inducción, es decir, es el uso de experimentos, silogismos, investigaciones y argumentos condicionales, para formar la demostración de la verdad de un argumento en relación con otros.

El conocimiento científico es un ejemplo del uso de la lógica formal en la producción de la ciencia, ya que utiliza criterios rigurosos para obtener datos e información probados que ayuden a resolver problemas y desarrollar la sociedad.

Aprenda más aqui:

brainly.com/question/21505061

6 0
2 years ago
Who was the leader of the Union troops that succeeded in capturing Vicksburg? A) General Burnside B) General McClellan C) Genera
avanturin [10]
OHH I REMEMBER! It was Ambrose Burnside. So the answer is (A
6 0
3 years ago
Other questions:
  • What is the difference between conventional, alternative, and complementary medicine? Which do you prefer...
    13·1 answer
  • What events led to Julius Caesar becoming a dictator for life in ancient Rome? 22 points for who answers!
    14·1 answer
  • The process of identifying exposure to threats, creating preventive and recovery procedures, and then testing them to determine
    10·1 answer
  • Who appeared in Japan around 300 bc
    15·2 answers
  • When someone illegally obtains software and then 'cracks' or 'rips' it and posts it on the internet for others to use, the resul
    9·2 answers
  • Barry is looking for a car that is dependable yet stylish enough to let others know that he has achieved a respectable status in
    5·1 answer
  • In which regions is Georgia located?
    11·2 answers
  • The English Bill of Rights limited the power of ______________ and gave framers of the constitution the idea of ________________
    6·2 answers
  • When Shevaun was four years old, she liked to watch Sesame Street in both English and Spanish. When she was seven years old, she
    9·1 answer
  • What term refers to a person's position in society?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!