This topic contains a solution. Click here to go to the answer

Author Question: What is wrong, logically, with the following code? (Read 25 times)

darbym82

  • Hero Member
  • *****
  • Posts: 570

Question 1

The idea that program instructions execute in order (linearly) unless otherwise specified through a conditional statement is known as
◦ boolean execution
◦ conditional statements
◦ try and catch
◦ sequentiality
◦ flow of control

Question 2

What is wrong, logically, with the following code?

◦ There is no logical error, but there is no need to have (x <= 10) in the second conditional or (x <= 6) in the third conditional
◦ There is no logical error, but there is no need to have (x > 6) in the second conditional or (x > 3) in the third conditional
◦ The logical error is that no matter what value x is, "Very small" is always printed out
◦ The logical error is that no matter what value x is, "Large" is always printed out
◦ There is nothing wrong with the logic at all


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by darbym82 on Aug 30, 2020

nothere

  • Sr. Member
  • ****
  • Posts: 324
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




darbym82

  • Member
  • Posts: 570
Reply 2 on: Aug 30, 2020
Gracias!


TheNamesImani

  • Member
  • Posts: 334
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

Most women experience menopause in their 50s. However, in 1994, an Italian woman gave birth to a baby boy when she was 61 years old.

Did you know?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

Did you know?

The use of salicylates dates back 2,500 years to Hippocrates's recommendation of willow bark (from which a salicylate is derived) as an aid to the pains of childbirth. However, overdosage of salicylates can harm body fluids, electrolytes, the CNS, the GI tract, the ears, the lungs, the blood, the liver, and the kidneys and cause coma or death.

Did you know?

The horizontal fraction bar was introduced by the Arabs.

Did you know?

Historic treatments for rheumatoid arthritis have included gold salts, acupuncture, a diet consisting of apples or rhubarb, nutmeg, nettles, bee venom, bracelets made of copper, prayer, rest, tooth extractions, fasting, honey, vitamins, insulin, snow collected on Christmas, magnets, and electric convulsion therapy.

For a complete list of videos, visit our video library