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

Author Question: What would the browser display if the following script is executed? var count = 0, total = 0; while ... (Read 24 times)

bobthebuilder

  • Hero Member
  • *****
  • Posts: 567
What would the browser display if the following script is executed?
 
  a) Nothing, the browser would generate an error.
  b) 0
  c) 50
  d) 60

Question 2

What would the browser display if the following code was executed in a script? var product = 0; while ( product <= 25 ); product = 2 + product;
 
  a) nothing, the script would result in an error
  b) 0
  c) 25
  d) 26



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

1_Step_At_ATime

  • Sr. Member
  • ****
  • Posts: 342
Answer to Question 1

Ans: (d)

Answer to Question 2

Ans: (a)




bobthebuilder

  • Member
  • Posts: 567
Reply 2 on: Jul 7, 2018
Thanks for the timely response, appreciate it


AISCAMPING

  • Member
  • Posts: 347
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

Multiple sclerosis is a condition wherein the body's nervous system is weakened by an autoimmune reaction that attacks the myelin sheaths of neurons.

Did you know?

Illness; diuretics; laxative abuse; hot weather; exercise; sweating; caffeine; alcoholic beverages; starvation diets; inadequate carbohydrate consumption; and diets high in protein, salt, or fiber can cause people to become dehydrated.

Did you know?

Patients who have undergone chemotherapy for the treatment of cancer often complain of a lack of mental focus; memory loss; and a general diminution in abilities such as multitasking, attention span, and general mental agility.

Did you know?

Limit intake of red meat and dairy products made with whole milk. Choose skim milk, low-fat or fat-free dairy products. Limit fried food. Use healthy oils when cooking.

Did you know?

The National Institutes of Health have supported research into acupuncture. This has shown that acupuncture significantly reduced pain associated with osteoarthritis of the knee, when used as a complement to conventional therapies.

For a complete list of videos, visit our video library