subject

How many times will the following loop execute?
var num = 10;
while ( num > 0 )
{
document. getelementbyid("outputdiv").innerht ml = document. getelementbyid("outputdiv").innerht ml +" "+num + "
";
}
1
10
0
infinite times

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
When you mouse over and click to add a search term this(these) boolean operator(s) is(are) not implied. (select all that apply)?
Answers: 1
question
Computers and Technology, 22.06.2019 22:50
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Some peer-to-peer networks have a server and some don't. true false
Answers: 2
You know the right answer?
How many times will the following loop execute?
var num = 10;
while ( num > 0 )
Questions
question
Social Studies, 12.05.2021 04:00
question
Biology, 12.05.2021 04:00
question
Mathematics, 12.05.2021 04:00
question
Mathematics, 12.05.2021 04:00
Questions on the website: 13722360